Page 1 of 1

DVB-T Stream to, jow to change the programm via command?

Posted: 07 Jan 2010 14:41
by mophat
HI, we use the vlc to stream a tv channel from a dvb-t stick to the lan (multicast). :D

I use this command to start vlc and begin the stream (its automated).
"C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv dvb-t://frequency=666000000 :sout=#std{access=udp,mux=ts,dst=239.0.0.1:1234}} --ttl 12
but how can i switch the program?
i have on some frequencies up to 6 channels?

i know i can change this on the vlc menu > playback > program > {channel}
but how to do that with a parameter?

thank you for any help
MoPhat

Re: DVB-T Stream to, jow to change the programm via command?

Posted: 07 Jan 2010 17:03
by mpbejo
You should use
--ts-es-id-pid --programs=
read this and try
http://wiki.videolan.org/Documentation: ... VB_Channel
this evening I will try too

Re: DVB-T Stream to, jow to change the programm via command?

Posted: 07 Jan 2010 17:08
by mophat
Thank you mpbejo, that helped :D

Re: DVB-T Stream to, jow to change the programm via command?

Posted: 08 Jan 2010 09:12
by mophat
ok... that has not helped... i'm confused :?

Ok i know i can open the pids with this command: --ts-es-id-pid --programs=8508,8505 , but where do i'm see this info when i tune the channel in vlc so that i can use this?

thx
MoPhat

Re: DVB-T Stream to, jow to change the programm via command?

Posted: 08 Jan 2010 09:52
by mpbejo
This string works for me:
vlc -vvv --ttl 12 --ts-es-id-pid --programs=3309 dvb-t://frequency=490000000 :sout=#transcode{vcodec=WMV2,vb=512,scale=1,acodec=wma2,ab=128,channels=2,samplerate=44100}:std{access=mmsh,mux=asfh,dst=192.168.2.4:1234/stream.asf}
about your question where to find the programs id, when you are running vlc with basic command for dvb go to Tools and then Media Info (Ctrl+I)
Another way is to use the free utility: ScanChannelBDA http://nate.dynalias.net/dev/scanchannelsbda.rails
is very easy to use: Add a network type the frequency to scan, and then ask for the file with all the info

Re: DVB-T Stream to, jow to change the programm via command?

Posted: 09 Jan 2010 01:18
by mpbejo
Sorry on Tools select the other one (CTRL+J)