[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


https://bugzilla.libav.org/show_bug.cgi?id=628

           Summary: avcodec_decode_video2: extra information when decoding
                    frames
           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
v9.10.

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:

https://bugzilla.gnome.org/show_bug.cgi?id=722288
https://bugzilla.gnome.org/show_bug.cgi?id=722290

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
decode_error_flags:

http://ffmpeg.org/doxygen/trunk/structAVFrame.html#a3dd46fd353a405f6e9b91c11d9c5b736

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