Command line video player
Go to file
wm4 ffb7a2fe17 sub: create sub_bitmap array even when using libass
One sub_bitmaps struct could contain either a libass ASS_Image list, or
a mplayer native list of sub-bitmaps. This caused code duplication in
vo_vdpau.c and bitmap_packer.c.

Avoid this by creating such a sub_bitmap array even with libass. This
basically copies the list and recreates it in mplayer's native format.
It gets rid of the code duplication, and will make implementing extended
subtitle and OSD rendering in other VOs easier.

Also do some cosmetic changes and other preparations for the following
commits.
2012-10-16 07:26:28 +02:00
DOCS options: accept "yes" and "no" only for flags 2012-09-23 14:58:21 +02:00
TOOLS TOOLS: add a new file identifier tool 2012-09-18 21:08:20 +02:00
debian
etc encoding examples: refuse upscaling when the target is an iPhone 2012-09-24 16:41:37 +02:00
ffmpeg_files
input commands: fix parsing bug 2012-09-23 14:57:41 +02:00
libaf rawaudio: use mplayer audio format for format option 2012-09-18 21:07:29 +02:00
libao2 ao_pulse: extend maximum settable volume beyond 100% 2012-09-23 14:57:37 +02:00
libmpcodecs sub: create sub_bitmap array even when using libass 2012-10-16 07:26:28 +02:00
libmpdemux demuxer: fix crash with demux_rawvideo 2012-09-23 15:15:43 +02:00
libvo sub: create sub_bitmap array even when using libass 2012-10-16 07:26:28 +02:00
osdep getch2: request at least 1 byte of input each read 2012-09-19 14:57:35 +02:00
rpm
stream core, timeline: cache external ordered chapter files too 2012-09-18 21:07:30 +02:00
sub sub: create sub_bitmap array even when using libass 2012-10-16 07:26:28 +02:00
timeline core, timeline: cache external ordered chapter files too 2012-09-18 21:07:30 +02:00
.gitignore
AUTHORS
Copyright
LICENSE
Makefile encode: video encoding now supported using mencoder-like options 2012-09-18 21:08:20 +02:00
README
asxparser.c
asxparser.h
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
cfg-mplayer.h options: accept "yes" and "no" only for flags 2012-09-23 14:58:21 +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 vf_rectangle: remove as it is very dirty and we have a replacement now 2012-09-18 21:08:20 +02:00
command.h Merge svn changes up to r30475 2010-03-09 19:18:43 +02:00
configure configure: make --enable-openal use auto detection 2012-09-23 14:56:49 +02:00
cpudetect.c
cpudetect.h
defaultopts.c softvol, ao_pulse: prefer ao_pulse volume control by default 2012-09-23 14:57:01 +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
m_config.c options: handle alias options differently 2012-09-23 14:58:56 +02:00
m_config.h options: handle alias options differently 2012-09-23 14:58:56 +02:00
m_option.c options: accept "yes" and "no" only for flags 2012-09-23 14:58:21 +02:00
m_option.h options: simplify somewhat by introducing a union for option values 2012-09-23 14:58:31 +02:00
m_property.c options: simplify somewhat by introducing a union for option values 2012-09-23 14:58:31 +02:00
m_property.h
m_struct.c
m_struct.h
mangle.h
metadata.h
mixer.c softvol, ao_pulse: prefer ao_pulse volume control by default 2012-09-23 14:57:01 +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 encode: video encoding now supported using mencoder-like options 2012-09-18 21:08:20 +02:00
mp_fifo.c
mp_fifo.h
mp_msg.c mp_msg: make MSGL_STATUS use the same color as MSGL_INFO 2012-09-23 15:25:01 +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
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 sub: create sub_bitmap array even when using libass 2012-10-16 07:26:28 +02:00
mplayer.h core, timeline: cache external ordered chapter files too 2012-09-18 21:07:30 +02:00
options.h encode: video encoding now supported using mencoder-like options 2012-09-18 21:08:20 +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
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_parser.c
playlist_parser.h
pnm_loader.c
pnm_loader.h
screenshot.c core: remove duplicated format_time() functions 2012-09-18 21:04:47 +02:00
screenshot.h
subopt-helper.c
subopt-helper.h
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.