[FFmpeg-trac] #3797(undetermined:new): Latest trunk is not syncing audio/video from RTSP

FFmpeg trac at avcodec.org
Wed Jul 23 17:37:26 CEST 2014


#3797: Latest trunk is not syncing audio/video from RTSP
-------------------------------------+-------------------------------------
             Reporter:  hackeron     |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I'm recording from a D-Link DCS-2230 IP Camera with this command:


 {{{
 ffmpeg -use_wallclock_as_timestamps 1 -rtsp_transport tcp -i
 'rtsp://admin:@192.168.1.83/live1.sdp' -dn -map 0 -codec:a libfdk_aac
 -flags +qscale -global_quality 1 -afterburner 1 -ar 44100 -codec:v copy -f
 segment -segment_time 60 -segment_wrap 10 -segment_list_flags live
 -segment_list_size 10 -reset_timestamps 1 -segment_list test.csv -y
 test_%02d.mkv
 }}}


 With Trunk from 2014/04/09 all works correctly and each output video is
 exactly 1 minute long. With Trunk from 2014/07/18 the audio duration
 slowly grows in size and the duration of each video gets 10 seconds
 longer:

 With 2014/04/09 trunk:

 {{{
 deployer at XanBox:~/test$ mediainfo *.mkv | grep -i duration
 Duration                                 : 1mn 0s
 Duration                                 : 1mn 0s
 Duration                                 : 1mn 0s
 Duration                                 : 1mn 0s
 Duration                                 : 1mn 0s
 Duration                                 : 1mn 0s
 Duration                                 : 1mn 0s
 Duration                                 : 1mn 0s
 }}}

 With 2014/07/18 trunk:

 {{{
 deployer at XanBox:~/test$ mediainfo *.mkv | grep -i duration
 Duration                                 : 1mn 1s
 Duration                                 : 1mn 1s
 Duration                                 : 1mn 1s
 Duration                                 : 1mn 1s
 Duration                                 : 1mn 1s
 Duration                                 : 1mn 11s
 Duration                                 : 1mn 11s
 Duration                                 : 1mn 21s
 Duration                                 : 1mn 21s
 }}}

 Any ideas what could have been changed/broken to cause this to happen?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3797>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list