#4972(ffmpeg:new): Source and Destination have different frame counts
#4972: Source and Destination have different frame counts -------------------------------------+------------------------------------- Reporter: gzrw | Type: defect Status: new | Priority: important Component: ffmpeg | Version: Keywords: different | unspecified frame counts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Summary of the bug:I encode a clip cut from a film, the frames count of the source is 14408, that of encoded result is 14411. I have almost gone crazy for days, the -vsync options does not resolve my problem at all. How to reproduce: {{{ % rem ffmpeg -y -i 0.264 -c:v libx264 -b:v 700k -s 720x480 -preset fast -f mpegts 0_1.264 ffmpeg version N-71455-gfbdaebb Copyright built with gcc 4.9.2 (GCC) }}} Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker. -- Ticket URL: <https://trac.ffmpeg.org/ticket/4972> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4972: Source and Destination have different frame counts -------------------------------------+------------------------------------- Reporter: gzrw | Owner: Type: defect | Status: new Priority: important | Component: ffmpeg Version: unspecified | Resolution: Keywords: different | Blocked By: frame counts | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by gzrw): I cut a 10-minute clip directly from a .mkv file then convert it into .264 file, I took a close look at the I frame next to this clip ,It's exactly a IDR. I did not understand why ffmpeg generates 3 more frames to my result compared to the source. I think that must be an important issue in cutting file. Your early reply is appreciated. The source file is over 1G, I can submit it while necessary. -- Ticket URL: <https://trac.ffmpeg.org/ticket/4972#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4972: Source and Destination have different frame counts -------------------------------------+------------------------------------- Reporter: gzrw | Owner: Type: defect | Status: new Priority: important | Component: ffmpeg Version: unspecified | Resolution: Keywords: different | Blocked By: frame counts | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by gzrw): * reproduced: 0 => 1 -- Ticket URL: <https://trac.ffmpeg.org/ticket/4972#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4972: Source and Destination have different frame counts -------------------------------------+---------------------------------- Reporter: gzrw | Owner: Type: defect | Status: new Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Changes (by cehoyos): * keywords: different frame counts => * priority: important => normal * reproduced: 1 => 0 Comment: Please provide the command line that allows to reproduce the bug together with the complete, uncut console output to make this a valid ticket. -- Ticket URL: <https://trac.ffmpeg.org/ticket/4972#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4972: Source and Destination have different frame counts -------------------------------------+---------------------------------- Reporter: gzrw | Owner: Type: defect | Status: new Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by gzrw): Actually the problem is in decoding process, the command line is as follows: ffmpeg -y -i 0.ts -f yuv4mpegpipe nul There is no open GOP in the source file, I don't know why there are frames more than the source, how can I avoid more frames while decoding? Is there any options for me to add in ffmpeg command line? The source file is too large to upload. Is anyone had the same experience and solved the problem? Replying to [comment:3 cehoyos]:
Please provide the command line that allows to reproduce the bug together with the complete, uncut console output to make this a valid ticket.
-- Ticket URL: <https://trac.ffmpeg.org/ticket/4972#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4972: Source and Destination have different frame counts -------------------------------------+------------------------------------- Reporter: gzrw | Owner: Type: defect | Status: closed Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: | needs_more_info Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => needs_more_info Comment: Please reopen this ticket if you can provide the command line that allows to reproduce the issue together with the complete, uncut console output. -- Ticket URL: <https://trac.ffmpeg.org/ticket/4972#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4972: Source and Destination have different frame counts -------------------------------------+------------------------------------ Reporter: gzrw | Owner: Type: defect | Status: reopened Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by gzrw): * status: closed => reopened * resolution: needs_more_info => Comment: How to reproduce: ffmpeg -y -i 00.264 -f yuv4mpegpipe nul ffmpeg version N-71455-gfbdaebb Copyright built with gcc 4.9.2 (GCC) -- Ticket URL: <https://trac.ffmpeg.org/ticket/4972#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4972: Source and Destination have different frame counts -------------------------------------+------------------------------------ Reporter: gzrw | Owner: Type: defect | Status: reopened Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by gzrw): Running the command can decode the attached file. The file has 18 frames, but generates 19 frames after being decoded. Please take a look at the error. Your early reply is appreciated. -- Ticket URL: <https://trac.ffmpeg.org/ticket/4972#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4972: Source and Destination have different frame counts -------------------------------------+------------------------------------- Reporter: gzrw | Owner: Type: defect | Status: closed Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: | needs_more_info Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: reopened => closed * resolution: => needs_more_info Comment: Please reopen this ticket if you can provide the command line that allows to reproduce the issue together with the complete, uncut console output. -- Ticket URL: <https://trac.ffmpeg.org/ticket/4972#comment:8> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg