Command line video player
Go to file
wm4 0165ab5402 vo_opengl: fix compatibility with OpenGL 2.1
The srgb_compand() function passes bvec to mix(), which is apparently
not available on GL 2.1 / GLSL 1.20:

0:0(0): error: no matching function for call to `mix(vec3, vec3, bvec3)'
0:0(0): error: candidates are: float mix(float, float, float)
0:0(0): error:                 vec2 mix(vec2, vec2, vec2)
0:0(0): error:                 vec3 mix(vec3, vec3, vec3)
0:0(0): error:                 vec4 mix(vec4, vec4, vec4)
0:0(0): error:                 vec2 mix(vec2, vec2, float)
0:0(0): error:                 vec3 mix(vec3, vec3, float)
0:0(0): error:                 vec4 mix(vec4, vec4, float)

Also add back disabling color management on older GL, as the
srgb_compand() function is needed for that.
2012-11-12 00:27:26 +01:00
DOCS vo_opengl: disable extended downscaling by default 2012-11-11 18:02:07 +01:00
TOOLS Port several python scripts to Perl 2012-11-08 00:28:59 +01:00
etc example.conf: remove some useless options, add some useful ones 2012-11-11 18:10:14 +01:00
ffmpeg_files
input
libaf Replace fast_memcpy() uses 2012-11-11 17:56:42 +01:00
libao2 Replace fast_memcpy() uses 2012-11-11 17:56:42 +01:00
libmpcodecs Replace fast_memcpy() uses 2012-11-11 17:56:42 +01:00
libmpdemux Replace fast_memcpy() uses 2012-11-11 17:56:42 +01:00
libvo vo_opengl: fix compatibility with OpenGL 2.1 2012-11-12 00:27:26 +01:00
osdep
stream
sub
timeline
.gitignore
AUTHORS
Copyright
LICENSE
Makefile Port several python scripts to Perl 2012-11-08 00:28:59 +01:00
README
asxparser.c
asxparser.h
av_log.c
av_log.h
av_opts.c
av_opts.h
bstr.c
bstr.h
cfg-mplayer.h vd_ffmpeg: disable codec direct rendering and slices by default 2012-11-07 23:29:55 +01:00
codec-cfg.c
codec-cfg.h
command.c
command.h
configure Port several python scripts to Perl 2012-11-08 00:28:59 +01:00
cpudetect.c
cpudetect.h
defaultopts.c vd_ffmpeg: disable codec direct rendering and slices by default 2012-11-07 23:29:55 +01:00
defaultopts.h
encode.h
encode_lavc.c
encode_lavc.h
fmt-conversion.c
fmt-conversion.h
image_writer.c libav_compat: fix mmx2 define, provide fallback for avcodec_free_frame 2012-11-03 18:22:56 +01:00
image_writer.h
libav_compat.h libav_compat: fix mmx2 define, provide fallback for avcodec_free_frame 2012-11-03 18:22:56 +01:00
m_config.c
m_config.h
m_option.c
m_option.h
m_property.c
m_property.h
m_struct.c
m_struct.h
mangle.h
mixer.c
mixer.h
mp_core.h
mp_fifo.c
mp_fifo.h
mp_msg.c
mp_msg.h
mp_osd.h
mpbswap.h
mpcommon.c
mpcommon.h
mplayer.c
mplayer.h
options.h vd_ffmpeg: disable codec direct rendering and slices by default 2012-11-07 23:29:55 +01:00
parser-cfg.c
parser-cfg.h
parser-mpcmd.c
parser-mpcmd.h
path.c
path.h
playlist.c
playlist.h
playlist_parser.c
playlist_parser.h
pnm_loader.c
pnm_loader.h
quvi.c
screenshot.c
screenshot.h
subopt-helper.c
subopt-helper.h
talloc.c
talloc.h
version.c
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.