[gstreamer-bugs] [Bug 454228] [mpegdemux] problem with mark shuttleworth clip

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Mar 11 07:12:31 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=454228

  GStreamer | gst-plugins-ugly | Ver: 0.10.x

Josep Torra Valles changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |n770galaxy at gmail.com




------- Comment #5 from Josep Torra Valles  2009-03-11 14:14 UTC -------
The problem on that clip is that first PES packet have a SCR value that looks
like if it where the one that should go following the last one in the clip.

That causes wong base_time and wrong src_adjustment that is derived in a wrong
first timestamp and wrong newsegment.

The following patch privdes a workarround for this kind of issue detecting it
and skipping the offending PES packet which can be a wrong decision too.

https://core.fluendo.com/gstreamer/trac/changeset/1600/trunk/gst-fluendo-mpegdemux

It needs to be formally reviewed as I'm not sure if this is the best strategy.

With independence of the issue of this ticket, the following pair of lines
should be added in any case.

demux->scr_rate_n = demux->last_scr_offset - demux->first_scr_offset; 
demux->scr_rate_d = demux->last_scr - demux->first_scr; 

The following line cause the packet skipping, this is the most questionable
change.
demux->sink_segment.last_stop = offset; 


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=454228.




More information about the Gstreamer-bugs mailing list