aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
| * Allow vf_scale to output to RGB48, though still prefer the 24 and 32 bit ↵Gravatar reimar2009-11-21
| | | | | | | | | | | | formats. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29943 b3059339-0415-0410-9bf9-f77b7e298cf2
* | core: Add support for decoder reordering of pts valuesGravatar Uoti Urpala2009-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a mode where libavcodec's reordered_opaque feature is used to associate container packet timestamps with decoded frames. This should improve behavior at least for MPEG files with interlaced h264; the previous code does not cope well with the libavformat demuxer producing two field packets with separate timestamps but the libavcodec h264 decoder only producing a single output frame for those two packets (so half the timestamps have no associated output frame). The current libavformat mpeg demuxer seems to finally work with interlaced h264 files and produce valid timestamps which are useful with a mode like this. By default MPlayer now selects between this new mode and the old one automatically based on the number of timestamp problems they cause; by default the new mode is used if both seem to work. The new option -pts-association-mode can be used to force a particular mode. If correct-pts mode is disabled this has no effect on timing. Also remove the "EXPERIMENTAL" marker from the manpage description of -correct-pts.
| * Support 16-bit-per-component RGB formats (rgb48[bln]e) in option parser.Gravatar reimar2009-11-21
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29942 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add a define for IMGFMT_RGB48NE that depends on machine endianness.Gravatar reimar2009-11-21
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29941 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Move 128kB buffer from stack to demuxer context.Gravatar reimar2009-11-20
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29940 b3059339-0415-0410-9bf9-f77b7e298cf2
| * calloc instead of malloc+memset.Gravatar reimar2009-11-20
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29939 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use calloc to allocate a rather large (currently 32k) array instead ofGravatar reimar2009-11-20
| | | | | | | | | | | | | | putting it on the stack, performance should not matter much here. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29938 b3059339-0415-0410-9bf9-f77b7e298cf2
* | VO: Keep aspect by adding black bars in window mode too if necessaryGravatar Uoti Urpala2009-11-20
| | | | | | | | | | | | | | | | | | By default (without -nokeepaspect) MPlayer tries to maintain video aspect ratio by using window manager hints to keep output window aspect when resizing. Before this commit it would however scale the video to completely fill the window even if the window manager did not respect those hints. Change the behavior to add black bars like in fullscreen mode instead in this case.
| * sub_fribidi should be static, it is not used outside subreader.cGravatar reimar2009-11-20
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29937 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use early return instead of block over whole function.Gravatar reimar2009-11-20
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29936 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use FFMAX instead of a custom max macro.Gravatar reimar2009-11-20
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29935 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Silence two gcc warnings: suggest parentheses around && within ||Gravatar cehoyos2009-11-18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29934 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add #defines for FFMPEG_LICENSE and FFMPEG_CONFIGURATION to config.h.Gravatar diego2009-11-18
| | | | | | | | | | | | | | This is necessary to sync up with some recent FFmpeg changes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29933 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add functions to return library license and library configuration.Gravatar diego2009-11-18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29932 b3059339-0415-0410-9bf9-f77b7e298cf2
| * 10l to Reimar: Fix typo.Gravatar cehoyos2009-11-18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29931 b3059339-0415-0410-9bf9-f77b7e298cf2
* | vo_vdpau: Check return value when setting video mixer featuresGravatar Uoti Urpala2009-11-17
| |
| * Deobfuscate the special hack to disable cache for live555.Gravatar reimar2009-11-17
| | | | | | | | | | | | | | | | | | Cache can not be used for it, since it does not provide any data stream, the data is provided to the demuxer "behind MPlayer's back". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29930 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Merge malloc+memset -> callocGravatar reimar2009-11-17
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29929 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fall back to read-based seeking for ffmpeg:// URLs when is_streamed is setGravatar reimar2009-11-17
| | | | | | | | | | | | | | (i.e. it is not possible to use url_fseek). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29928 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove useless check for valid fd with -dumpstream, the code does notGravatar reimar2009-11-17
| | | | | | | | | | | | | | necessarily need it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29927 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Enable the read-based forward seek fallback also when CONFIG_NETWORK isGravatar reimar2009-11-17
| | | | | | | | | | | | | | | | | | enabled. Enabling network support should not have side-effects on code not really related to networking. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29926 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use fill_buffer if available also for STREAMTYPE_STREAMGravatar reimar2009-11-17
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29925 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Mention support for streaming via FFmpeg in Changelog (ffmpeg:// URLs).Gravatar reimar2009-11-17
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29924 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add preliminary support for streaming via FFmpeg's URProtocol functions.Gravatar reimar2009-11-17
| | | | | | | | | | | | | | Basic playback tested for file and http protocols. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29923 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Complete configure support for compiling in FFmpeg's protocol support.Gravatar reimar2009-11-17
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29922 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use avcodec_align_dimensions to appropriately align width and height inGravatar reimar2009-11-17
| | | | | | | | | | | | | | get_buffer instead of reimplementing it badly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29921 b3059339-0415-0410-9bf9-f77b7e298cf2
* | cosmetics: remove some unused variablesGravatar Uoti Urpala2009-11-17
| |
* | vo_vdpau: Check return value when setting video attributesGravatar Uoti Urpala2009-11-17
| | | | | | | | | | | | | | Check the return value when setting any video mixer attribute and print an error message if the operation failed. Also simplify code by changing update_csc_matrix() to use the utility function added for this.
* | vo_xv: Support yuv colorspace changes on ATI cardsGravatar Uoti Urpala2009-11-17
| | | | | | | | | | Use the "XV_COLORSPACE" xv attribute if it exists, in addition to previously supported "XV_ITURBT_709" (which works on NVIDIA cards).
| * Set display size in sh_video when decoding H264.Gravatar cehoyos2009-11-16
| | | | | | | | | | | | | | This fixes H264 VDPAU decoding with some native demuxers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29920 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Clarify new VDPAU MPEG4 ASP and DVB teletext decoding features.Gravatar cehoyos2009-11-16
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29919 b3059339-0415-0410-9bf9-f77b7e298cf2
| * synced with r29912Gravatar Gabrov2009-11-16
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29918 b3059339-0415-0410-9bf9-f77b7e298cf2
| * synced with help_mp-en.h r29912Gravatar ptt2009-11-16
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29917 b3059339-0415-0410-9bf9-f77b7e298cf2
| * added -name, -title, -use-filename-title options to ChangelogGravatar ptt2009-11-16
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29916 b3059339-0415-0410-9bf9-f77b7e298cf2
* | mplayer.c: Fix compilation with dvdnav enabledGravatar Uoti Urpala2009-11-16
| | | | | | | | | | I had forgotten to check dvdnav-specific code after last merge of svn changes.
| * more changesGravatar compn2009-11-16
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29915 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use calloc instead of initializing each struct member individually to 0.Gravatar reimar2009-11-16
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29914 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Try to detect broken files with unaligned chunks.Gravatar reimar2009-11-16
| | | | | | | | | | | | | | | | | | This patch hopefully makes them playable as long as they have and index without breaking any other files. Fixes http://samples.mplayerhq.hu/avi/invalid_unaligned.avi with native demuxer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29913 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29912Gravatar Uoti Urpala2009-11-16
|\|
* | Merge branch 'vdpau'Gravatar Uoti Urpala2009-11-16
|\ \
| * | Support VDPAU MPEG4 hardware decodingGravatar Uoti Urpala2009-11-16
| | | | | | | | | | | | Original patch by NVIDIA.
| * | vo_vdpau: Remove custom help messageGravatar Uoti Urpala2009-11-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the help text explaining -vo vdpau suboptions that was printed in case of parsing errors. It did perhaps have some value, but there are also reasons to remove it: it was printed in an ugly manner in the middle of output, most other MPlayer options do not have such internal help texts either, and it was detailed enough that it required maintaining documentation about the options in two separate places (the man page and the help message).
| * | vo_vdpau: Add support for high-quality scaling featureGravatar Uoti Urpala2009-11-15
| | | | | | | | | | | | | | | | | | | | | Part of the code is currently under #ifdef to allow compilation with older VDPAU library versions; that can be removed later. Partially based on a patch by Carl Eugen Hoyos.
| * | vo_vdpau: add support for VFCAP_FLIPGravatar Uoti Urpala2009-11-15
| | | | | | | | | | | | Patch by Carl Eugen Hoyos.
| * | vo_vdpau: Free buffers allocated by FFmpeg on uninitGravatar Uoti Urpala2009-11-15
| | |
| * | Add yuv_colorspace property, implemented in vo_vdpau and vo_xvGravatar Uoti Urpala2009-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a property to select YUV colorspace. Currently implemented only in vo_vdpau and vo_xv. Allows switching between BT.601, BT.709 and SMPTE-240M (vdpau only). The xv support uses the "XV_ITURBT_709" attribute. At least my NVIDIA card supports that; I don't know whether other xv implementations do. Bind the colorspace switch to the 'c' key by default. 'c' is currently used by vo_sdl for some fullscreen mode change thing, but at the moment that does not conflict and if it will in the future then vo_sdl can change. VDPAU part based on a patch from Lauri Mylläri <lauri.myllari@gmail.com>
| * | Implement vsync-aware frame timing for VDPAUGravatar Uoti Urpala2009-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Main things added are custom frame dropping for VDPAU to work around the display FPS limit, frame timing adjustment to avoid jitter when video frame times keep falling near vsyncs, and use of VDPAU's timing feature to keep one future frame queued in advance. NVIDIA's VDPAU implementation refuses to change the displayed frame more than once per vsync. This set a limit on how much video could be sped up, and caused problems for nearly all videos on low-FPS video projectors (playing 24 FPS video on a 24 FPS projector would not work reliably as MPlayer may need to slightly speed up the video for AV sync). This commit adds a framedrop mechanism that drops some frames so that no more than one is sent for display per vsync. The code tries to select the dropped frames smartly, selecting the best one to show for each vsync. Because of the timing features needed the drop functionality currently does not work if the correct-pts option is disabled. The code also adjusts frame timing slightly to avoid jitter. If you for example play 24 FPS video content on a 72 FPS display then normally a frame would be shown for 3 vsyncs, but if the frame times happen to fall near vsyncs and change between just before and just after then there could be frames alternating between 2 and 4 vsyncs. The code changes frame timing by up to one quarter vsync interval to avoid this. The above functionality depends on having reliable vsync timing information available. The display refresh rate is not directly provided by the VDPAU API. The current code uses information from the XF86VidMode extension if available; I'm not sure how common cases where that is inaccurate are. The refresh rate can be specified manually if necessary. After the changes in this commit MPlayer now always tries to keep one frame queued for future display using VDPAU's internal timing mechanism (however no more than 50 ms to the future). This should make video playback somewhat more robust against timing inaccuracies caused by system load.
| * | vo_vdpau: Modify frame buffering codeGravatar Uoti Urpala2009-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up code related to frame buffering and generate pts information also for the next frame in the output queue. The timing information will be used in a following framedrop patch. This commit adds one frame of buffering delay in vo_vdpau and increases the number of buffered vdpau video surfaces from 3 to 4. The delay increase makes it more important to fix remaining code in MPlayer that doesn't deal well with filter/VO delay; OTOH it should help any decoding/filtering parallelism in the underlying VDPAU implementation as now filtering a frame for display can happen while the next one is being decoded.
| | * Show OSD message when enabling/disabling de-interlacing.Gravatar cehoyos2009-11-14
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29912 b3059339-0415-0410-9bf9-f77b7e298cf2
| | * cosmetics and grammar fixesGravatar ptt2009-11-13
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29911 b3059339-0415-0410-9bf9-f77b7e298cf2