[FFmpeg-trac] #4875(ffmpeg:new): Last frame of low-fps vfr mov input file duplicated 40000 times
FFmpeg
trac at avcodec.org
Thu Sep 24 11:47:28 CEST 2015
#4875: Last frame of low-fps vfr mov input file duplicated 40000 times
-------------------------------------+-------------------------------------
Reporter: maxvgi | Owner:
Type: defect | Status: new
Priority: important | Component: ffmpeg
Version: git-master | Resolution:
Keywords: mov fps | Blocked By:
regression | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by cehoyos):
Replying to [comment:6 maxvgi]:
> The input file was created from ip-camera with
> {{{
> ffmpeg -rtsp_transport tcp -stimeout 30000000 -i rtsp://.... -copytb -1
-vcodec copy -an -map 0:0 -f segment -segment_time 30 -segment_format mp4
out_%d.mp4
> }}}
The following might be a workaround:
{{{
$ ffmpeg -rtsp_transport tcp -stimeout 30000000 -i rtsp://... -vcodec copy
-map 0:v:0 -f segment -segment_time 30 -segement_format rawvideo
out_%d.h264
}}}
The output files probably play with a wrong speed, this must be
overwritten:
{{{
$ ffmpeg -r 10 -i out_1.h264 out.mp4
}}}
> My camera output stream options allow setting only fixed fps, but some
frames where possibly lost during network transmission or by camera
hardware.
Maybe I am wrong and the file you provided is cfr.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4875#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list