Two audio tracks in a mosaic
Posted: 16 May 2024 21:49
Good time of day. There is a mosaic that works great. But only if the stream has one audio track. If there are more, then only one is output.
However, if the mosaic is implemented like this, then all audio tracks are output
Well, the eternal question is: "Is the cat to blame and what to do?"
Code: Select all
del all
new muchn0 broadcast loop option no-sout-keep option sout-all option network-caching=3000 option audio-language=ru input "http://stream...." output #duplicate{dst=mosaic-bridge{id=c1,width=1920,height=1080},select=video,dst=bridge-out{id=c1},select=audio} enabled
control muchn0 play
new bg broadcast loop option no-sout-keep option sout-all option network-caching=3000 input "100bg.bmp" output #transcode{sfilter=mosaic,fps=25,vcodec=mpgv}:bridge-in{id-offset=100}:standard{access=http,mux=ts,dst=0.0.0.0:8182} enabled
control bg play
Code: Select all
del all
new bg broadcast loop option no-sout-keep option sout-all option network-caching=3000 input "http://stream...." output #transcode{sfilter=mosaic,fps=25,vcodec=mpgv}:bridge-in{id-offset=100}:standard{access=http,mux=ts,dst=0.0.0.0:8182} enabled
control bg play