[FFmpeg-trac] #4912(avcodec:new): While decoding an flv video av_codec_decode_video2 fails to decode the 2nd frame at first but succeeds after seeking.
FFmpeg
trac at avcodec.org
Tue Oct 6 15:02:06 CEST 2015
#4912: While decoding an flv video av_codec_decode_video2 fails to decode the 2nd
frame at first but succeeds after seeking.
---------------------------------+--------------------------------------
Reporter: tr3wory | Type: defect
Status: new | Priority: normal
Component: avcodec | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+--------------------------------------
'''Summary of the bug:'''
I have a bunch of flv videos recorded with our wowza server with the same
problem:
When I try to decode the frames from beginnig to end, the
avcodec_decode_video2 skips the 2nd frame (and only that).
But if I seek back to the beginnig it will decode the second frame
properly.
'''How to reproduce:'''
Attached a simple example code and sample video demonstrating the problem.
See the asserts in line 78 and 96.
Used version:
ffmpeg version N-75147-g9d742d2 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration: --prefix='~/BUILD/ffmpeg'
libavutil 55. 1.100 / 55. 1.100
libavcodec 57. 1.100 / 57. 1.100
libavformat 57. 0.100 / 57. 0.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 1.100 / 6. 1.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4912>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list