[libav-bugs] [Bug 628] New: avcodec_decode_video2: extra information when decoding frames

bugzilla at libav.org bugzilla at libav.org
Wed Jan 15 21:45:18 CET 2014


           Summary: avcodec_decode_video2: extra information when decoding
           Product: Libav
           Version: 9
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: libavcodec
        AssignedTo: bugzilla at libav.org
        ReportedBy: aleix at oblong.com

I'm a GStreamer user. Using GStreamer 1.2.2 and gst-libav which contains libav

Recently, I have been trying to workaround an issue with p-frames that arrive
before any i-frame.

Basically, the idea is to mark gstreamer buffers with some flag in order to
know if those buffers were decoded even no key frame was found before. For a
bit more information see:


I couldn't find any information returned by avcodec_decode_video2 that would
let me know this.

I took a look at ffmpeg API and found the new AVFrame member


Unfortunately, I am not familiar with libav or ffmpeg code so I really don't
know if these flags would be useful for my purposes.

In any case, it would be nice to have such a feature.

Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the libav-bugs mailing list