Root/mplayer/README

Source at commit 1b3135c created 7 years 10 months ago.
By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries
11. prepare your video files for Ben:
2
3Use ffmpeg2theora or ffmpeg with vp8, vorbis, mkv.
4
5When using theora, try to use a video width and height that are a multiple of
616. Currently theora decoding displays strange borders, if size is not a
7multiple of 16.
8
9Try to use an audio sampling rate of 44100 for the vorbis audio. If the
10automatic resampling of the alsa OSS emulation is triggered, quality degrades
11a lot. Alternatively use 'mplayer -af resample=44100:1:1' on playback.
12
13For encoding try to use libtheora 1.2 ("ptalarbvorm") which improves visual
14qality a lot compared to previous versions. Always encode with
15constant-quality *not* giving a bitrate target.
16
17Here's an example encoding command:
18
19ffmpeg2theora -o output.ogv input.avi \
20           -v8 -x320 -y176 \
21           -a0 --channels 2 --samplerate 44100
22
23Yielding a pretty high visual quality (-v8 i.e. "80%"). Use -v6 for
24approximately half the bitrate with moderate quality.
25
262. play your files with Ben:
27
28mplayer output.ogv
29
30In case sample rate doesn't match 48000 the default will be to perform quick
31resampling, introducing noticeable quality degradation. Add -af
32resample=44100:0:1 to improve audio quality at the cost of a few percent of
33CPU usage.
34
35(Assumptions:
36
37the following options should be set in your ~/.mplayer/config:
38
39volume=10
40vo=cvidix
41screenw=320
42screenh=240
43fs=1
44ac=tremor
45quiet=1
46)
47

Archive Download this file



interactive