New submission from dabov <[email protected]>: This bug is present in the current r24565 and also in ffmpeg 0.6. (It is somewhat similar to Issue629.)
After using "-ss" with "-vcodec copy" as: ffmpeg -ss 5 -i h264_encoded_with_libx264.mp4 -vcodec copy -an output.mp4 the duration of "output.mp4" is 15.00 sec (instead of 10.04) and the duration of the input video "h264_encoded_with_libx264.mp4" is 15.04 sec. Additional information: the input "h264_encoded_with_libx264.mp4" was encoded with "-vcodec libx264 -vpre hq -b 3000000 -bt 3000000 -vsync 1 -r 30" parameters. Thank you for looking into this! Regards, Kostadin File 'h264_encoded_with_libx264.mp4' not attached - you can download it from https://roundup.ffmpeg.org/file1006. ---------- files: h264_encoded_with_libx264.mp4 messages: 11493 priority: normal status: new substatus: new title: Incorrect video duration when using "-ss" with "-vcodec copy" (for input videos encoded with libx264) type: bug ________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/issue2136> ________________________________________________
