[gstreamer-bugs] [Bug 550472] [mpegtsdemux] Fails to demux video/mpeg, mpegversion=4 streams

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Dec 5 03:49:38 PST 2009


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

--- Comment #11 from vanista <vanista at gmail.com> 2009-12-05 11:49:34 UTC ---
If ffdec_mpeg4 doesn't parse the stream and the demux doesn't push complete
payloads there's no way it can work. Furthermore, the current implementation of
the demux which pushes data as soon as it's available is not very good. This
creates a lot of traffic of GstBuffers of <= 182 bytes and doesn't allow basic
error correction by sequence number validation. Since most of FFMPEG's decoders
are not robust to data corruption there's higher chances of crash.

One way to improve this is to accumulate data on a given PID until a new PUSI
flag is found and then push a complete PES payload in a single GstBuffer. If
there is a gap in sequence numbers, the whole payload should be dropped. It's
way more efficient this way and each outgoing GstBuffer gets a valid timestamp.

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