[Bug 672701] mpegvideoparse: high cpu usage breaks playback of mpeg2 video in mkv on dreambox
bugzilla at gnome.org
Mon May 21 09:39:17 PDT 2012
GStreamer | gst-plugins-bad | 0.10.23
--- Comment #10 from Mark Nauwelaerts <mnauw at users.sourceforge.net> 2012-05-21 16:39:12 UTC ---
The problem seems due to the codec parsing lib here.
In the mpeg4 case the codec parser allows scanning from one start code to the
next and is used as such by the parser element, which retains full state
control that way (and similarly so for h264).
In the mpeg2 case the codec parser wants to parse it all and return a list of
start code position. One possible problem is that it scans more than needed.
The patch tries to prevent this by tracking some state in the codec parsing lib
scan, but that is only possible if the data is always provided (to the lib)
from the frame's start (otherwise it will not manage to track state properly).
However, that too is inefficient since that means always scanning from the
So, IMO, the mpeg1/2 codec lib should preferably be adjusted more in line with
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