Command line video player
Go to file
wm4 86ed6efd8a commands: handle property clamping in m_option
Instead of clamping property values to the valid range in each property
implementation, handle it in the property layer. The functionality to
handle clamping for each type is in m_option.c.

It's not really clear whether this is really needed. Normally, the raw
values for M_PROPERTY_SET come only from m_option_type.parse (setting
properties as string) or from m_option_parse.add (using the "switch"
input command). However, since this was already done before, and since
we _really_ want to be sure only to write valid values, add this code
anyway. The newly added warnings/error messages should never actually
be printed during normal operation and are for debugging (if they
happen, we definitely want to see them).
2012-10-12 10:10:31 +02:00
DOCS options: accept "yes" and "no" only for flags 2012-10-12 10:10:31 +02:00
TOOLS commands: rename properties, update input.conf 2012-10-12 10:10:30 +02:00
debian
etc commands: replace --hardframedrop, change framedropping property 2012-10-12 10:10:30 +02:00
ffmpeg_files
input commands: replace --hardframedrop, change framedropping property 2012-10-12 10:10:30 +02:00
libaf rawaudio: use mplayer audio format for format option 2012-09-18 21:07:29 +02:00
libao2 encode: video encoding now supported using mencoder-like options 2012-09-18 21:08:20 +02:00
libmpcodecs vf_rectangle: remove as it is very dirty and we have a replacement now 2012-09-18 21:08:20 +02:00
libmpdemux libmpdemux: add back demux_ts 2012-09-18 21:07:30 +02:00
libvo cocoa_common: make fullscreen menubar/dock hiding conditional 2012-09-18 21:08:20 +02:00
osdep timer: remove timer_name 2012-09-07 16:06:36 +02:00
rpm
stream core, timeline: cache external ordered chapter files too 2012-09-18 21:07:30 +02:00
sub subs, vo_vdpau: support RGBA color for PGS subtitles 2012-09-18 21:07:30 +02:00
timeline core, timeline: cache external ordered chapter files too 2012-09-18 21:07:30 +02:00
.gitignore manpage: merge new manpage 2012-08-02 22:05:27 +02:00
AUTHORS
Copyright
LICENSE
Makefile encode: video encoding now supported using mencoder-like options 2012-09-18 21:08:20 +02:00
README
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
av_log.h
av_opts.c
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 bstr.h: fix compilation with C++ 2012-08-03 03:34:38 +02:00
cfg-mplayer.h options: accept "yes" and "no" only for flags 2012-10-12 10:10:31 +02:00
codec-cfg.c options, codecs.conf, img_format: unify imgfmt name handling 2012-08-29 00:14:11 +02:00
codec-cfg.h
command.c commands: handle property clamping in m_option 2012-10-12 10:10:31 +02:00
command.h
configure encode: video encoding now supported using mencoder-like options 2012-09-18 21:08:20 +02: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 mplayer: unbreak OSD with CONFIG_ENCODING undefined 2012-09-18 21:08:20 +02:00
defaultopts.h
encode.h encode: video encoding now supported using mencoder-like options 2012-09-18 21:08:20 +02:00
encode_lavc.c encode: video encoding now supported using mencoder-like options 2012-09-18 21:08:20 +02:00
encode_lavc.h encode: video encoding now supported using mencoder-like options 2012-09-18 21:08:20 +02:00
fmt-conversion.c cleanup: remove XvMC remains, reformat img_format.c 2012-08-28 23:26:16 +02:00
fmt-conversion.h
image_writer.c image_writer: make JPG default and increase quality (for screenshots) 2012-08-16 00:01:19 +02:00
image_writer.h image_writer: rename "filetype" option to "format" 2012-08-06 19:05:32 +02:00
m_config.c options: simplify somewhat by introducing a union for option values 2012-10-12 10:10:31 +02:00
m_config.h m_config: support auto-allocated sub-structs 2012-08-06 17:45:17 +02:00
m_option.c commands: handle property clamping in m_option 2012-10-12 10:10:31 +02:00
m_option.h commands: handle property clamping in m_option 2012-10-12 10:10:31 +02:00
m_property.c commands: handle property clamping in m_option 2012-10-12 10:10:31 +02:00
m_property.h commands: handle property clamping in m_option 2012-10-12 10:10:31 +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
mixer.h
mp_core.h encode: video encoding now supported using mencoder-like options 2012-09-18 21:08:20 +02:00
mp_fifo.c
mp_fifo.h VO: remove old VO glue 2012-08-07 01:29:56 +02:00
mp_msg.c
mp_msg.h encode: video encoding now supported using mencoder-like options 2012-09-18 21:08:20 +02:00
mp_osd.h commands: change input commands to make OSD usage explicit 2012-10-12 10:10:30 +02:00
mpbswap.h
mpcommon.c core: remove duplicated format_time() functions 2012-09-18 21:04:47 +02:00
mpcommon.h core: remove duplicated format_time() functions 2012-09-18 21:04:47 +02:00
mplayer.c options: accept "yes" and "no" only for flags 2012-10-12 10:10:31 +02:00
mplayer.h commands: replace --hardframedrop, change framedropping property 2012-10-12 10:10:30 +02:00
options.h commands: replace --hardframedrop, change framedropping property 2012-10-12 10:10:30 +02:00
parser-cfg.c parser-cfg: specify which config file contains the unknown option 2012-08-20 15:36:05 +02:00
parser-cfg.h
parser-mpcmd.c options: fix "--" 2012-09-18 21:07:29 +02:00
parser-mpcmd.h options: get rid of ambiguous option parsing 2012-08-05 23:51:49 +02:00
path.c Remove win32/qt/xanim/real binary codecs loading 2012-08-16 17:16:33 +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
screenshot.c commands: remove legacy slave mode get commands 2012-10-12 10:10:28 +02:00
screenshot.h
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.h
version.c build: move mpcommon.c to version.c 2012-09-18 21:04:47 +02:00
version.sh

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.