[FFmpeg-trac] #1035(FFplay:open): ffplay: after changing audio stream, audio video become out of sync

FFmpeg trac at avcodec.org
Wed Mar 14 17:53:55 CET 2012


#1035: ffplay: after changing audio stream, audio video become out of sync
------------------------------------+----------------------------------
             Reporter:  rlf         |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  minor       |                Component:  FFplay
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+----------------------------------

Comment (by reimar):

 I don't think it skips it by intention, it is just that there is probably
 a lot of audio data already demuxed and buffered for the enabled and in-
 use stream.
 When switching to a different audio stream, demuxing of that will only be
 enabled at that point.
 ffplay has now the two options of either continuing to play the old stream
 until it gets data from the new one (annoying and complex to implement) or
 just to drop the audio for the old one and start playing the new one even
 though the first data for that is several seconds in the future.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1035#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list