1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 01:22:30 +00:00
Command line video player
Go to file
Rudolf Polzer 7d0a20954f core: make WAKEUP_PERIOD overridable by the vo
This is better than having just the operating system type decide the
wakeup period, as e.g. when compiling for Win32/cygwin, a wakeup period
of 0.5 would work perfectly fine.

Instead, the default wakeup period is now only decided by availability
of a working select() system call (which is the case on cygwin but not
mingw and MSVC) AND a vo that can provide an event file descriptor or a
similar hack (vo_corevideo). vos that cannot do either need polling for
event handling and now can set the wakeup period to 0.02 in the vo code.
2012-12-19 12:58:52 +01:00
audio path: add mp_find_config_file and reorganize some of the code 2012-12-15 17:38:00 +01:00
compat Fix compilation with ffmpeg 1.0 2012-12-13 12:49:27 +01:00
core core: make WAKEUP_PERIOD overridable by the vo 2012-12-19 12:58:52 +01:00
demux Fix compilation with ffmpeg 1.0 2012-12-13 12:49:27 +01:00
DOCS options: move -ass-bottom-margin/-ass-top-margin options to vf_sub 2012-12-12 23:35:34 +01:00
etc audio/decode: remove ad_dvdpcm and use ad_lavc for DVD PCM 2012-12-11 00:37:54 +01:00
osdep path: add mp_find_config_file and reorganize some of the code 2012-12-15 17:38:00 +01:00
stream path: add mp_find_config_file and reorganize some of the code 2012-12-15 17:38:00 +01:00
sub path: add mp_find_config_file and reorganize some of the code 2012-12-15 17:38:00 +01:00
TOOLS osxbundle: print meaningful error when a dylib is missing 2012-12-16 10:56:25 +01:00
video core: make WAKEUP_PERIOD overridable by the vo 2012-12-19 12:58:52 +01:00
.gitignore build: remove doc/locale language auto-detection, simplify 2012-11-14 11:26:43 +01:00
AUTHORS documentation: remove Changelog, rewrite README 2011-02-15 12:04:32 +02:00
configure path: add mp_find_config_file and reorganize some of the code 2012-12-15 17:38:00 +01: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 path: add mp_find_config_file and reorganize some of the code 2012-12-15 17:38:00 +01:00
README osd: remove freetype font rendering code 2012-07-28 23:36:08 +02: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

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.