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

Benjamin Pracht bigben+spam at videolan.org
Thu Nov 17 21:01:31 CET 2005


On Thu, Nov 17, 2005, Toufik Ahmed wrote :
> 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"}'
> 

You need --program 513 here. VLC reads TS streams the way they are meant
to be read, using the information in the PAT, PMT to get the right es to
read depending on the SID.

> [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

Here is your 513 program, you shoud receive it without any problem

> [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

You can filter using audio and video PIDs if you really want, using a
duplicate sout chain.

-- 
BigBen

-- 
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