aboutsummaryrefslogtreecommitdiffstats
path: root/src/media/UVideo.pas (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-01-03adjust to github version. maybe fix avi file glitch.k-m_schindler1-3/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3174 b956fd51-792f-4845-bead-9b4dfca2ff2c
2015-10-20* Radeon X1600/X1650 graphics card report that they support NPOT, but they ↵basisbit1-1/+2
don't. Implemented a check for these graphics cards. (not yet tested if this fixes all of the problems of that card. * when there was no background set up in the song.txt, trying to switch from visualization to visualization based ProjectM to crash. Fixed this by switching directly to video if there is no background. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3150 b956fd51-792f-4845-bead-9b4dfca2ff2c
2015-10-19* some additional logging when switching between background, visualization ↵basisbit1-1/+3
and video in USreenSing * pass the low-latency flag to ffmpeg (this lowers the framerate on certain hardware. -> also use the fast-flag to compensate the lower framerate. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3149 b956fd51-792f-4845-bead-9b4dfca2ff2c
2015-09-04* fix end of file detection for videos with current ffmpeg versionsbasisbit1-1/+6
* improve error text information of function TVideo_FFmpeg.DecodeFrame() git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3130 b956fd51-792f-4845-bead-9b4dfca2ff2c
2015-09-04* if NPOT is supported by the graphics card driver, do not manually resize ↵basisbit1-3/+15
videos and textures to a power of 2 with and hight. This slightly improves image quality because of less resizing (OpenGL handles this better anyways) and is a minor performance improvement on systems that support OpenGL 2.x or newer. * please test this release and report bugs in the sourceforge forum or preferably our IRC channel git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3129 b956fd51-792f-4845-bead-9b4dfca2ff2c
2015-08-15*raised LogFileLevel for development/debugging purposes to 50basisbit1-2/+2
*fixed compiling for windows *updated windows-build to most recent ffmpeg v2.7 version and fixed IPath for UVideo.TVideoPlayback_FFmpeg.Open according to v2.7 ffmpeg documentation git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3121 b956fd51-792f-4845-bead-9b4dfca2ff2c
2014-11-22adding ffmpeg-2.4. compiles, but crashes on Mac OS X.k-m_schindler1-0/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3083 b956fd51-792f-4845-bead-9b4dfca2ff2c
2013-12-14add FF_API_AVCODEC_RESAMPLE and FFMPEG_VERSION_INTk-m_schindler1-1/+13
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3025 b956fd51-792f-4845-bead-9b4dfca2ff2c
2013-07-18fix version detection of libavformatk-m_schindler1-6/+6
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3000 b956fd51-792f-4845-bead-9b4dfca2ff2c
2013-07-11In order to make ffmpeg-1.0 work:lotanrm1-4/+8
Fixed avcodec FF_API flags (similar to r2996). Changed from old avformat_register_protocol2 to using AVIOContext. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2998 b956fd51-792f-4845-bead-9b4dfca2ff2c
2013-05-15fix compilation on ubuntu and lart release engineers, who mix releases ;-)k-m_schindler1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2984 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-10-20fix version detection of libavformatk-m_schindler1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2930 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-07-14fix pointer types.k-m_schindler1-2/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2920 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-24cosmetics: long variable names. no code change.k-m_schindler1-9/+9
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2888 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-17Corrected AVStream pointer arithmetic to work inconjuction with fpc 2.6 as ↵lotanrm1-1/+1
well fpc 2.4. Removed unneeded code. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2884 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-17Added support for ffmpeg-0.10.lotanrm1-5/+33
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2883 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-11correct versions and prepare logic of file opening for ffmpeg-0.8k-m_schindler1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2882 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-05update for ffmpeg-0.8k-m_schindler1-0/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2873 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-04-22updates and extension for ffmpeg-0.8k-m_schindler1-0/+5
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2867 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-15fixed x-position of glScissor test in UVideo.Draw and UVideo.DrawReflection ↵brunzelchen1-2/+2
(video was visible on the first screen only) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2527 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-12fTimeBase is NOT the time-base of the FFmpeg stream -> renamed to ↵tobigun1-28/+21
fFrameDuration to avoid wrong usage git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2501 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-12fix seeking in videostobigun1-1/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2500 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-10merge of VideoPreview branch into trunkbrunzelchen1-70/+397
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2475 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-05-24revert of last made changes (rev. 2409)brunzelchen1-163/+46
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2410 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-05-23added window-mode and reflection-mode to DrawGLbrunzelchen1-46/+163
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2409 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-25wrong usage of glTexEnvi fixedtobigun1-2/+5
- the environment must be GL_TEXTURE_ENV and not GL_TEXTURE_2D - it must be set before a draw function (glBegin(), ...) and not before glTexImage2D() as the current texture will not store this setting (the setting is global for all textures). - the setting must be set to the default (GL_MODULATE) after usage, otherwise later opengl drawing calls will be unwantedly affected too. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2309 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-21- better lyric <-> video synctobigun1-39/+139
- fixed glTexEnv() bug: GL_TEXTURE_2D is not valid here - pixel buffer test - some cleanup git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2261 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-21- add video loop optiontobigun1-59/+103
- allow multiple instances of a video git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2260 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-06- Revert quick-fix from revision 2000tobigun1-1/+1
- The problem has been fixed by the previous commit (overload Path()) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2220 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-12-08added starting pts handlings_alexander1-12/+16
some video files have a starting point for the pts calculation that starting point has to be subtracted from the pts of each frame to avoid hanging of the video git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2003 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-12-07fix: open video files with the system's native encoding and path delimiter.brunzelchen1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2000 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-11-09merged unicode branch (r1931) into trunks_alexander1-10/+12
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1939 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-13Hint about removal of deprecated function img_convert added, but no code changek-m_schindler1-0/+6
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1724 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-03-01fixed first screen was cleared when second screen was drawn. #76 should be ↵whiteshark01-2/+12
fixed now commented some weird stuff in TScreenSing.Draw git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1613 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-02-15patch #2388324. Exit with corrupt videos. Courtesy to Hawkeark-m_schindler1-1/+10
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1593 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-11-03improved seeking:tobigun1-50/+85
- the position will not be set to non-keyframes (AVSEEK_FLAG_ANY) anymore as it might result in gray or green pictures (FFmpeg does not use the information of the last keyframe after seeking) - after seeking the texture was not updated correctly. - some comments added git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1497 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-31- swscale get_context parameter from cint -> TAVPixelFormattobigun1-6/+6
- some refactoring missed last time git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1489 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-31- cleanup (private and protected class members prepended with f...)tobigun1-214/+266
- TAspectCorrection introduced (default: crop) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1487 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-19The size given to TextGL.SetSize() now expresses the size in pixel (formerly ↵tobigun1-2/+2
it was 1/3 of the pixel-size). For theme and plugin compatibility the following functions multiply the size with 3: - UScreenSingModi.Print - TTheme.ThemeLoadText - TTheme.ThemeLoadSelectSlide TODO: Convert the themes/plugins and remove the "*3" git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1459 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-23added file headerstobigun1-12/+32
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1404 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-13Media modules moved from base to mediatobigun1-0/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1374 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-02Moved: The folder classes has been renamed to basemogguh1-0/+0
Updated: ultrastardx.dpr has been changed accordingly git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1339 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-27rename Classes part2k-m_schindler1-0/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1308 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-27rename Classes part1k-m_schindler1-0/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1307 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-27Reordering of the directories[1]: moving Game/Code to srck-m_schindler1-0/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1302 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-27spelling corrected FFMpeg -> FFmpegtobigun1-28/+28
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1295 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-06avoid seeking if video is not initializedtobigun1-0/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1223 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-06RenderAspect is not neededtobigun1-4/+9
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1222 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-07-02Audio/Video engine update:tobigun1-319/+282
- lyrics<->audio synchronisation (TSyncSource) - better resampling (optional support for libsamplerate) - cleaner termination of audio/video streams/devices - improved decoders and decoder infrastructure - many other improvements/cleanups Currently just for testing (not enabled by default): - Background music - Voice-Passthrough (hear what you sing) - Video VSync git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1157 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-08- set svn:eol-style to nativetobigun1-857/+857
- removed some svn:executable properties from non-executable files git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1144 b956fd51-792f-4845-bead-9b4dfca2ff2c