mirror of https://github.com/mpv-player/mpv
extended...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1961 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7d6747155d
commit
ac7f3b94c4
25
DOCS/DVB
25
DOCS/DVB
|
@ -12,16 +12,20 @@ Requirements:
|
||||||
- Fast CPU - at least for software decoding (divx...)
|
- Fast CPU - at least for software decoding (divx...)
|
||||||
|
|
||||||
|
|
||||||
How to enable/use?
|
How to enable?
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
1. Edit libvo/vo_mpegpes.c, and change first #undef HAVE_DVB to:
|
1. Edit libvo/vo_mpegpes.c, and change first #undef HAVE_DVB to:
|
||||||
#define HAVE_DVB
|
#define HAVE_DVB
|
||||||
|
|
||||||
2. Download ffmpeg-CVS and copy libavcodec to mplayer (see DOC for details)
|
2. Download ffmpeg-CVS and copy libavcodec to mplayer (see DOC for details)
|
||||||
Move this line out of CONFIG_ENCODERS section at libavcodec/utils.c:361 :
|
Move this line from #ifdef CONFIG_ENCODERS .. #endif section to outside
|
||||||
|
(after the #endif line) at libavcodec/utils.c:361 :
|
||||||
register_avcodec(&mpeg1video_encoder);
|
register_avcodec(&mpeg1video_encoder);
|
||||||
|
|
||||||
3. Compile mplayer
|
3. Compile mplayer
|
||||||
|
|
||||||
|
How to use?
|
||||||
|
~~~~~~~~~~~
|
||||||
To play standard mpeg 1/2 files: (hardware decoding)
|
To play standard mpeg 1/2 files: (hardware decoding)
|
||||||
|
|
||||||
mplayer -vo mpegpes -vc mpegpes file.mpg|vob
|
mplayer -vo mpegpes -vc mpegpes file.mpg|vob
|
||||||
|
@ -34,15 +38,24 @@ To play divx files:
|
||||||
|
|
||||||
mplayer -vo mpegpes -vc ffdivx|odivx file.avi|asf
|
mplayer -vo mpegpes -vc ffdivx|odivx file.avi|asf
|
||||||
|
|
||||||
To force letterbox size (16:9 at 4:3 TV), add options: -x 352 -y 288
|
|
||||||
|
|
||||||
To play non-25fps movies, or with slow CPU, add option: -framedrop
|
To play non-25fps movies, or with slow CPU, add option: -framedrop
|
||||||
|
|
||||||
|
Image size:
|
||||||
|
~~~~~~~~~~~
|
||||||
|
DVB card allows only 2 vertical resolutions: 288 and 576.
|
||||||
|
If your video height differs, you have to clip it or extend by adding
|
||||||
|
black bands. It's done by mplayer, just specify image size using the
|
||||||
|
-x and -y options. You must use either -y 288 or -y 576.
|
||||||
|
|
||||||
|
To force letterbox size (16:9 at 4:3 TV), add options: -x 352 -y 288
|
||||||
|
|
||||||
|
|
||||||
Mailing list:
|
Mailing list:
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
http://mplayerhq.hu/mailman/listinfo/mplayer-dvb
|
http://mplayerhq.hu/mailman/listinfo/mplayer-dvb
|
||||||
|
|
||||||
|
Subscribe, and ask/discuss your problems here.
|
||||||
|
I'll also post feature announces to this list.
|
||||||
|
|
||||||
Future plans/TODO:
|
Future plans/TODO:
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
Loading…
Reference in New Issue