1936
|
1
|
|
2 Some words about Siemens-DVB card support. by A'rpi
|
|
3 ==========================================
|
|
4
|
|
5 Requirements:
|
|
6 ~~~~~~~~~~~~~
|
|
7 - Siemens DVB-S card or compatible (technotrend,galaxis,hauppage etc)
|
|
8 see www.linuxtv.org for details and download latest driver there.
|
5620
|
9 - MPlayer-CVS, ffmpeg-libavcodec CVS are recommended for speed & pp.
|
|
10 - Fast CPU - 1GHz+ recommended at least for software transcoding (divx->mpeg)
|
1936
|
11
|
|
12
|
1960
|
13 How to enable?
|
|
14 ~~~~~~~~~~~~~~
|
|
15
|
3297
|
16 ./configure should detect it. If didn't, force with ./configure --enable-dvb
|
|
17 If you have ost headers at non-standard path, set it with:
|
2109
|
18 --with-extraincdir=<your DVB source dir>/ost/include
|
|
19 make
|
|
20 make install
|
3297
|
21
|
1936
|
22
|
1960
|
23 How to use?
|
|
24 ~~~~~~~~~~~
|
5879
|
25 Hardware decoding: (play standard mpeg 1/2 files)
|
1936
|
26
|
5620
|
27 mplayer -ao mpegpes -vo mpegpes file.mpg|vob
|
1936
|
28
|
5879
|
29 Software decoding/transcoding anything to mpeg1:
|
1936
|
30
|
5879
|
31 mplayer -ao mpegpes -vo mpegpes -vop lavc yourfile.ext
|
|
32 mplayer -ao mpegpes -vo mpegpes -vop fame,expand yourfile.ext
|
1936
|
33
|
5879
|
34 Note: the DVB card only supports height 288 and 576 for PAL,
|
|
35 240 and 480 for NTSC. For other heights, you MUST rescale it,
|
|
36 by adding 'scale=w:h' to the -vop option, where w:h are width:height
|
|
37 you want. Note, that DVB card accepts various widths, like 720, 704, 640,
|
|
38 512, 480, 352 etc, so you don't need to scale horizontally in most cases!
|
|
39 (the card will do hardware scaling in horizontal direction!)
|
|
40 For example, for a 512x384 (aspect 4:3) divx try:
|
|
41 mplayer -ao mpegpes -vo mpegpes -vop lavc,scale=512:576
|
1936
|
42
|
5879
|
43 If you have widescreen movie, and you don't want to scale it to full
|
|
44 height, you can use the 'expand=w:h' plugin to add black bands.
|
|
45 For example, to view a 640x384 divx, try:
|
|
46 mplayer -ao mpegpes -vo mpegpes -vop lavc,expand=640:576 file.avi
|
1960
|
47
|
5879
|
48 If you have slow cpu to view 720x576 divx in full size, try to downscale:
|
|
49 mplayer -ao mpegpes -vo mpegpes -vop lavc,scale=352:576 file.avi
|
|
50 Or if still slow, try to downscale vertically too:
|
|
51 mplayer -ao mpegpes -vo mpegpes -vop lavc,scale=352:288 file.avi
|
1936
|
52
|
5879
|
53 Do you want osd, and subtitles? Use the expand plugin's osd feature!
|
|
54 So, instead of expand=w:h or expand=w:h:x:y, use expand=w:h:x:y:1
|
|
55 (the 5th parameter :1 at the end will enable osd rendering)
|
|
56 You may want to move image up a bit to get bigger black zone for subtitles.
|
|
57 And you may want to move subtitles up, if they're out of your TV screen,
|
|
58 use the -subpos <0-100> switch (-subpos 80 is perfect for me).
|
5620
|
59
|
5879
|
60 To play non-25fps movies on PAL TV, or with slow CPU, add option: -framedrop
|
5620
|
61
|
6007
|
62 How to keep aspect ratio for DivX files?
|
|
63 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
64
|
|
65 To get the optimal scaling parameters (use hardware for X scaling, and
|
|
66 scale Y by software, keeping the right aspect ratio), use the new 'dvbscale'
|
|
67 plugin:
|
|
68
|
|
69 for 3:4 TV: -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale
|
|
70 for 16:9 TV: -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale=1024
|
|
71
|
1936
|
72 Mailing list:
|
|
73 ~~~~~~~~~~~~~
|
|
74 http://mplayerhq.hu/mailman/listinfo/mplayer-dvb
|
1960
|
75
|
3297
|
76 List's language is ENGLISH. Please avoid using german or other languages!
|
1960
|
77 Subscribe, and ask/discuss your problems here.
|
|
78 I'll also post feature announces to this list.
|
1936
|
79
|
|
80 Future plans/TODO:
|
|
81 ~~~~~~~~~~~~~~~~~~
|
|
82
|
|
83 - display OSD and subtitles using DVB card's OSD feature
|
|
84 - better (more fluent) playback of non-25fps movies
|
|
85 - realtime transcoding between mpeg2 <-> mpeg4 (partial decompression)
|