<div dir="ltr"><div>I'm having the same issue.  I have a rtsp/ts stream that has video, and closes and reopens the audio stream when the far end has audio (or doesn't).  I put all the audio into one track in a .mov container, but all the players are ignoring the 'holes'.</div><div><br></div>Is there an easy way to insert silent frames when there is no audio?  I would probably need some timers to check if no audio came in for some time and then insert raw silent frames into the file.<div><br></div><div>I figured one hack might be to add a silent audio track as track 0 that spans the whole video?  Any easy way to do that?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 22, 2016 at 1:07 PM, Carl Eugen Hoyos <span dir="ltr"><<a href="mailto:cehoyos@ag.or.at" target="_blank">cehoyos@ag.or.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Nicolas George <george@...> writes:<br>
<br>
> I suspect a lot of players, when showing audio and video,<br>
> sync on audio. Therefore you will probably need to<br>
> explicitly insert silence at the places you want it.<br>
<br>
</span>WMP and vlc will play files with "holes" in the audio stream<br>
by increasing video playback speed, other players will just<br>
continue playing audio and video, leading to massive (and<br>
increasing) A/V desync, see ticket #4674.<br>
<span class="HOEnZb"><font color="#888888"><br>
Carl Eugen<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br></div>