I'm trying to multiplex some files into a multiple-program transport stream, but when I switch to the second program I get no video output, but if I select the first program I do get an output... any ideas on how to get it rolling well?
Here's a screen shot
Here's the content of my vlm file as well
Code: Select all
new chan1 broadcast enabled loop
setup chan1 input videos/2.mp4
setup chan1 output #transcode{vcodec=mpgv,vb=4096,scale=1,fps=30,width=720,height=480,acodec=mpga,ab=192,channels=2}:std{access=udp,dst=127.0.0.1:8081}
setup chan1 option sout-ts-es-id-pid
setup chan1 option sout-ts-pid-audio=110
setup chan1 option sout-ts-pid-video=120
setup chan1 option sout-ts-program-pmt=100
control chan1 play
new chan2 broadcast enabled loop
setup chan2 input videos/1.mp4
setup chan2 output #transcode{vcodec=mpgv,vb=4096,scale=1,fps=30,width=720,height=480,acodec=mpga,ab=192,channels=2}:std{access=udp,dst=127.0.0.1:8082}
setup chan2 option sout-ts-pid-audio=210
setup chan2 option sout-ts-pid-video=220
setup chan2 option sout-ts-program-pmt=200
control chan2 play
new output broadcast enabled loop
setup output input udp://@127.0.0.1:8081
setup output option sout-ts-es-id-pid
setup output option sout-ts-tsid=1
setup output option sout-ts-netid=510
setup output option sout-ts-program-pmt="100,200,300,400,500,600,700,800,900,1000"
setup output option sout-ts-muxpmt="110,120,,210,220,,310,320,,410,420,,510,520,,610,620,,710,720,,810,820,,910,920,,1010,1020"
setup output option sout-ts-sdtdesc="channel 1,provider 1,channel 2,provider 2,channel 3,provider 3,channel 4,provider 4,channel 5,provider 5,channel 6,provider 6,channel 7,provider 7,channel 8,provider 8,channel 9,provider 9,channel 10,provider 10"
setup output output #std{mux=ts,access=udp,dst=127.0.0.1:8083}
control output play
Any, any help will be super well received and would make me happy, because I've been stuck on this since one week already.
Thank you.