[Bug 723352] New: codecparsers_h264: Framerate estimation enhancement

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 31 02:16:31 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=723352
  GStreamer | gst-plugins-bad | git

           Summary: codecparsers_h264: Framerate estimation enhancement
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: aurelien.zanelli at parrot.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=267713)
 View: https://bugzilla.gnome.org/attachment.cgi?id=267713
 Review: https://bugzilla.gnome.org/review?bug=723352&attachment=267713

codecparsers_h264: Framerate estimation POC

When the h264 stream have VUI timing information and and the framerate is
fixed, i think we could determine the framerate using:

framerate = time_scale / num_units_in_tick / DeltaTfiDivisor / (field_pic_flag
? 2 : 1)

It requires to have already parsed SPS (VUI info), SEI Pic timing message (if
present) and a slice header.

I used E2.1 section of h264 specification, especially the
'timing_info_present_flag', 'num_units_in_tick', 'time_scale' and
'fixed_frame_rate_flag' definitions.

I attached a proof of concept, it just show how to calculate the framerate.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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