view DOCS/DVB @ 4689:61f4b8fd380e

Fixing "quake" by direct waiting of vsync. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (I don't why - but SMART_SWITCH is always disabled on my card) Benchmarks: [SRC] VIDEO: [DIV3] 624x356 24bpp 24.00 fps 497.3 kbps (60.7 kbyte/s) [DEST] 1024x768@32 70fps (-xvidix -fs -zoom) -vc ffdivx -double: BENCHMARKs: V: 3.838s VO: 7.305s A: 0.555s Sys: 18.264s = 29.962s BENCHMARK%: V: 12.8110% VO: 24.3808% A: 1.8518% Sys: 60.9564% = 100.0000% total video time: 11.143s -vc ffdivx -nodouble: BENCHMARKs: V: 3.846s VO: 1.668s A: 0.539s Sys: 23.869s = 29.922s BENCHMARK%: V: 12.8525% VO: 5.5744% A: 1.8015% Sys: 79.7716% = 100.0000% total video time: 5.514s -vc divxds -double (direct rendering) BENCHMARKs: V: 8.275s VO: 5.750s A: 0.532s Sys: 15.414s = 29.971s BENCHMARK%: V: 27.6115% VO: 19.1850% A: 1.7737% Sys: 51.4298% = 100.0000% total video time: 14.070s -vc divxds -nodouble (direct rendering) BENCHMARKs: V: 7.353s VO: 0.002s A: 0.521s Sys: 22.083s = 29.958s BENCHMARK%: V: 24.5433% VO: 0.0052% A: 1.7382% Sys: 73.7133% = 100.0000% total video time: 7.355s Unfortunately we have dramatic lost of performance (100%) :(
author nick
date Wed, 13 Feb 2002 08:24:13 +0000
parents 9fdc998083cc
children bbb8b01c76d4
line wrap: on
line source


Some words about Siemens-DVB card support.         by A'rpi
==========================================

NOTE: this is very experimental!

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...)


How to enable?
~~~~~~~~~~~~~~

1. Download ffmpeg-CVS and copy libavcodec to mplayer (see DOC for details)
   Move this line from #ifdef CONFIG_ENCODERS .. #endif section to outside
   (after the #endif line) at libavcodec/utils.c:361 :
       register_avcodec(&mpeg1video_encoder);

2. Compile mplayer:
    ./configure should detect it. If didn't, force with ./configure --enable-dvb
        If you have ost headers at non-standard path, set it with:
	--with-extraincdir=<your DVB source dir>/ost/include
    make
    make install
   

How to use?
~~~~~~~~~~~
To play standard mpeg 1/2 files:  (hardware decoding)

  mplayer -ao mpegpes -vo mpegpes -vc mpegpes file.mpg|vob

To play non-standard mpeg files:  (software decoding)

  mplayer -ao mpegpes -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

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 pan&scan (16:9 at 4:3 TV), add options:  -x 352 -y 288

Mailing list:
~~~~~~~~~~~~~
  http://mplayerhq.hu/mailman/listinfo/mplayer-dvb

List's language is ENGLISH. Please avoid using german or other languages!
Subscribe, and ask/discuss your problems here.
I'll also post feature announces to this list.

Future plans/TODO:
~~~~~~~~~~~~~~~~~~

- 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)