Command line video player
Go to file
Rudolf Polzer 538baaef6e encode: bail out on missing A or V stream
In mplayer2, it was valid to try to start encoding before all streams
were initialized. mpv avoids this situation and thus allows us to
properly bail out on some kinds of failures.

Also, this commit fixes a missing check in ao uninit which could cause
heap corruption when ao initialization did not complete.
2012-11-01 12:29:55 +01:00
DOCS Merge branch 'osd_changes' into master 2012-11-01 02:12:47 +01:00
TOOLS TOOLS: add script for osx bundle generation 2012-10-16 07:15:12 +02:00
etc Merge branch 'osd_changes' into master 2012-11-01 02:12:47 +01:00
ffmpeg_files build: switch to libavutil bswap.h and intreadwrite.h 2012-02-01 22:46:27 +02:00
input Merge branch 'osd_changes' into master 2012-11-01 02:12:47 +01:00
libaf af_hrtf: clamp output to relieve noises 2012-10-31 22:43:46 +01:00
libao2 encode: bail out on missing A or V stream 2012-11-01 12:29:55 +01:00
libmpcodecs Merge branch 'osd_changes' into master 2012-11-01 02:12:47 +01:00
libmpdemux Merge branch 'osd_changes' into master 2012-11-01 02:12:47 +01:00
libvo Merge branch 'osd_changes' into master 2012-11-01 02:12:47 +01:00
osdep build: fix compilation on Windows (manifest files) 2012-10-20 20:03:13 +02:00
stream stream: open_stream_plugin() should set error code on failure 2012-11-01 02:12:18 +01:00
sub Merge branch 'osd_changes' into master 2012-11-01 02:12:47 +01:00
timeline tl_matroska: fix NULL pointer issue 2012-11-01 02:12:17 +01:00
.gitignore TOOLS: add script for osx bundle generation 2012-10-16 07:15:12 +02:00
AUTHORS documentation: remove Changelog, rewrite README 2011-02-15 12:04:32 +02:00
Copyright Rename to "mpv" 2012-10-12 10:14:32 +02:00
LICENSE Copyright, LICENSE: change binary license to GPL 3 2011-03-24 23:40:29 +02:00
Makefile Merge branch 'master' into osd_changes 2012-10-24 22:38:45 +02:00
README osd: remove freetype font rendering code 2012-07-28 23:36:08 +02:00
asxparser.c Remove dead code 2012-08-01 17:07:35 +02:00
asxparser.h mplayer: turn playtree into a list, and change per-file option handling 2012-07-31 21:33:26 +02:00
av_log.c stream_ffmpeg: fix broken line from 30afc64532 2012-04-18 01:27:55 +03:00
av_log.h terminal output: show libav version numbers in verbose mode 2011-10-01 20:03:49 +03:00
av_opts.c Update Libav API uses 2012-02-01 22:46:27 +02:00
av_opts.h
bstr.c Adjust ffmpeg/libav #includes to work with recent upstream changes 2012-08-21 18:22:00 +02:00
bstr.h Merge branch 'input_changes' into master 2012-10-12 11:53:53 +02:00
cfg-mplayer.h Merge branch 'osd_changes' into master 2012-11-01 02:12:47 +01:00
codec-cfg.c options, codecs.conf, img_format: unify imgfmt name handling 2012-08-29 00:14:11 +02:00
codec-cfg.h video, audio: use lavc decoders without codecs.conf entries 2012-07-24 09:01:47 +03:00
command.c Merge branch 'osd_changes' into master 2012-11-01 02:12:47 +01:00
command.h commands: change property expansion format string 2012-10-12 10:10:32 +02:00
configure configure: bump required ffmpeg library versions 2012-10-30 19:50:24 +01:00
cpudetect.c cpudetect: remove unused/forgotten crap 2012-08-01 23:49:06 +02:00
cpudetect.h cpudetect: remove unused/forgotten crap 2012-08-01 23:49:06 +02:00
defaultopts.c core: show quvi page title in window title, clean up libquvi handling 2012-10-14 22:26:41 +02:00
defaultopts.h cleanup: remove unused MEncoder-related code 2011-01-25 02:29:31 +02:00
encode.h encode: video encoding now supported using mencoder-like options 2012-09-18 21:08:20 +02:00
encode_lavc.c encode: bail out on missing A or V stream 2012-11-01 12:29:55 +01:00
encode_lavc.h encode: add options --ovfirst and --oafirst 2012-09-29 15:04:40 +02:00
fmt-conversion.c fmt-conversion: guard ffmpeg-only pixel format 2012-10-30 20:13:28 +01:00
fmt-conversion.h fmt-conversion.h: fix pixfmt.h #include; fixes latest Libav 2012-10-14 21:27:02 +02:00
image_writer.c image_writer: add dump_png() function as debugging helper 2012-11-01 02:07:45 +01:00
image_writer.h image_writer: add dump_png() function as debugging helper 2012-11-01 02:07:45 +01:00
m_config.c cleanup: remove M_OPT_NOCMD 2012-10-30 19:50:22 +01:00
m_config.h Merge branch 'input_changes' into master 2012-10-12 11:53:53 +02:00
m_option.c m_option: minor simplification 2012-11-01 02:12:18 +01:00
m_option.h cleanup: remove M_OPT_NOCMD 2012-10-30 19:50:22 +01:00
m_property.c command: reduce some property boilerplate 2012-10-14 23:12:03 +02:00
m_property.h command: reduce some property boilerplate 2012-10-14 23:12:03 +02:00
m_struct.c options: get rid of ambiguous option parsing 2012-08-05 23:51:49 +02:00
m_struct.h Remove dead code 2012-08-01 17:07:35 +02:00
mangle.h mangle: change preprocessor define for macosx 2012-08-01 08:46:20 +02:00
mixer.c mplayer: fix crash when muted and audio codec fails 2012-10-03 01:41:13 +02:00
mixer.h softvol, ao_pulse: prefer ao_pulse volume control by default 2012-09-23 14:57:01 +02:00
mp_core.h core: show quvi page title in window title, clean up libquvi handling 2012-10-14 22:26:41 +02:00
mp_fifo.c input: allow unicode keys and reassign internal key codes 2012-03-25 22:30:37 +03:00
mp_fifo.h VO: remove old VO glue 2012-08-07 01:29:56 +02:00
mp_msg.c Rename to "mpv" 2012-10-12 10:14:32 +02:00
mp_msg.h encode: video encoding now supported using mencoder-like options 2012-09-18 21:08:20 +02:00
mp_osd.h commands: more user-control whether a command shows OSD bars/messages 2012-10-12 10:10:32 +02:00
mpbswap.h build: switch to libavutil bswap.h and intreadwrite.h 2012-02-01 22:46:27 +02:00
mpcommon.c core: remove duplicated format_time() functions 2012-09-18 21:04:47 +02:00
mpcommon.h mpcommon: add mp_rect type 2012-10-27 21:17:58 +02:00
mplayer.c Merge branch 'osd_changes' into master 2012-11-01 02:12:47 +01:00
mplayer.h core: show quvi page title in window title, clean up libquvi handling 2012-10-14 22:26:41 +02:00
options.h options: remove --hr-mp3-seek 2012-10-30 19:50:23 +01:00
parser-cfg.c config: better error reporting, make invalid option values non-fatal 2012-10-31 02:03:18 +01:00
parser-cfg.h options: move command line preparse together with parse 2011-07-26 06:02:03 +03:00
parser-mpcmd.c parser-mpcmd: minor simplification 2012-11-01 02:12:18 +01:00
parser-mpcmd.h options: get rid of ambiguous option parsing 2012-08-05 23:51:49 +02:00
path.c Rename to "mpv" 2012-10-12 10:14:32 +02:00
path.h Remove win32/qt/xanim/real binary codecs loading 2012-08-16 17:16:33 +02:00
playlist.c playlist: do not add playlist base path to URLs 2012-08-07 03:14:53 +02:00
playlist.h playlist: rename params_count field to num_params for consistency 2012-08-04 19:59:55 +02:00
playlist_parser.c mplayer: turn playtree into a list, and change per-file option handling 2012-07-31 21:33:26 +02:00
playlist_parser.h mplayer: turn playtree into a list, and change per-file option handling 2012-07-31 21:33:26 +02:00
pnm_loader.c
pnm_loader.h
quvi.c core: show quvi page title in window title, clean up libquvi handling 2012-10-14 22:26:41 +02:00
screenshot.c Merge branch 'osd_changes' into master 2012-11-01 02:12:47 +01:00
screenshot.h screenshot: change "screenshot" input command 2012-10-24 21:56:34 +02:00
subopt-helper.c Remove dead code 2012-08-01 17:07:35 +02:00
subopt-helper.h Remove dead code 2012-08-01 17:07:35 +02:00
talloc.c talloc: fix strndup group of functions 2012-10-12 10:10:32 +02:00
talloc.h windows: fix format string attributes on MinGW 2012-03-01 00:22:29 +02:00
version.c Rename to "mpv" 2012-10-12 10:14:32 +02:00
version.sh Change version string 2012-07-29 00:04:17 +02: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.