Command line video player
Go to file
wm4 5f999d94df video: silence warnings for missing libavutils pixel formats
Using vf_screenshot on Libav printed useless/misleading error messages
when playing 10 bit h264 with a VO that supports 8 bit yuv420p only:

    Unsupported format 444p14le
    Unsupported format 444p14be
    ...

The cause of this is that vf_scale is inserted to handle the format
conversion, and tries to find a pixel format with best quality. This
includes the 14 bit and 12 bit formats, which don't exist on Libav.
vf_screenshot tries to query whether Libav's libswscale supports it,
resulting in these error messages. (In theory, vf_scale is missing this
check, but it doesn't matter in practice.)

Since this warning is rather useless anyway, because all input video
comes from libavcodec, and only the conversion into the other could
possibly fail. Silence the warning by raising it to verbose message
level.

Closes #7.
2012-12-14 21:34:56 +01:00
DOCS options: move -ass-bottom-margin/-ass-top-margin options to vf_sub 2012-12-12 23:35:34 +01:00
TOOLS TOOLS: remove checktree.sh 2012-11-14 11:26:43 +01:00
audio ao_lavc: stop using av_get_alt_sample_fmt 2012-12-13 12:58:16 +01:00
compat Fix compilation with ffmpeg 1.0 2012-12-13 12:49:27 +01:00
core options: move -ass-bottom-margin/-ass-top-margin options to vf_sub 2012-12-12 23:35:34 +01:00
demux Fix compilation with ffmpeg 1.0 2012-12-13 12:49:27 +01:00
etc audio/decode: remove ad_dvdpcm and use ad_lavc for DVD PCM 2012-12-11 00:37:54 +01:00
osdep Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream Fix compilation with Libav 2012-12-11 15:26:02 +01:00
sub sd_ass: free external subtitle tracks 2012-12-14 19:59:30 +01:00
video video: silence warnings for missing libavutils pixel formats 2012-12-14 21:34:56 +01:00
.gitignore build: remove doc/locale language auto-detection, simplify 2012-11-14 11:26:43 +01:00
AUTHORS
Copyright Rename to "mpv" 2012-10-12 10:14:32 +02:00
LICENSE
Makefile audio/decode: remove ad_dvdpcm and use ad_lavc for DVD PCM 2012-12-11 00:37:54 +01:00
README osd: remove freetype font rendering code 2012-07-28 23:36:08 +02:00
configure windows support: fix compilation with pthreads 2012-12-11 00:37:54 +01:00
talloc.c talloc: fix strndup group of functions 2012-10-12 10:10:32 +02:00
talloc.h clang: fix all warnings except deprecations 2012-11-13 22:19:18 +01:00
version.sh build: identify the build time of the binary in the versioning output 2012-12-03 21:08:51 +01:00

README

Compiling with full features requires development files for several
external libraries. Below is a list of some important requirements. For
more information see the output of './configure --help' for a list of options,
or look at the list of enabled and disabled features printed after running
'./configure'. If you think you have support for some feature installed
but configure fails to detect it, the file config.log may contain information
about the reasons for the failure.

Libraries specific to particular video output methods
(you'll want at least one of VDPAU, GL or Xv):
 - libvdpau (for VDPAU output, best choice for NVIDIA cards)
 - libGL (OpenGL output)
 - libXv (XVideo output)
general:
 - libasound   (ALSA audio output)
 - various general X development libraries
 - libfreetype (for libass)
 - libfontconfig (for libass)
 - libass
 - FFmpeg libraries (libavutil libavcodec libavformat libswscale libpostproc)

Most of the above libraries are available in suitable versions on normal
Linux distributions. However FFmpeg is an exception (distro versions may be
too old to work at all or work well). For that reason you may want to use
the separately available build wrapper that first compiles FFmpeg libraries
and libass, and then compiles the player statically linked against those.