After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 635354 - [mpegpesfilter] wrong timestamp if pts + dts + pes extension
[mpegpesfilter] wrong timestamp if pts + dts + pes extension
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-11-20 16:19 UTC by Oleksij Rempel
Modified: 2015-07-23 18:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mpeg.diff (502 bytes, patch)
2010-11-20 18:09 UTC, Oleksij Rempel
needs-work Details | Review

Description Oleksij Rempel 2010-11-20 16:19:25 UTC
I debuging problem with some videos i have, if i try to transcode it i get some times async audio. I found some my streams have wrong time stamps. The reason for this seems to be wrong filter, it looks like this:
0:00:01.138444444 <-- pts
0:00:01.298444444 <-- pts + dts + PES_extension(0x1e)
0:00:01.218444444 <-- pts

header_data_length: 13, flags 0xc1
PTS found 73660
DTS found 62860
e0 PES_extension, flags 0x1e
e0 P-STD_buffer_flag
Comment 1 Oleksij Rempel 2010-11-20 18:09:56 UTC
Created attachment 174921 [details] [review]
mpeg.diff

Not sure if it brake some thing, but it do not push wrong timestamps. And it do not solve my problem too :/
Comment 2 Sebastian Dröge (slomo) 2011-05-26 07:52:01 UTC
So what's the status of this bug? Is this still a problem with the latest releases or do you have a working patch now? Or an idea why exactly this goes wrong?
Comment 3 Oleksij Rempel 2011-05-26 08:35:07 UTC
I'm currently i hospital. Will test it ASUP.
Comment 4 Fabio Durán Verdugo 2011-07-12 04:02:48 UTC
Alexey: any news?
Comment 5 Oleksij Rempel 2011-07-12 12:28:07 UTC
I still have this issue with some files. Still can't find what exactly is the cause of this. I assume there is some thing with synchronization. If i use tracks separate of each other then every thing is ok.
Comment 6 Akhil Laddha 2011-10-21 07:10:36 UTC
Alexey, what's the gstreamer version do you have ?
Comment 7 Oleksij Rempel 2011-10-21 08:02:49 UTC
Hi,
mostly i use updated git. Like now.
The problem is fallowing, decoding of some files will stall i demuxe more than one muxed stream from one file.
My primer target is vp8, so i just recode every thing i see to webm/vp8. As workaround i decode streams separately and than mux it together.

to reproduce you can use:
gst-launch -v filesrc location=stream.dump ! mpegpsdemux name=d d.video_e0 ! queue ! fakesink d.audio_80 ! queue ! fakesink

this particular example was made on streamdumo from some dvd. Some time with some file it will stall.
Comment 8 Oleksij Rempel 2011-10-21 08:11:22 UTC
Forgot to say, git version of 0.10
Comment 9 Tim-Philipp Müller 2013-01-04 12:44:23 UTC
Could you provide a stream.dump that happens with?
Comment 10 Oleksij Rempel 2013-02-07 10:13:37 UTC
currently i didn't had big sync issues, but it looks like this patch will find "(filter->pts != -1) && (filter->dts != -1)" in every file i have, at least two times. Do you still need one? you can get one by mplayer dvdnav://1 -dumpstrem
Comment 11 Tim-Philipp Müller 2015-07-23 18:08:54 UTC
Let's close this, there has been no activity for more than 2 years and it's 0.10 related, and there's no actionable info her really.

I have tried

gst-launch-1.0 dvdreadsrc device=/dvds/Foo/VIDEO_TS/ ! mpegpsdemux name=d d.video_e0 ! queue ! fakesink d.audio_80 ! queue ! progressreport ! fakesink

and it doesn't stall.

If you still have problems with recent 1.x versions, please file a new bug or re-open this bug with a stream dump file and a way to reproduce the issue, thanks!