I wrote a VLM script that generates and streams a mosaic output from some input network streams. Input streams are MPEG-4 or MPEG-2 streams. As expected, it works well; except that when input streams are stopped and after a period of time they are started again; they aren't seen in the output video . Is there any time-out or another option that can be used to fix that?
thank you
Code: Select all
new channel1 broadcast enabled
setup channel1 input udp://@224.11.11.11:2002
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=240,width=320},select=video,dst=bridge-out{id=5},select=audio}
.
.
.
new background broadcast enabled
setup background option image-duration=-1
setup background option image-fps=25/1
setup background input /home/samim/mosaic/mosaic.png
setup background output #transcode{sfilter=mosaic,vcodec=mp2v,acodec=mp4a,ab=128,vb=8000,scale=0.5}:bridge-in{delay=40,id-offset=100}:standard{access=udp,mux=ts,dst=224.11.11.11:2000}
control channel1 play
....
control background play