Page 1 of 1

Synchronised stream start

Posted: 14 Mar 2010 10:18
by michaeldjcox
Hi,

I'm taking an internet video stream and bridging in a "fake" video stream to produce an mpeg transport stream with an audio and video stream.

Only trouble is the transport stream seem to contain the fake video for a few seconds before the audio stream appears.

The destination app only seem to like it if both audio and video are present from the start.

Is there any way for force it so no output is produce until both video and audio content is present?

Michael

Code: Select all

new audio broadcast enabled setup audio output #transcode{acodec=mpga,ab=128,channels=2}:bridge-in:duplicate{dst=std{access=file,mux=ts,dst='C:\Program Files (x86)\webfeedencoder\tmp\BBCR7_test.mpg'}} setup audio enabled setup audio option sout-transcode-audio-sync new video broadcast enabled setup video input fake:// setup video option fake-file="C:\Program Files (x86)\webfeedencoder\cache\images\BBCR7.jpg" setup video option fake-duration=9999999999 setup video output #transcode{vcodec=mp2v,vb=800,fps=30,sfilter=marq@nowplaying{marquee=' '}}:bridge-out setup video enabled control video play control audio play