VLC and DVB: no lock, tuning again
Posted: 27 Jun 2007 23:24
Hi, I'm trying to stream a sattelite channel:
Linux 2.6.21
VLC version 0.8.6c
frequency=11982
symbol rate=4500
polarization=horizontal
PIDs: channel 1: 33 (video), 34 (audio)
channel 2: 43 (video), 44 (audio)
Techsan Electronics Co Ltd B2C2 Sky2PC PCI [SkyStar2] (rev 02)
Ok. I can lock the signal using szap, so the link between me and the satellite is ok...
reading channels from file '/home/fraga/.szap/channels.conf'
zapping to 2 'e6':
sat 0, frequency = 11982 MHz H, symbolrate 4500000, vpid = 0x0000, apid = 0x0000
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 03 | signal febb | snr 71c4 | ber 00002037 | unc 00000000 |
status 1f | signal ffff | snr c5a6 | ber 000015f4 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr c630 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
But, when I try to use VLC it gives me the following:
vlc -vvv --color --ttl 12 --ts-es-id-pid --programs=33,34 dvb: --dvb-frequency=11982000 --dvb-srate=45000000 --sout udp:192.168.102.255
VLC media player 0.8.6c Janus
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file /home/fraga/.vlc/cache/plugins-04041e.dat
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 177 modules
[00000001] main private debug: opening config file /home/fraga/.vlc/vlcrc
[00000001] main private warning: config file /home/fraga/.vlc/vlcrc does not exist yet
[00000001] main private debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT SSE FPU
[00000001] main private debug: looking for memcpy module: 4 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000219] main playlist debug: waiting for thread completion
[00000219] main playlist debug: thread 3085384624 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000220] main private debug: waiting for thread completion
[00000220] main private debug: thread 3076996016 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000221] main interface debug: looking for interface module: 1 candidate
[00000221] main interface debug: using interface module "hotkeys"
[00000221] main interface debug: thread 3068582832 (interface) created at priority 0 (interface/interface.c:231)
[00000219] main playlist debug: adding playlist item `dvb:' ( dvb: )
[00000223] main interface debug: looking for interface module: 1 candidate
Remote control interface initialized. Type `help' for help.
[00000223] main interface debug: using interface module "rc"
[00000223] main interface debug: thread 3060140976 (manager) created at priority 0 (interface/interface.c:216)
[00000219] main playlist debug: creating new input thread
[00000225] main input debug: waiting for thread completion
[00000225] main input debug: creating statistics handler
[00000227] main stream output debug: using sout chain=`std{mux="",access="udp",dst="192.168.102.255"}'
[00000227] main stream output debug: stream=`std'
[00000228] main private debug: looking for sout stream module: 1 candidate
[00000228] main private warning: missing value for option mux
[00000228] main private debug: set sout option: sout-standard-access to udp
[00000228] main private debug: set sout option: sout-standard-dst to 192.168.102.255
[00000228] stream_out_standard private debug: creating `udp/(null)://192.168.102.255'
[00000228] stream_out_standard private debug: extension is 255
[00000228] stream_out_standard private debug: extension -> mux=(null)
[00000228] stream_out_standard private debug: using `udp/ts://192.168.102.255'
[00000230] main private debug: looking for sout access module: 1 candidate
[00000230] main private debug: net: connecting to 192.168.102.255 port 1234
[00000230] main private debug: localized Domain Names not supported - disabled
[00000225] main input debug: thread 3051752368 (input) created at priority 0 (input/input.c:265)
[00000232] main private debug: thread 3043330992 (sout write thread) created at priority 0 (udp.c:268)
[00000230] access_output_udp private debug: udp access output opened(192.168.102.255:1234)
[00000230] main private debug: using sout access module "access_output_udp"
[00000228] stream_out_standard private debug: access opened
[00000233] main private debug: looking for sout mux module: 1 candidate
[00000233] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000
[00000233] main private debug: using sout mux module "mux_ts"
[00000227] main stream output debug: muxer support adding stream at any time
[00000228] stream_out_standard private debug: mux opened
[00000228] main private debug: using sout stream module "stream_out_standard"
[00000225] main input debug: `dvb:' gives access `dvb' demux `' path `'
[00000225] main input debug: creating demux: access='dvb' demux='' path=''
[00000234] main demuxer debug: looking for access_demux module: 0 candidates
[00000234] main demuxer warning: no access_demux module matched "dvb"
[00000225] main input debug: creating access 'dvb' path=''
[00000235] main access debug: looking for access2 module: 5 candidates
[00000235] dvb access debug: Opening device /dev/dvb/adapter0/frontend0
[00000235] dvb access debug: Frontend Info:
[00000235] dvb access debug: name = ST STV0299 DVB-S
[00000235] dvb access debug: type = QPSK (DVB-S)
[00000235] dvb access debug: frequency_min = 950000 (kHz)
[00000235] dvb access debug: frequency_max = 2150000 (kHz)
[00000235] dvb access debug: frequency_stepsize = 125
[00000235] dvb access debug: frequency_tolerance = 0
[00000235] dvb access debug: symbol_rate_min = 1000000 (kHz)
[00000235] dvb access debug: symbol_rate_max = 45000000 (kHz)
[00000235] dvb access debug: symbol_rate_tolerance (ppm) = 500
[00000235] dvb access debug: notifier_delay (ms) = 0
[00000235] dvb access debug: Frontend Info capability list:
[00000235] dvb access debug: inversion auto
[00000235] dvb access debug: forward error correction 1/2
[00000235] dvb access debug: forward error correction 2/3
[00000235] dvb access debug: forward error correction 3/4
[00000235] dvb access debug: forward error correction 5/6
[00000235] dvb access debug: forward error correction 7/8
[00000235] dvb access debug: forward error correction auto
[00000235] dvb access debug: card can do QPSK
[00000235] dvb access debug: End of capability list
[00000235] dvb access debug: trying to tune the frontend...
[00000235] dvb access debug: frequency 11982000 is in Ku-band
[00000235] dvb access debug: using inversion=2
[00000235] dvb access debug: using fec=9
[00000235] dvb access debug: using voltage=13
[00000235] dvb access debug: using tone=1
status change: ( new input: dvb: )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000235] dvb access debug: Opening device /dev/dvb/adapter0/dvr0
[00000235] dvb access debug: setting filter on PAT
[00000235] dvb access debug: Opening device /dev/dvb/adapter0/demux0
[00000235] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 0
[00000235] dvb access debug: Opening device /dev/dvb/adapter0/ca0
[00000235] dvb access warning: CAMInit: opening CAM device failed (No such file or directory)
[00000235] main access debug: using access2 module "dvb"
[00000237] main private debug: pre buffering
[00000235] dvb access debug: frontend has acquired signal
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access debug: frontend has lost carrier
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access warning: no lock, tuning again
[00000235] dvb access debug: using inversion=2
[00000235] dvb access debug: using fec=9
[00000235] dvb access debug: using voltage=13
[00000235] dvb access debug: using tone=1
[00000235] dvb access debug: frontend has acquired signal
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access warning: no lock, tuning again
[00000235] dvb access debug: using inversion=2
[00000235] dvb access debug: using fec=9
[00000235] dvb access debug: using voltage=13
[00000235] dvb access debug: using tone=1
[00000235] dvb access debug: frontend has acquired signal
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access warning: no lock, tuning again
[00000235] dvb access debug: using inversion=2
[00000235] dvb access debug: using fec=9
[00000235] dvb access debug: using voltage=13
[00000235] dvb access debug: using tone=1
[00000235] dvb access debug: frontend has acquired signal
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access debug: frontend has lost carrier
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access warning: no lock, tuning again
[00000235] dvb access debug: using inversion=2
[00000235] dvb access debug: using fec=9
[00000235] dvb access debug: using voltage=13
[00000235] dvb access debug: using tone=1
[00000235] dvb access debug: frontend has acquired signal
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access warning: no lock, tuning again
[00000235] dvb access debug: using inversion=2
[00000235] dvb access debug: using fec=9
[00000235] dvb access debug: using voltage=13
[00000235] dvb access debug: using tone=1
[00000235] dvb access debug: frontend has acquired signal
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access debug: frontend has lost carrier
[00000235] dvb access debug: frontend has acquired carrier
quit: returned 0 (no error)
status change: ( stop state: 0 )
status change: ( quit )
[00000001] main private debug: removing all interfaces
[00000223] main interface debug: thread 3060140976 joined (interface/interface.c:258)
[00000223] main interface debug: removing module "rc"
[00000221] main interface debug: thread 3068582832 joined (interface/interface.c:258)
[00000221] main interface debug: removing module "hotkeys"
[00000001] main private debug: removing playlist handler
[00000220] main private debug: thread 3076996016 joined (playlist/playlist.c:247)
[00000237] main private debug: prebuffering done 0 bytes in 57s - 0 kbytes/s
[00000237] main private error: cannot pre fill buffer
[00000225] main input warning: cannot create a stream_t from access
[00000235] dvb access debug: DMXUnsetFilter: closing demux 6
[00000235] main access debug: removing module "dvb"
[00000228] main private debug: destroying chain... (name=std)
[00000233] main private debug: removing module "mux_ts"
[00000232] access_output_udp private debug: packet has been sent too late (1182979043981788)
[00000232] main private debug: thread 3043330992 joined (udp.c:316)
[00000230] access_output_udp private debug: udp access output closed
[00000230] main private debug: removing module "access_output_udp"
[00000228] main private debug: removing module "stream_out_standard"
[00000228] main private debug: destroying chain done
[00000225] main input debug: thread 3051752368 joined (input/input.c:412)
[00000219] main playlist debug: thread 3085384624 joined (playlist/playlist.c:248)
[00000219] main playlist: stopping playback
[00000219] main playlist debug: deleting playlist item `dvb:'
[00000001] main private debug: removing all video outputs
[00000001] main private debug: removing all audio outputs
[00000001] main private debug: removing module "memcpymmxext"
[00000001] main private debug: saving plugins cache file /home/fraga/.vlc/cache/plugins-04041e.dat
What I'm doing wrong? Any hints? Thank you!
Linux 2.6.21
VLC version 0.8.6c
frequency=11982
symbol rate=4500
polarization=horizontal
PIDs: channel 1: 33 (video), 34 (audio)
channel 2: 43 (video), 44 (audio)
Techsan Electronics Co Ltd B2C2 Sky2PC PCI [SkyStar2] (rev 02)
Ok. I can lock the signal using szap, so the link between me and the satellite is ok...
reading channels from file '/home/fraga/.szap/channels.conf'
zapping to 2 'e6':
sat 0, frequency = 11982 MHz H, symbolrate 4500000, vpid = 0x0000, apid = 0x0000
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 03 | signal febb | snr 71c4 | ber 00002037 | unc 00000000 |
status 1f | signal ffff | snr c5a6 | ber 000015f4 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr c630 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
But, when I try to use VLC it gives me the following:
vlc -vvv --color --ttl 12 --ts-es-id-pid --programs=33,34 dvb: --dvb-frequency=11982000 --dvb-srate=45000000 --sout udp:192.168.102.255
VLC media player 0.8.6c Janus
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file /home/fraga/.vlc/cache/plugins-04041e.dat
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 177 modules
[00000001] main private debug: opening config file /home/fraga/.vlc/vlcrc
[00000001] main private warning: config file /home/fraga/.vlc/vlcrc does not exist yet
[00000001] main private debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT SSE FPU
[00000001] main private debug: looking for memcpy module: 4 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000219] main playlist debug: waiting for thread completion
[00000219] main playlist debug: thread 3085384624 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000220] main private debug: waiting for thread completion
[00000220] main private debug: thread 3076996016 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000221] main interface debug: looking for interface module: 1 candidate
[00000221] main interface debug: using interface module "hotkeys"
[00000221] main interface debug: thread 3068582832 (interface) created at priority 0 (interface/interface.c:231)
[00000219] main playlist debug: adding playlist item `dvb:' ( dvb: )
[00000223] main interface debug: looking for interface module: 1 candidate
Remote control interface initialized. Type `help' for help.
[00000223] main interface debug: using interface module "rc"
[00000223] main interface debug: thread 3060140976 (manager) created at priority 0 (interface/interface.c:216)
[00000219] main playlist debug: creating new input thread
[00000225] main input debug: waiting for thread completion
[00000225] main input debug: creating statistics handler
[00000227] main stream output debug: using sout chain=`std{mux="",access="udp",dst="192.168.102.255"}'
[00000227] main stream output debug: stream=`std'
[00000228] main private debug: looking for sout stream module: 1 candidate
[00000228] main private warning: missing value for option mux
[00000228] main private debug: set sout option: sout-standard-access to udp
[00000228] main private debug: set sout option: sout-standard-dst to 192.168.102.255
[00000228] stream_out_standard private debug: creating `udp/(null)://192.168.102.255'
[00000228] stream_out_standard private debug: extension is 255
[00000228] stream_out_standard private debug: extension -> mux=(null)
[00000228] stream_out_standard private debug: using `udp/ts://192.168.102.255'
[00000230] main private debug: looking for sout access module: 1 candidate
[00000230] main private debug: net: connecting to 192.168.102.255 port 1234
[00000230] main private debug: localized Domain Names not supported - disabled
[00000225] main input debug: thread 3051752368 (input) created at priority 0 (input/input.c:265)
[00000232] main private debug: thread 3043330992 (sout write thread) created at priority 0 (udp.c:268)
[00000230] access_output_udp private debug: udp access output opened(192.168.102.255:1234)
[00000230] main private debug: using sout access module "access_output_udp"
[00000228] stream_out_standard private debug: access opened
[00000233] main private debug: looking for sout mux module: 1 candidate
[00000233] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000
[00000233] main private debug: using sout mux module "mux_ts"
[00000227] main stream output debug: muxer support adding stream at any time
[00000228] stream_out_standard private debug: mux opened
[00000228] main private debug: using sout stream module "stream_out_standard"
[00000225] main input debug: `dvb:' gives access `dvb' demux `' path `'
[00000225] main input debug: creating demux: access='dvb' demux='' path=''
[00000234] main demuxer debug: looking for access_demux module: 0 candidates
[00000234] main demuxer warning: no access_demux module matched "dvb"
[00000225] main input debug: creating access 'dvb' path=''
[00000235] main access debug: looking for access2 module: 5 candidates
[00000235] dvb access debug: Opening device /dev/dvb/adapter0/frontend0
[00000235] dvb access debug: Frontend Info:
[00000235] dvb access debug: name = ST STV0299 DVB-S
[00000235] dvb access debug: type = QPSK (DVB-S)
[00000235] dvb access debug: frequency_min = 950000 (kHz)
[00000235] dvb access debug: frequency_max = 2150000 (kHz)
[00000235] dvb access debug: frequency_stepsize = 125
[00000235] dvb access debug: frequency_tolerance = 0
[00000235] dvb access debug: symbol_rate_min = 1000000 (kHz)
[00000235] dvb access debug: symbol_rate_max = 45000000 (kHz)
[00000235] dvb access debug: symbol_rate_tolerance (ppm) = 500
[00000235] dvb access debug: notifier_delay (ms) = 0
[00000235] dvb access debug: Frontend Info capability list:
[00000235] dvb access debug: inversion auto
[00000235] dvb access debug: forward error correction 1/2
[00000235] dvb access debug: forward error correction 2/3
[00000235] dvb access debug: forward error correction 3/4
[00000235] dvb access debug: forward error correction 5/6
[00000235] dvb access debug: forward error correction 7/8
[00000235] dvb access debug: forward error correction auto
[00000235] dvb access debug: card can do QPSK
[00000235] dvb access debug: End of capability list
[00000235] dvb access debug: trying to tune the frontend...
[00000235] dvb access debug: frequency 11982000 is in Ku-band
[00000235] dvb access debug: using inversion=2
[00000235] dvb access debug: using fec=9
[00000235] dvb access debug: using voltage=13
[00000235] dvb access debug: using tone=1
status change: ( new input: dvb: )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000235] dvb access debug: Opening device /dev/dvb/adapter0/dvr0
[00000235] dvb access debug: setting filter on PAT
[00000235] dvb access debug: Opening device /dev/dvb/adapter0/demux0
[00000235] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 0
[00000235] dvb access debug: Opening device /dev/dvb/adapter0/ca0
[00000235] dvb access warning: CAMInit: opening CAM device failed (No such file or directory)
[00000235] main access debug: using access2 module "dvb"
[00000237] main private debug: pre buffering
[00000235] dvb access debug: frontend has acquired signal
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access debug: frontend has lost carrier
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access warning: no lock, tuning again
[00000235] dvb access debug: using inversion=2
[00000235] dvb access debug: using fec=9
[00000235] dvb access debug: using voltage=13
[00000235] dvb access debug: using tone=1
[00000235] dvb access debug: frontend has acquired signal
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access warning: no lock, tuning again
[00000235] dvb access debug: using inversion=2
[00000235] dvb access debug: using fec=9
[00000235] dvb access debug: using voltage=13
[00000235] dvb access debug: using tone=1
[00000235] dvb access debug: frontend has acquired signal
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access warning: no lock, tuning again
[00000235] dvb access debug: using inversion=2
[00000235] dvb access debug: using fec=9
[00000235] dvb access debug: using voltage=13
[00000235] dvb access debug: using tone=1
[00000235] dvb access debug: frontend has acquired signal
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access debug: frontend has lost carrier
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access warning: no lock, tuning again
[00000235] dvb access debug: using inversion=2
[00000235] dvb access debug: using fec=9
[00000235] dvb access debug: using voltage=13
[00000235] dvb access debug: using tone=1
[00000235] dvb access debug: frontend has acquired signal
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access warning: no lock, tuning again
[00000235] dvb access debug: using inversion=2
[00000235] dvb access debug: using fec=9
[00000235] dvb access debug: using voltage=13
[00000235] dvb access debug: using tone=1
[00000235] dvb access debug: frontend has acquired signal
[00000235] dvb access debug: frontend has acquired carrier
[00000235] dvb access debug: frontend has lost carrier
[00000235] dvb access debug: frontend has acquired carrier
quit: returned 0 (no error)
status change: ( stop state: 0 )
status change: ( quit )
[00000001] main private debug: removing all interfaces
[00000223] main interface debug: thread 3060140976 joined (interface/interface.c:258)
[00000223] main interface debug: removing module "rc"
[00000221] main interface debug: thread 3068582832 joined (interface/interface.c:258)
[00000221] main interface debug: removing module "hotkeys"
[00000001] main private debug: removing playlist handler
[00000220] main private debug: thread 3076996016 joined (playlist/playlist.c:247)
[00000237] main private debug: prebuffering done 0 bytes in 57s - 0 kbytes/s
[00000237] main private error: cannot pre fill buffer
[00000225] main input warning: cannot create a stream_t from access
[00000235] dvb access debug: DMXUnsetFilter: closing demux 6
[00000235] main access debug: removing module "dvb"
[00000228] main private debug: destroying chain... (name=std)
[00000233] main private debug: removing module "mux_ts"
[00000232] access_output_udp private debug: packet has been sent too late (1182979043981788)
[00000232] main private debug: thread 3043330992 joined (udp.c:316)
[00000230] access_output_udp private debug: udp access output closed
[00000230] main private debug: removing module "access_output_udp"
[00000228] main private debug: removing module "stream_out_standard"
[00000228] main private debug: destroying chain done
[00000225] main input debug: thread 3051752368 joined (input/input.c:412)
[00000219] main playlist debug: thread 3085384624 joined (playlist/playlist.c:248)
[00000219] main playlist: stopping playback
[00000219] main playlist debug: deleting playlist item `dvb:'
[00000001] main private debug: removing all video outputs
[00000001] main private debug: removing all audio outputs
[00000001] main private debug: removing module "memcpymmxext"
[00000001] main private debug: saving plugins cache file /home/fraga/.vlc/cache/plugins-04041e.dat
What I'm doing wrong? Any hints? Thank you!