Page 1 of 1

mosaic sub-source network

Posted: 02 Mar 2020 17:40
by skuwakin
Dear experts, please explain the muddy moment... I was absolutely sure that duplicate is always stupid and one in one reproduce the image and or stream. But in the process of tinkering with the mosaic on the new vlc, I encountered the opposite... the vlm file

del all
new bg broadcast enabled
setup bg input "http://192.168.1.1:1111/udp/239.1.10.22:1234"
setup bg output #bridge-in{offset=100}:duplicate{dst=display,dst=standard{access=http,mux=ts,dst=0.0.0.0:8181}}
control bg play
new chn2 broadcast loop option audio-language=ru input "http://192.168.1.1:1111/udp/239.1.15.20:1234" output #duplicate{dst=mosaic-bridge{id=cd,width=640,height=360},select=video,dst=bridge-out{id=cd},select=audio} enabled
control chn2 play

which runs like this

start vlc.exe --file-logging --logfile=vlc.log --logmode=text --log-verbose=1 --sub-source=mosaic --mosaic-width=1920 --mosaic-height=1080 -I dummy --mosaic-keep-picture --mosaic-position=2 --mosaic-order=cd --mosaic-offsets=1230,680 --vlm-conf=t_test.c

Everything works just great. But... the mosaic is only on the display, only the main window ( bg) is transmitted over the network.

Moreover, the sound from the second channel is normally transmitted over the network in the output stream.

If you remove sub-source and write to output as usual
#transcode{sfilter=mosaic,vcodec=... the mosaic is transmitted over the network normally, but... it works a lot worse...

There is a "bad" error in the log...
bridge error: bridge-out can only handle 1 es at a time.
main warning: new south input failed (cout_input: 04cd5030)
main error: cannot create packetizer output (a52 )

but... After all, it is worth duplicating... Or in this case, they stupidly superimpose one of them on the other, and it is only on the display...

In General, I really want to make the mosaic be transmitted over the network without any transcodes...
Thank you in advance for any ideas.