[FFmpeg-trac] #4984(undetermined:new): ffmpeg amerge and amix filter delay when working with RTSP

FFmpeg trac at avcodec.org
Wed Nov 4 15:38:18 CET 2015


#4984: ffmpeg amerge and amix filter delay when working with RTSP
-------------------------------------+-------------------------------------
             Reporter:  leogsa       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  RTSP         |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by Cigaes):

 I believe this is expected. Neither amix nor amerge (preferred) take the
 input timestamps into account. Furthermore, the command line you use
 subtracts the initial timestamps of both streams, and since the capture do
 not start exactly at the same time, there is a shift.

 I suspect that to get this working, you would need to use the
 {{{-copyts}}} option, then find a way of subtract the same initial
 timestamp to both streams, and finally use aresample to sync the audio to
 its timestamps.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4984#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list