[FFmpeg-trac] #3705(avcodec:open): Seeking fails for H264 file

FFmpeg trac at avcodec.org
Tue Jul 2 02:34:09 EEST 2024


#3705: Seeking fails for H264 file
--------------------------------------+-----------------------------------
             Reporter:  Aleksoid1978  |                    Owner:  (none)
                 Type:  defect        |                   Status:  open
             Priority:  normal        |                Component:  avcodec
              Version:  git-master    |               Resolution:
             Keywords:  h264          |               Blocked By:
             Blocking:                |  Reproduced by developer:  1
Analyzed by developer:  0             |
--------------------------------------+-----------------------------------
Comment (by Balling):

 There are no IDR frames in this file, and only recovery on some non-IDR
 frames. First of all this is not valid bistream: per the ITU-T H.264 specs
 7.4.1.2.2
 "A bitstream conforming to this Recommendation | International Standard
 consists of one or more coded video sequences. The first access unit of
 each coded video sequence is an IDR access unit."
 To clarify that the above applies to decoding order, not display order:
 3.64
 "The first picture of each coded video sequence in decoding order is an
 IDR picture"

 mmco: unref short failure

 is evidense of that.

 If you need to decode this file you must actually at least insert recovery
 points SEIs anywhere they are needed. Yet the file has no recovery points.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/3705#comment:16>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list