[vlc] Help on streaming /viewing DVB-T (Frence TNT) Program with VLC

Toufik Ahmed tad at labri.fr
Thu Nov 17 10:46:43 CET 2005


Hi All,
I've a problem of viewing / or streaming a DVB-T channel (TNT) using my
DVB-T USB Stick. The tunner works fine with dvb-kernel tools using :
/usr/src/dvb-apps/util/szap/tzap -r -c ~/channels.conf "Direct 8"
and with xine player I can player the channel "Direct 8"

xine stdin://mpeg2 < /dev/dvb/adapter0/dvr0

"Direct 8" program  has this frequency 778000000

the PID for video is 160 (0x00a0) and for audio is 80 (0x0050) the
Servie id is 513.

I want to see the program using vlc locally and after on by streaming it
to another host.

my command is :

vlc --programs 160,80 -vvv --color --ttl 12 dvb://
--dvb-frequency=778000000 --dvb-transmission=8 --dvb-guard=32
--dvb-modulation=64 --dvb-code-rate-lp=1 --dvb-code-rate-hp=2
--dvb-adapter=0 --dvb-hierarchy=-1 --dvb-bandwidth=8 --dvb-budget-mode
--sout
'#duplicate{dst=std{access=udp,mux=ts,url=192.168.0.3:3001},select="program=160",dst=std{access=udp,mux=ts,url=192.168.0.3:3002},select="program=80"}'


(I've tried the value hexadecimal and decimal for program option)

at the end of this message you will find the complte dump of the result.
my question is that no things is happening (no view, no streaming):
Using ethereal snif program on the other host (192.168.0.3) I've
received only one UDP packet to the port 3001 but the packet seems to be
corrupted since in the payload there are 1472 octet at "0" bytes value.

any advises on how to play locally and by streaming the programs are
welcomed
Best regards
Toufik

here the complete dump

Kernel 2.6.14 on mandrake 10

[root at emerald src]# vlc --programs 160,80 -vvv --color --ttl 12 dvb://
--dvb-frequency=778000000 --dvb-transmission=8 --dvb-guard=32
--dvb-modulation=64 --dvb-code-rate-lp=1 --dvb-code-rate-hp=2
--dvb-adapter=0 --dvb-hierarchy=-1 --dvb-bandwidth=8 --dvb-budget-mode
--sout
'#duplicate{dst=std{access=udp,mux=ts,url=192.168.0.3:3001},select="program=160",dst=std{access=udp,mux=ts,url=192.168.0.3:3002},select="program=80"}'

VLC media player 0.8.4-test2 Janus



[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist
yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file
/root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 196 modules
libhal.c 767 : org.freedesktop.DBus.Error.ServiceDoesNotExist raised
"Service "org.freedesktop.Hal" does not exist"

[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist
yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE
SSE2 FPU
[00000001] main vlc debug: looking for memcpy module: 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000251] main playlist debug: waiting for thread completion
[00000251] main playlist debug: thread 3073977264 (playlist) created at
priority 0 (src/playlist/playlist.c:183)
[00000252] main private debug: waiting for thread completion
[00000252] main private debug: thread 3065584560 (preparser) created at
priority 0 (src/playlist/playlist.c:205)
[00000253] main interface debug: looking for interface module: 1 candidate
[00000160] main module debug: using interface module "hotkeys"
[00000253] main interface debug: interface initialized
[00000253] main interface debug: thread 3057191856 (interface) created
at priority 0 (src/interface/interface.c:211)
[00000255] main interface debug: looking for interface module: 2 candidates
[00000178] main module debug: using interface module "screensaver"
[00000255] main interface debug: interface initialized
[00000255] main interface debug: thread 3048799152 (interface) created
at priority 0 (src/interface/interface.c:211)
[00000251] main playlist debug: adding playlist item `dvb://' ( dvb:// )
[00000257] main interface debug: looking for interface module: 1 candidate
Remote control interface initialized, `h' for help
[00000163] main module debug: using interface module "rc"
[00000257] main interface debug: interface initialized
[00000257] main interface debug: thread 3040406448 (manager) created at
priority 0 (src/interface/interface.c:196)
[00000251] main playlist debug: creating new input thread
[00000259] main input debug: waiting for thread completion
[00000259] main input debug: thread 3032013744 (input) created at
priority 0 (src/input/input.c:230)
[00000260] main stream output debug: stream=`duplicate'
[00000261] main private debug: looking for sout stream module: 1 candidate
[00000261] stream_out_duplicate private debug: creating 'duplicate'
[00000261] stream_out_duplicate private debug: * adding
`std{access=udp,mux=ts,url=192.168.0.3:3001}'
[00000260] main stream output debug: stream=`std'
[00000263] main private debug: looking for sout stream module: 1 candidate
[00000263] main private debug: set sout option: sout-standard-access to udp
[00000263] main private debug: set sout option: sout-standard-mux to ts
[00000263] main private debug: set sout option: sout-standard-url to
192.168.0.3:3001
[00000263] stream_out_standard private debug: creating
`udp/ts://192.168.0.3:3001'
[00000263] stream_out_standard private debug: extention is 3:3001
[00000263] stream_out_standard private debug: extention -> mux=(null)
[00000263] stream_out_standard private debug: using
`udp/ts://192.168.0.3:3001'
[00000265] main private debug: looking for sout access module: 1 candidate
[00000267] main private debug: looking for network module: 1 candidate
[00000179] main module debug: using network module "ipv4"
[00000179] main module debug: unlocking module "ipv4"
[00000267] main private debug: thread 3023559600 (sout write thread)
created at priority 0 (udp.c:293)
[00000265] access_output_udp private debug: udp access output
opened(192.168.0.3:3001)
[00000121] main module debug: using sout access module "access_output_udp"
[00000263] stream_out_standard private debug: access opened
[00000269] main private debug: looking for sout mux module: 1 candidate
[00000269] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000
[00000014] main module debug: using sout mux module "mux_ts"
[00000260] main stream output debug: muxer support adding stream at any
time
[00000263] stream_out_standard private debug: mux opened
[00000214] main module debug: using sout stream module
"stream_out_standard"
[00000261] stream_out_duplicate private debug: * apply selection
program=160
[00000261] stream_out_duplicate private debug: * adding
`std{access=udp,mux=ts,url=192.168.0.3:3002}'
[00000260] main stream output debug: stream=`std'
[00000270] main private debug: looking for sout stream module: 1 candidate
[00000270] main private debug: set sout option: sout-standard-access to udp
[00000270] main private debug: set sout option: sout-standard-mux to ts
[00000270] main private debug: set sout option: sout-standard-url to
192.168.0.3:3002
[00000270] stream_out_standard private debug: creating
`udp/ts://192.168.0.3:3002'
[00000270] stream_out_standard private debug: extention is 3:3002
[00000270] stream_out_standard private debug: extention -> mux=(null)
[00000270] stream_out_standard private debug: using
`udp/ts://192.168.0.3:3002'
[00000271] main private debug: looking for sout access module: 1 candidate
[00000272] main private debug: looking for network module: 1 candidate
[00000179] main module debug: using network module "ipv4"
[00000179] main module debug: unlocking module "ipv4"
[00000272] main private debug: thread 3015166896 (sout write thread)
created at priority 0 (udp.c:293)
[00000271] access_output_udp private debug: udp access output
opened(192.168.0.3:3002)
[00000121] main module debug: using sout access module "access_output_udp"
[00000270] stream_out_standard private debug: access opened
[00000273] main private debug: looking for sout mux module: 1 candidate
[00000273] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000
[00000014] main module debug: using sout mux module "mux_ts"
[00000260] main stream output debug: muxer support adding stream at any
time
status change: ( New input: dvb:// )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000270] stream_out_standard private debug: mux opened
[00000214] main module debug: using sout stream module
"stream_out_standard"
[00000261] stream_out_duplicate private debug: * apply selection program=80
[00000207] main module debug: using sout stream module
"stream_out_duplicate"
[00000259] main input debug: `dvb://' gives access `dvb' demux `' path `'
[00000259] main input debug: creating demux: access='dvb' demux='' path=''
[00000274] main demuxer debug: looking for access_demux module: 0
candidates
[00000274] main demuxer warning: no access_demux module matched "dvb"
[00000259] main input debug: creating access 'dvb' path=''
[00000275] main access debug: looking for access2 module: 8 candidates
[00000275] dvb access debug: Opening device /dev/dvb/adapter0/frontend0
[00000275] dvb access debug: Frontend Info:
[00000275] dvb access debug: name = WideView USB DVB-T
[00000275] dvb access debug: type = OFDM (DVB-T)
[00000275] dvb access debug: frequency_min = 44250000 (kHz)
[00000275] dvb access debug: frequency_max = 867250000 (kHz)
[00000275] dvb access debug: frequency_stepsize = 250000
[00000275] dvb access debug: frequency_tolerance = 0
[00000275] dvb access debug: symbol_rate_min = 0 (kHz)
[00000275] dvb access debug: symbol_rate_max = 0 (kHz)
[00000275] dvb access debug: symbol_rate_tolerance (ppm) = 0
[00000275] dvb access debug: notifier_delay (ms) = 0
[00000275] dvb access debug: Frontend Info capability list:
[00000275] dvb access debug: inversion auto
[00000275] dvb access debug: forward error correction 1/2
[00000275] dvb access debug: forward error correction 2/3
[00000275] dvb access debug: forward error correction 3/4
[00000275] dvb access debug: forward error correction 5/6
[00000275] dvb access debug: forward error correction 7/8
[00000275] dvb access debug: forward error correction auto
[00000275] dvb access debug: card can do QPSK
[00000275] dvb access debug: card can do QAM 16
[00000275] dvb access debug: card can do QAM 64
[00000275] dvb access debug: card can do QAM auto
[00000275] dvb access debug: transmission mode auto
[00000275] dvb access debug: guard interval mode auto
[00000275] dvb access debug: hierarchy mode auto
[00000275] dvb access debug: card can recover from a cable unplug
[00000275] dvb access debug: End of capability list
[00000275] dvb access debug: trying to tune the frontend...
[00000275] dvb access debug: using inversion=2
[00000275] dvb access debug: using bandwidth=8
[00000275] dvb access debug: using fec=2
[00000275] dvb access debug: using fec=1
[00000275] dvb access debug: using transmission=8
[00000275] dvb access debug: using guard=32
[00000275] dvb access debug: using hierarchy=-1
[00000275] dvb access debug: Opening device /dev/dvb/adapter0/dvr0
[00000275] dvb access debug: setting filter on all PIDs
[00000275] dvb access debug: Opening device /dev/dvb/adapter0/demux0
[00000275] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 8192
[00000275] dvb access debug: Opening device /dev/dvb/adapter0/ca0
[00000275] dvb access warning: CAMInit: opening CAM device failed (No
such device)
[00000110] main module debug: using access2 module "dvb"
[00000277] main private debug: pre buffering
[00000277] main private debug: received first data for our buffer
[00000277] main private debug: prebuffering done 1128 bytes in 1s - 1
kbytes/s
[00000259] main input debug: creating demux: access='dvb' demux='' path=''
[00000278] main demuxer debug: looking for demux2 module: 37 candidates
[00000091] main module debug: using demux2 module "ts"
[00000278] ts demuxer debug: DEMUX_SET_GROUP -1 0x8197ae0
[00000259] main input debug: starting in synch mode
[00000275] dvb access warning: unimplemented query in control
[00000259] main input debug: `dvb://' successfully opened
[00000278] ts demuxer debug: pid[160] unknown
libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0)
for PID 0
[00000278] ts demuxer debug: PATCallBack called
[00000278] ts demuxer debug: new PAT ts_id=2 version=10 current_next=1
[00000278] ts demuxer debug: * number=0 pid=16
[00000278] ts demuxer debug: * number=513 pid=1280
[00000278] ts demuxer debug: * number=518 pid=1285
[00000278] ts demuxer debug: * number=517 pid=1284
[00000278] ts demuxer debug: * number=516 pid=1283
[00000278] ts demuxer debug: * number=515 pid=1282
[00000278] ts demuxer debug: * number=514 pid=1281
[00000275] dvb access debug: frontend has acquired signal
[00000275] dvb access debug: frontend has acquired carrier
[00000275] dvb access debug: frontend has acquired stable FEC
[00000275] dvb access debug: frontend has acquired sync
[00000275] dvb access debug: frontend has acquired lock
[00000275] dvb access debug: - Bit error rate: 0
[00000275] dvb access debug: - Signal strength: 17219
[00000275] dvb access debug: - SNR: 58853
signal 2 received, terminating vlc - do it again in case it gets stuck
status change: ( stop state: 0 )
status change: ( quit )
[00000001] main vlc debug: removing all interfaces
[00000257] main interface debug: thread 3040406448 joined
(src/interface/interface.c:238)
[00000163] main module debug: unlocking module "rc"
[00000255] main interface debug: thread 3048799152 joined
(src/interface/interface.c:238)
[00000178] main module debug: unlocking module "screensaver"
[00000253] main interface debug: thread 3057191856 joined
(src/interface/interface.c:238)
[00000160] main module debug: unlocking module "hotkeys"
[00000001] main vlc debug: removing all playlists
[00000252] main private debug: thread 3065584560 joined
(src/playlist/playlist.c:237)
[00000278] ts demuxer debug: eof ?
[00000259] main input debug: EOF reached
[00000259] main input debug: control type=0
[00000259] main input debug: control: stopping input
[00000259] main input debug: closing input
[00000278] ts demuxer debug: pid list:
[00000278] ts demuxer debug: - pid[0] seen
[00000278] ts demuxer debug: - pid[160] seen
[00000278] ts demuxer debug: - pid[8191] seen
[00000091] main module debug: unlocking module "ts"
[00000275] dvb access debug: DMXUnsetFilter: closing demux 8
[00000110] main module debug: unlocking module "dvb"
[00000259] main input debug: destroying sout
[00000261] main private debug: destroying chain... (name=duplicate)
[00000261] stream_out_duplicate private debug: closing a duplication
[00000263] main private debug: destroying chain... (name=std)
[00000014] main module debug: unlocking module "mux_ts"
[00000267] access_output_udp private debug: packet has been sent too
late (1132172585378061)
[00000267] main private debug: thread 3023559600 joined (udp.c:341)
[00000265] access_output_udp private debug: udp access output closed
[00000121] main module debug: unlocking module "access_output_udp"
[00000214] main module debug: unlocking module "stream_out_standard"
[00000263] main private debug: destroying chain done
[00000270] main private debug: destroying chain... (name=std)
[00000014] main module debug: unlocking module "mux_ts"
[00000272] access_output_udp private debug: packet has been sent too
late (1132172585379153)
[00000272] main private debug: thread 3015166896 joined (udp.c:341)
[00000271] access_output_udp private debug: udp access output closed
[00000121] main module debug: unlocking module "access_output_udp"
[00000214] main module debug: unlocking module "stream_out_standard"
[00000270] main private debug: destroying chain done
[00000207] main module debug: unlocking module "stream_out_duplicate"
[00000261] main private debug: destroying chain done
[00000259] main input debug: thread 3032013744 joined
(src/input/input.c:386)
[00000251] main playlist debug: thread 3073977264 joined
(src/playlist/playlist.c:238)
[00000251] main playlist: stopping playback
[00000251] main playlist debug: deleting playlist item `dvb://'
[00000001] main vlc debug: removing all video outputs
[00000001] main vlc debug: removing all audio outputs
[00000001] main vlc debug: removing announce handler
[00000010] main module debug: unlocking module "memcpymmxext"
[00000001] main vlc debug: saving plugins cache file
/root/.vlc/cache/plugins-04041e.dat

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list