comparison DOCS/DVB @ 5879:d2941f563a6d

updated to latest -vop changes
author arpi
date Sun, 28 Apr 2002 01:15:35 +0000
parents bbb8b01c76d4
children 908b25e41041
comparison
equal deleted inserted replaced
5878:4c3956729446 5879:d2941f563a6d
11 11
12 12
13 How to enable? 13 How to enable?
14 ~~~~~~~~~~~~~~ 14 ~~~~~~~~~~~~~~
15 15
16 1. Download ffmpeg-CVS and copy libavcodec to mplayer (see DOCS for details)
17
18 2. Compile mplayer:
19 ./configure should detect it. If didn't, force with ./configure --enable-dvb 16 ./configure should detect it. If didn't, force with ./configure --enable-dvb
20 If you have ost headers at non-standard path, set it with: 17 If you have ost headers at non-standard path, set it with:
21 --with-extraincdir=<your DVB source dir>/ost/include 18 --with-extraincdir=<your DVB source dir>/ost/include
22 make 19 make
23 make install 20 make install
24 21
25 22
26 How to use? 23 How to use?
27 ~~~~~~~~~~~ 24 ~~~~~~~~~~~
28 To play standard mpeg 1/2 files: (hardware decoding) 25 Hardware decoding: (play standard mpeg 1/2 files)
29 26
30 mplayer -ao mpegpes -vo mpegpes file.mpg|vob 27 mplayer -ao mpegpes -vo mpegpes file.mpg|vob
31 28
32 To play non-standard mpeg files: (software decoding) 29 Software decoding/transcoding anything to mpeg1:
33 30
34 mplayer -ao mpegpes -vo mpegpes -vc mpeg12 file.mpg|vob 31 mplayer -ao mpegpes -vo mpegpes -vop lavc yourfile.ext
32 mplayer -ao mpegpes -vo mpegpes -vop fame,expand yourfile.ext
33
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
35 42
36 To play divx files: 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
37 47
38 mplayer -ao mpegpes -vo mpegpes file.avi|asf|mov... 48 If you have slow cpu to view 720x576 divx in full size, try to downscale:
39 49 mplayer -ao mpegpes -vo mpegpes -vop lavc,scale=352:576 file.avi
40 To play non-25fps movies, or with slow CPU, add option: -framedrop 50 Or if still slow, try to downscale vertically too:
51 mplayer -ao mpegpes -vo mpegpes -vop lavc,scale=352:288 file.avi
41 52
42 Image size: 53 Do you want osd, and subtitles? Use the expand plugin's osd feature!
43 ~~~~~~~~~~~ 54 So, instead of expand=w:h or expand=w:h:x:y, use expand=w:h:x:y:1
44 DVB card allows only 2 vertical resolutions: 288 and 576. 55 (the 5th parameter :1 at the end will enable osd rendering)
45 If your video height differs, you have to clip it or extend by adding 56 You may want to move image up a bit to get bigger black zone for subtitles.
46 black bands. It's done by mplayer, just specify image size using the 57 And you may want to move subtitles up, if they're out of your TV screen,
47 -x and -y options. You must use either -y 288 or -y 576. 58 use the -subpos <0-100> switch (-subpos 80 is perfect for me).
48 59
49 To force pan&scan (16:9 at 4:3 TV), add options: -x 352 -y 288 60 To play non-25fps movies on PAL TV, or with slow CPU, add option: -framedrop
50
51 If you have powerfull CPU, you can also scale image up, using the
52 swscale filter. For example, to watch a 640x288 video fullscreen,
53 use -vop scale=640:400
54 Note that you don't have to scale horizontally, the card will do it
55 by hardware, but you have to scale vertically keeping the aspect ratio.
56
57 61
58 Mailing list: 62 Mailing list:
59 ~~~~~~~~~~~~~ 63 ~~~~~~~~~~~~~
60 http://mplayerhq.hu/mailman/listinfo/mplayer-dvb 64 http://mplayerhq.hu/mailman/listinfo/mplayer-dvb
61 65
67 ~~~~~~~~~~~~~~~~~~ 71 ~~~~~~~~~~~~~~~~~~
68 72
69 - display OSD and subtitles using DVB card's OSD feature 73 - display OSD and subtitles using DVB card's OSD feature
70 - better (more fluent) playback of non-25fps movies 74 - better (more fluent) playback of non-25fps movies
71 - realtime transcoding between mpeg2 <-> mpeg4 (partial decompression) 75 - realtime transcoding between mpeg2 <-> mpeg4 (partial decompression)
72 - better quality for lowres mpeg1