Page 1 of 1

Audio pids in Mosaic

Posted: 29 Apr 2009 06:07
by aijaz
Hello All

Rephrasing the question.

We have a 4x4 Mosaic stream with 16 audios. The Mosaic is streamed to a STB client. How do I lock on to any one audio Channel in the stream. The problem starts when any of the input stream has continuity errors or any input change occurs (pause-restart-loopback scenario)

We have tried to lock on to the audio pids in the STB using commands.

setup background option sout-ts-es-ip-pid
and
setup background option sout-ts-pid-video=768
setup background option sout-ts-pid-audio=1024

This works for sometime but when any change occurs in the input streams, new audio pids (random) are added to the stream (TSreaderlite), as a result the audio does not match the video in the client.

Questions : Is there a way to fix all 16 audio pids in the Mosaic.

Some of the cmd lines are...
....
new channel4 broadcast enabled
setup channel4 input udp:@224.1.1.18
setup channel4 output #duplicate{dst=mosaic-bridge{id=4,height=268,width=340},select=video,dst=bridge-out{id=4},select=audio,program=4}
...

new background broadcast enabled
setup background input fake:
setup background output #transcode{sfilter=mosaic,vcodec=mp2v,vb=4000,scale=1,acodec=mp3,ab=188}:bridge-in{delay=400,id-offset=20}:standard{access=udp,mux=ts,id=1000,url=225.1.1.1:1234,sap,name="mosaic"}

setup background option sout-ts-pid-video=768
setup background option sout-ts-pid-audio=1024
Also tried
setup background option sout-ts-es-ip-pid

setup background option sout-ts-pcr=30
setup background option sout-ts-tsid=2048
setup background option sout-ts-netid=510
setup background option sout-ts-program-pmt="256"

My fake command..

vlc.exe --color -I telnet --vlm-conf \mosaic1.conf --ttl 12 --fake-file \a1.png --fake-aspect-ratio "4:3" --no-overlay --mosaic-width 720 --mosaic-height 576 --udp-caching 100 --mosaic-keep-picture --mosaic-rows 4 --mosaic-cols 4 --mosaic-position 0 --mosaic-order 1,2,3,4,5,6...... --file-logging

Although not related to this, would like to know how to reduce continuity errors in the above scenario, tried pcr-delay as above

Thanks in advance

AA