How to stream a specific Program from TS Stream

About encoding, codec settings, muxers and filter usage
brain!ac
Blank Cone
Blank Cone
Posts: 18
Joined: 10 Jul 2009 08:28

How to stream a specific Program from TS Stream

Postby brain!ac » 10 Jul 2009 13:17

Hi .

I`m receiving from IP a DVB-s Stream on TS with many Services and i am able to chose one of services with Playback-Program menu which Service (channel) i want to show .

How i`m a possible to stream a specific channel not the all stream ,because by deffault VLC stream the first Service on the TS Stream .

Best on advance.

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: How to stream a specific Program from TS Stream

Postby thannoy » 10 Jul 2009 17:27

If you are using command line interface, add this parameter

Code: Select all

--program=PRMGID
More information on Command_line/VLC_command-line_help pages on the wiki.

brain!ac
Blank Cone
Blank Cone
Posts: 18
Joined: 10 Jul 2009 08:28

Re: How to stream a specific Program from TS Stream

Postby brain!ac » 13 Jul 2009 04:11

If you are using command line interface, add this parameter

Code: Select all

--program=PRMGID
More information on Command_line/VLC_command-line_help pages on the wiki.
Thanks for the answer

After some searches and some lessons i am able to split (or separate) a channel on vlc 1.0.0 with this command

Code: Select all

:sout-all :sout=#duplicate{dst=std{access=http,mux=ts,dst=0.0.0.0:8080},select=program=608,dst=display,select=program=608}
but the same one it does not work on vlc 0.9.9
I need it to work on 0.9.9 because i`m working on an API for my school which needs that way integrated on .

Best on advance

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: How to stream a specific Program from TS Stream

Postby thannoy » 13 Jul 2009 13:23

Try with

Code: Select all

:sout-all :sout=#duplicate{dst=std{access=http,mux=ts,dst=0.0.0.0:8080},select="program=608",dst=display,select="program=608"}
or (I find it more simple):

Code: Select all

:program=608 :sout=#duplicate{dst=std{access=http,mux=ts,dst=0.0.0.0:8080},dst=display}
NB: if you are using a bash environment, #foo char will be a comment so you will have to add quotes:

Code: Select all

:program=608 :sout='#duplicate{dst=std{access=http,mux=ts,dst=0.0.0.0:8080},dst=display}'
and if you don't need to see what you are streaming:

Code: Select all

:program=608 :sout='#std{access=http,mux=ts,dst=0.0.0.0:8080}'
Also, the default .host file of VLC http server may lock incoming connecions to 127.0.0.1.

brain!ac
Blank Cone
Blank Cone
Posts: 18
Joined: 10 Jul 2009 08:28

Re: How to stream a specific Program from TS Stream

Postby brain!ac » 15 Jul 2009 16:46

Thanks a lot buddy ,it worked with commands and you just solved me a lot of problems that i must used to work on them (i worked on them morally but after 1 tired week i lost the confident) .


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests