[MPlayer-users] Video stream is mandatory! recording from dvb device

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Nov 18 14:45:23 CET 2011

Brian J. Murrell <brian <at> interlinx.bc.ca> writes:

> > That is quite old, can you reproduce with a fresh build?
> Where do I find source releases?  I looked at
> http://www.mplayerhq.hu/design7/dload.html but I don't see any
> actual official releases.

What's wrong with "Subversion snapshot" (or "source snapshot") if you don't want
to use svn?
(These are the only supported versions of MPlayer.)


> $ mencoder -v dvb://120 -o test.mpg -oac copy -ovc  
> copy -dvbin card=1:file=~/.mplayer/channels.conf.atsc

This command does not do what you expect, if you think the message shown
(actually shouted) is not clear, please make a suggestion how we can improve it.

If you want to record from dvb, use
mplayer dvb;//120 -dumpstream
If mplayer dvb://120 (or mplayer stream.dump after above) does not show video,
your problem is likely that PMT is missing from channels.conf.
(Ignore the following if you wanted to record a DVB audio stream.)
To fix it, run mplayer dvb://120 and let it play audio.
Now run scan -c in another console, in my case that shows:
0x0000 0x2775: pmt_pid 0x0065 ORF -- ORF1 (running)
ORF1      (0x2775) 01: PCR == V   V 0x03f2 A 0x03f3 (ger) TT 0x03f7 AC3 0x03f5

The relevant line in ~/.mplayer/channels.conf is now:
ORF1:INVERSION ... ... :HIERARCHY_...:1010+101+1015:1011+1012+1013:10101

(Note the 101 = 0x65 pmt_pid, you may have to run scan several times to get a
pid != 0)

Carl Eugen

More information about the MPlayer-users mailing list