Command line video player
Go to file
wm4 74f416fd2d vo_xv: allocate Xv images with aligned stride
This is required, as the Xv image is directly used for rendering OSD and
taking screenshots. These involve libswscale, which wants aligned
strides.

There doesn't seem to be an easy way to request aligned strides from Xv.
Simply request an image with an aligned width, which usually results in
an aligned stride. The padding border remains invisible.

One caveat is that if padding is added, there might be scaling artifacts
on the right pixel border of the screen. This is at least the case with
nvidia binary drivers. Since we consider vo_xv a sensible choice only on
crappy/slow hardware, performance is more important than quality.
2012-11-22 19:54:06 +01:00
DOCS manpage: minor fixes 2012-11-20 18:00:15 +01:00
TOOLS TOOLS: remove checktree.sh 2012-11-14 11:26:43 +01:00
audio core: fix crash when video filter returns inf as PTS 2012-11-20 18:00:15 +01:00
compat Improve compatibility with Libav 0.8.4 and ffmpeg 0.11.2 2012-11-14 11:45:52 +01:00
core screenshot: add subs even with vf_screenshot 2012-11-21 19:58:51 +01:00
demux stream, demux_lavf: minor cleanup for stream size code 2012-11-20 18:00:15 +01:00
etc encoding examples: change global_quality use to qscale 2012-11-15 15:42:06 +01:00
osdep Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream stream_ftp: fix compilation with libav 2012-11-22 00:05:53 +01:00
sub osd: fix z-order of subtitle OSD elements 2012-11-22 15:27:02 +01:00
video vo_xv: allocate Xv images with aligned stride 2012-11-22 19:54:06 +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
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 video/filter: rename vf_eq2 to vf_eq 2012-11-16 21:21:14 +01:00
README osd: remove freetype font rendering code 2012-07-28 23:36:08 +02:00
configure configure: make --enable-debug default 2012-11-20 18:00:16 +01: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 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.