annotate DOCS/DVB @ 6173:020bfd8ac9ef

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