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

Brian J. Murrell brian at interlinx.bc.ca
Fri Nov 18 13:40:49 CET 2011


I'm trying to use mencoder to record from either my Hauppage HVR-950q
or HVR-1600 both using clearqam cable.  The cable signal and devices
are working as dvb-apps' "gnutv" can successfully record from them.

When I try to record using mencoder I get:

$ mencoder -v dvb://120 -o test.mpg -oac copy -ovc copy -dvbin ca 
rd=1:file=~/.mplayer/channels.conf.atsc
MEncoder 1.0rc4-4.5.2 (C) 2000-2010 MPlayer Team

WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
Configuration: --prefix=/usr --confdir=/etc/mplayer --enable-xvmc --enable-menu --disable-arts --enable-largefiles --language=all --disable-libdvdcss-internal --disable-dvdread-internal --disable-libavutil_a --disable-libavcodec_a --disable-libavformat_a --disable-libpostproc_a --disable-libswscale_a --enable-joystick --target=i586-linux --enable-runtime-cpudetection --enable-debug --enable-mga --enable-3dfx --enable-tdfxfb --disable-gui
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/brian/.mplayer/fonts'
TUNER TYPE SEEMS TO BE DVB-ATSC
get_path('channels.conf.atsc') -> '/home/brian/.mplayer/channels.conf.atsc'
CONFIG_READ FILE: /home/brian/.mplayer/channels.conf.atsc, type: 4
ATSC, NUM: 0, NUM_FIELDS: 4, NAME: 1, FREQ: 297012500
 PIDS:  0  1985 
ATSC, NUM: 1, NUM_FIELDS: 4, NAME: 2, FREQ: 297012500
 PIDS:  0  2049 
ATSC, NUM: 2, NUM_FIELDS: 4, NAME: 3, FREQ: 297012500
 PIDS:  2112  2113  0 
...
ATSC, NUM: 120, NUM_FIELDS: 4, NAME: 121, FREQ: 585000000
 PIDS:  0  5846 
...
ATSC, NUM: 249, NUM_FIELDS: 4, NAME: 250, FREQ: 747000000
 PIDS:  3888  3889  0 
...
TUNER TYPE SEEMS TO BE DVB-ATSC
get_path('channels.conf.atsc') -> '/home/brian/.mplayer/channels.conf.atsc'
CONFIG_READ FILE: /home/brian/.mplayer/channels.conf.atsc, type: 4
ATSC, NUM: 0, NUM_FIELDS: 4, NAME: 1, FREQ: 297012500
 PIDS:  0  1985 
ATSC, NUM: 1, NUM_FIELDS: 4, NAME: 2, FREQ: 297012500
 PIDS:  0  2049 
ATSC, NUM: 2, NUM_FIELDS: 4, NAME: 3, FREQ: 297012500
 PIDS:  2112  2113  0 
...
DVB_CONFIG, can't open device /dev/dvb/adapter2/frontend0, skipping
DVB_CONFIG, can't open device /dev/dvb/adapter3/frontend0, skipping
OPEN_DVB: prog=120, card=1, type=4

dvb_streaming_start(PROG: 120, CARD: 1, FILE: ~/.mplayer/channels.conf.atsc)
PROGRAM NUMBER 119: name=120, freq=585000000
DVB_OPEN_DEVICES(2)
OPEN(0), file /dev/dvb/adapter0/demux0: FD=4, CNT=0
OPEN(1), file /dev/dvb/adapter0/demux0: FD=5, CNT=1
DVB_SET_CHANNEL: new channel name=120, card: 0, channel 119
dvb_tune Freq: 585000000
TUNE_IT, fd_frontend 3, fd_sec -1
freq 585000000, srate 0, pol Using DVB card "Auvitek AU8522 QAM/8VSB Frontend"
tuning ATSC to 585000000, modulation=5
Getting frontend status
Bit error rate: 148
Signal strength: 400
SNR: 0
UNC: 0
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
SET PES FILTER ON PID 0 to fd 4, RESULT: 0, ERRNO: 0
SET PES FILTER ON PID 5842 to fd 5, RESULT: 0, ERRNO: 0
SUCCESSFUL EXIT from dvb_streaming_start
STREAM: [dvbin] dvb://120
STREAM: Description: Dvb Input
STREAM: Author: Nico
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 29  data: 0x0 - 0x0
Checking for MPEG-TS...
TRIED UP TO POSITION 0, FOUND 47, packet_size= 188, SEEMS A TS? 1
GOOD CC: 30, BAD CC: 0
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1,
Checking for MPEG-TS...
TRIED UP TO POSITION 21432, FOUND 47, packet_size= 188, SEEMS A TS? 1
GOOD CC: 30, BAD CC: 0
PROBING UP TO 0, PROG: 0
COLLECT_SECTION, start: 64, size: 184, collected: 0
SKIP: 0+1, TID: 0, TLEN: 49, COLLECTED: 184
PARSE_PAT: section_len: 49, section 0/0
PROG: 11 (1-th of 10), PMT: 139
PROG: 77 (2-th of 10), PMT: 140
PROG: 936 (3-th of 10), PMT: 141
PROG: 958 (4-th of 10), PMT: 142
PROG: 19 (5-th of 10), PMT: 143
PROG: 24 (6-th of 10), PMT: 144
PROG: 51 (7-th of 10), PMT: 145
PROG: 85 (8-th of 10), PMT: 146
PROG: 522 (9-th of 10), PMT: 147
PROG: 521 (10-th of 10), PMT: 148
COLLECT_SECTION, start: 64, size: 184, collected: 184
SKIP: 0+1, TID: 0, TLEN: 49, COLLECTED: 184
PARSE_PAT: section_len: 49, section 0/0
PROG: 11 (1-th of 10), PMT: 139
PROG: 77 (2-th of 10), PMT: 140
PROG: 936 (3-th of 10), PMT: 141
PROG: 958 (4-th of 10), PMT: 142
PROG: 19 (5-th of 10), PMT: 143
PROG: 24 (6-th of 10), PMT: 144
PROG: 51 (7-th of 10), PMT: 145
PROG: 85 (8-th of 10), PMT: 146
PROG: 522 (9-th of 10), PMT: 147
PROG: 521 (10-th of 10), PMT: 148
COLLECT_SECTION, start: 64, size: 184, collected: 184
SKIP: 0+1, TID: 0, TLEN: 49, COLLECTED: 184
PARSE_PAT: section_len: 49, section 0/0
PROG: 11 (1-th of 10), PMT: 139
PROG: 77 (2-th of 10), PMT: 140
PROG: 936 (3-th of 10), PMT: 141
PROG: 958 (4-th of 10), PMT: 142
PROG: 19 (5-th of 10), PMT: 143
PROG: 24 (6-th of 10), PMT: 144
PROG: 51 (7-th of 10), PMT: 145
PROG: 85 (8-th of 10), PMT: 146
PROG: 522 (9-th of 10), PMT: 147
PROG: 521 (10-th of 10), PMT: 148
...
NO VIDEO! AUDIO A52(pid=5842) NO SUBS (yet)!  PROGRAM N. 0
==> Found audio stream: 0

ADDED AUDIO PID 5842, type: 2000 stream n. 0
Opened TS demuxer, audio: 2000(pid 0), video: ffffffff(pid -1)...POS=29328, PROBE=0

demux_ts, switched to audio pid 5842, id: 0, sh: 0x89bb038
Video stream is mandatory!

Exiting...

Any ideas why?

Cheers,
b.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20111118/982c88a2/attachment.asc>


More information about the MPlayer-users mailing list