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'.
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. 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? On Fri, Apr 22, 2016 at 1:07 PM, Carl Eugen Hoyos <[email protected]> wrote: > Nicolas George <george@...> writes: > > > I suspect a lot of players, when showing audio and video, > > sync on audio. Therefore you will probably need to > > explicitly insert silence at the places you want it. > > WMP and vlc will play files with "holes" in the audio stream > by increasing video playback speed, other players will just > continue playing audio and video, leading to massive (and > increasing) A/V desync, see ticket #4674. > > Carl Eugen > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
