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