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,
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
Return to “General VLC media player Troubleshooting”
Users browsing this forum: No registered users and 53 guests