[FFmpeg-trac] #4430(ffmpeg:new): ffmpeg creates duplicate frames at begin of avi file

FFmpeg trac at avcodec.org
Sat Apr 4 15:34:08 CEST 2015


#4430: ffmpeg creates duplicate frames at begin of avi file
-----------------------------------+---------------------------------------
             Reporter:  martinr92  |                     Type:  defect
               Status:  new        |                 Priority:  normal
            Component:  ffmpeg     |                  Version:  unspecified
             Keywords:             |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+---------------------------------------
 When I encode a video (source .avi, destination .avi), the destination
 files first 3 frames are equal.
 I used following command to create the "out.avi":
 {{{
 ffmpeg -ss 00:00:02.360 -i "input.avi" -c:v libx264 -t 00:00:05.760
 "out.avi"
 }}}

 Create thumbnails for the first 4 frames. You can see, that img1, img2 and
 img3 are equal:
 {{{
 ffmpeg -ss 00:00:00.000 -i out.avi -vcodec mjpeg -vframes 1 img1.jpg
 ffmpeg -ss 00:00:00.040 -i out.avi -vcodec mjpeg -vframes 1 img2.jpg
 ffmpeg -ss 00:00:00.080 -i out.avi -vcodec mjpeg -vframes 1 img3.jpg
 ffmpeg -ss 00:00:00.120 -i out.avi -vcodec mjpeg -vframes 1 img4.jpg
 }}}

 If I encode the same video to a mp4, it's working correctly.
 {{{
 ffmpeg -ss 00:00:02.360 -i "input.avi" -c:v libx264 -t 00:00:05.760
 "out.mp4"
 }}}

 The equal frames are a problem for me, because I create a lot of .avi
 files and merge them at the end. And caused by that duplicate frames, you
 can see a short "freeze" in the main video.

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


More information about the FFmpeg-trac mailing list