[FFmpeg-trac] #1169(avcodec:closed): Last 11 Frames of H264 MOV Are Skipped When Decoding
FFmpeg
trac at avcodec.org
Wed Apr 4 22:05:03 CEST 2012
#1169: Last 11 Frames of H264 MOV Are Skipped When Decoding
------------------------------------+-----------------------------------
Reporter: mbradshaw | Owner:
Type: defect | Status: closed
Priority: normal | Component: avcodec
Version: git-master | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Changes (by reimar):
* status: new => closed
* resolution: => invalid
Comment:
Please read the documentation.
For example the one for avcodec_decode_video2 says:
* @note Codecs which have the CODEC_CAP_DELAY capability set have a delay
* between input and output, these need to be fed with avpkt->data=NULL,
* avpkt->size=0 at the end to return the remaining frames.
Since you are not doing that you do not have the chance of getting all
frames decoded with most codecs.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1169#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list