Mux several programs in same TS

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
hihi
Blank Cone
Blank Cone
Posts: 49
Joined: 09 Jan 2007 08:48

Mux several programs in same TS

Postby hihi » 17 Apr 2008 12:36

Hi,

Is it possible to “MUX” several programs (coming from file, network(SPTS UDP) and fake) in the same TS with different PMT’s and stream it in the same UDP multicast with VLC/VLM?

Greets,

hihi
Blank Cone
Blank Cone
Posts: 49
Joined: 09 Jan 2007 08:48

Re: Mux several programs in same TS

Postby hihi » 18 Apr 2008 12:15

Trying the following:

MUX 2 files with 2 UPD streams into one UDP stream with MPTS of 4 services:

Code: Select all

# reset VLM configuration del all # Input options # Input 1: File new Channel1 broadcast enabled setup Channel1 input "file1.ts" setup Channel1 output #duplicate{dst=bridge-out{id=110},select=video,dst=bridge-out{id=120},select=audio} # Input 2: File new Channel2 broadcast enabled setup Channel2 input "file2.ts" setup Channel2 output #duplicate{dst=bridge-out{id=210},select=video,dst=bridge-out{id=220},select=audio} # Input 3: UDP new Channel3 broadcast enabled setup Channel3 input "UDP://@224.1.1.2:1234" setup Channel3 output #duplicate{dst=bridge-out{id=310},select=video,dst=bridge-out{id=320},select=audio} # Input 4: UDP (MPTS select program 501) Output: UDP new Channel4 broadcast enabled setup Channel4 input "udp://@224.1.1.1:1234" setup Channel4 option program=501 setup Channel4 output #bridge-in:duplicate{dst=display,dst=std{access=udp{ttl=5},mux=ts,dst=225.1.1.1:1234} # TS options setup Channel4 option sout-ts-pid-audio=420 setup Channel4 option sout-ts-pid-video=410 setup Channel4 option sout-ts-tsid=1 setup Channel4 option sout-ts-netid=501 setup Channel4 option sout-ts-program-pmt="100,200,300,400" setup Channel4 option sout-ts-muxpmt="110,120,,210,220,,310,320,,410,420" setup Channel4 option sout-ts-sdtdesc="TheCompany1,file1,TheCompany2,file2,Broadcaster1,udp1,Broadcaster2,udp2" # Launch everything control Channel1 play control Channel2 play control Channel3 play control Channel4 play # end MUX config

Bobarctor
New Cone
New Cone
Posts: 3
Joined: 31 May 2008 09:43

Re: Mux several programs in same TS

Postby Bobarctor » 11 Jun 2008 17:27

Hi,

I tried this configuration but actually when I mux two inputs using the same configuration example, my first video channel share the same PID as the PCR pid.
I know it is possible to have this but my decoder seems to not accept that.

Any suggestion ?

Bobarctor
New Cone
New Cone
Posts: 3
Joined: 31 May 2008 09:43

Re: Mux several programs in same TS

Postby Bobarctor » 12 Jun 2008 08:45

Hi there,

I tried everything to make it work but I have PID problems.
I have sucessfully two services with IDs 100 & 200
For service 100, Video PID is 201 !? and for service 200 Video PID is 0 !!

I am sure I am close but can't make it...

Here is my config

> show channel1
show
channel1
type : broadcast
enabled : yes
loop : no
inputs
udp://@239.0.0.5:5000
output : #duplicate{dst=bridge-out{id=101},select=video}
instances
> show channel2
show
channel2
type : broadcast
enabled : yes
loop : no
inputs
udp://@239.0.0.6:5000
udp://@239.0.0.1:5000
output : #bridge-in:duplicate{dst=std{access=udp{ttl=5},mux=ts,dst=239.0.0.139:5000}}
options
sout-ts-tsid=1
sout-ts-netid=1
sout-ts-program-pmt=100,200
sout-ts-muxpmt=101,,201
sout-ts-sdtdesc=cudo,channel1,cudo,channel2
sout-ts-pid-video=201
instances
>

Skinnersplace
Blank Cone
Blank Cone
Posts: 48
Joined: 23 May 2008 09:55

Re: Mux several programs in same TS

Postby Skinnersplace » 12 Jul 2008 19:37

hi, did anyone get this working ?

were the examples used via linux or windows ?

Bobarctor
New Cone
New Cone
Posts: 3
Joined: 31 May 2008 09:43

Re: Mux several programs in same TS

Postby Bobarctor » 13 Jul 2008 15:35

From my side I can't make it work. I have the PIDs problem I refer in my post.

Skinnersplace
Blank Cone
Blank Cone
Posts: 48
Joined: 23 May 2008 09:55

Re: Mux several programs in same TS

Postby Skinnersplace » 19 Jul 2008 14:46

Hi Bobarctor

The following was posted in a differnt thread :

to define transportstream ID:
setup Channel4 option sout-ts-tsid=4
to define Network ID:
setup Channel4 option sout-ts-netid=511
to define the different PMT's:
setup Channel4 option sout-ts-program-pmt="100,200,300,400"
to define the PID's for each PMT:
setup Channel4 option sout-ts-muxpmt="110,120,,210,220,,310,320,,410,420"
to define the SDT for each program:
setup Channel4 option sout-ts-sdtdesc="company,file1,company,file2,company,udp1,company,udp2"

source on google: http://mailman.videolan.org/pipermail/v ... 19150.html

Are you using windows or linux ?

hihi
Blank Cone
Blank Cone
Posts: 49
Joined: 09 Jan 2007 08:48

Re: Mux several programs in same TS

Postby hihi » 19 Jul 2008 15:37

Hi Skinner,

I've seen that the muxpmt was commented out in the source code ...

That's why it's not working ...


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: WhydoYouNeedThis and 3 guests