2001-09-22 19:33:26 +00:00
|
|
|
|
|
|
|
Some words about Siemens-DVB card support. by A'rpi
|
|
|
|
==========================================
|
|
|
|
|
2001-09-22 19:43:25 +00:00
|
|
|
NOTE: this is very experimental!
|
|
|
|
|
2001-09-22 19:33:26 +00:00
|
|
|
Requirements:
|
|
|
|
~~~~~~~~~~~~~
|
|
|
|
- Siemens DVB-S card or compatible (technotrend,galaxis,hauppage etc)
|
|
|
|
see www.linuxtv.org for details and download latest driver there.
|
|
|
|
- MPlayer-CVS, ffmpeg-libavcodec. divx4linux is recommended for speed & pp.
|
|
|
|
- Fast CPU - at least for software decoding (divx...)
|
|
|
|
|
|
|
|
|
2001-09-25 19:58:11 +00:00
|
|
|
How to enable?
|
|
|
|
~~~~~~~~~~~~~~
|
2001-09-22 19:33:26 +00:00
|
|
|
1. Edit libvo/vo_mpegpes.c, and change first #undef HAVE_DVB to:
|
|
|
|
#define HAVE_DVB
|
2001-09-25 19:58:11 +00:00
|
|
|
|
2001-09-22 19:33:26 +00:00
|
|
|
2. Download ffmpeg-CVS and copy libavcodec to mplayer (see DOC for details)
|
2001-09-25 19:58:11 +00:00
|
|
|
Move this line from #ifdef CONFIG_ENCODERS .. #endif section to outside
|
|
|
|
(after the #endif line) at libavcodec/utils.c:361 :
|
2001-09-22 19:33:26 +00:00
|
|
|
register_avcodec(&mpeg1video_encoder);
|
|
|
|
|
2001-10-06 15:11:17 +00:00
|
|
|
3. Compile mplayer:
|
|
|
|
run ./configure with the option:
|
|
|
|
--with-extraincdir=<your DVB source dir>/ost/include
|
|
|
|
make
|
|
|
|
make install
|
2001-09-22 19:33:26 +00:00
|
|
|
|
2001-09-25 19:58:11 +00:00
|
|
|
How to use?
|
|
|
|
~~~~~~~~~~~
|
2001-09-22 19:33:26 +00:00
|
|
|
To play standard mpeg 1/2 files: (hardware decoding)
|
|
|
|
|
|
|
|
mplayer -vo mpegpes -vc mpegpes file.mpg|vob
|
|
|
|
|
|
|
|
To play non-standard mpeg files: (software decoding)
|
|
|
|
|
|
|
|
mplayer -vo mpegpes file.mpg|vob
|
|
|
|
|
|
|
|
To play divx files:
|
|
|
|
|
|
|
|
mplayer -vo mpegpes -vc ffdivx|odivx file.avi|asf
|
|
|
|
|
|
|
|
To play non-25fps movies, or with slow CPU, add option: -framedrop
|
|
|
|
|
2001-09-25 19:58:11 +00:00
|
|
|
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.
|
|
|
|
|
2001-09-25 20:48:45 +00:00
|
|
|
To force pan&scan (16:9 at 4:3 TV), add options: -x 352 -y 288
|
2001-09-22 19:33:26 +00:00
|
|
|
|
|
|
|
Mailing list:
|
|
|
|
~~~~~~~~~~~~~
|
|
|
|
http://mplayerhq.hu/mailman/listinfo/mplayer-dvb
|
2001-09-25 19:58:11 +00:00
|
|
|
|
|
|
|
Subscribe, and ask/discuss your problems here.
|
|
|
|
I'll also post feature announces to this list.
|
2001-09-22 19:33:26 +00:00
|
|
|
|
|
|
|
Future plans/TODO:
|
|
|
|
~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
- audio playback through the DVB card (currently it uses soundcard)
|
|
|
|
- display OSD and subtitles using DVB card's OSD feature
|
|
|
|
- better (more fluent) playback of non-25fps movies
|
|
|
|
- more speed optimizations
|
|
|
|
- YUY2 support (for win32 codecs, like Indeo5 and WMV 7/8)
|
|
|
|
- realtime transcoding between mpeg2 <-> mpeg4 (partial decompression)
|
|
|
|
|