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

About encoding, codec settings, muxers and filter usage
mophat
Blank Cone
Blank Cone
Posts: 10
Joined: 08 Mar 2009 10:08

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

Postby mophat » 07 Jan 2010 14:41

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

mpbejo
Blank Cone
Blank Cone
Posts: 29
Joined: 04 Jan 2010 23:13

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

Postby mpbejo » 07 Jan 2010 17:03

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

mophat
Blank Cone
Blank Cone
Posts: 10
Joined: 08 Mar 2009 10:08

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

Postby mophat » 07 Jan 2010 17:08

Thank you mpbejo, that helped :D

mophat
Blank Cone
Blank Cone
Posts: 10
Joined: 08 Mar 2009 10:08

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

Postby mophat » 08 Jan 2010 09:12

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

mpbejo
Blank Cone
Blank Cone
Posts: 29
Joined: 04 Jan 2010 23:13

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

Postby mpbejo » 08 Jan 2010 09:52

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

mpbejo
Blank Cone
Blank Cone
Posts: 29
Joined: 04 Jan 2010 23:13

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

Postby mpbejo » 09 Jan 2010 01:18

Sorry on Tools select the other one (CTRL+J)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests