[Bug 749649] New: h264parse: keyframes and header flags

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 20 10:23:06 PDT 2015


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

            Bug ID: 749649
           Summary: h264parse: keyframes and header flags
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: lists at svrinformatica.it
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Please take a look at the file here:

http://195.250.34.59/temp/734124.gdp

and use a pipeline like this:

filesrc ! gdpdepay ! h264parse ! video/x-h264,stream-format=avc,alignment=au !
fakesink silent=false

you will see that all keyframes have header flag too

fakesink0:sink) (338607 bytes, dts: 0:00:15.118625403, pts: 0:00:15.152625403,
duration: 0:00:00.033333333, offset: 7302216, offset_end: -1, flags: 00000400
header ) 0x7f47f008cb20

in h264parse, here

http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst/videoparsers/gsth264parse.c#n1878

both h264parse->keyframe and h264parse->header are true, since there is no
explicit flag for a keyframe how is supposed an app to find them? I based my
code on the one from multihandlesink

http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/gst/tcp/gstmultihandlesink.c#n1140

that will not recognize keyframes in this case

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list