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 640950 - mpegpsdemux: duration calculation on VBR file incorrect (and thus bad seeking)
mpegpsdemux: duration calculation on VBR file incorrect (and thus bad seeking)
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-30 16:21 UTC by Omer Akram
Modified: 2018-11-03 13:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Omer Akram 2011-01-30 16:21:48 UTC
someone in launchpad is facing a problem with playing videos of variable bitrate. the length of the video is 46secs or so but sometimes totem shows it as if its a 11min video and such. attached a 15mb sample from the launchpad bug report.

https://bugs.launchpad.net/ubuntu/+source/totem/+bug/200846/+attachment/1088223/+files/VBR.zip

originally reported at: https://bugs.launchpad.net/ubuntu/+source/totem/+bug/200846
Comment 1 Vincent Penquerc'h 2011-10-03 14:48:58 UTC
I'm not sure this is all due to bitrate at all, but the file being odd.
The last SCR timestamp found in there is 1772, so a time of about 0.02 seconds.
When playback encounters a larger SCR than the last one, I could set a flag to have further operations ignore that value as wrong, but that would still not fix seeking (except maybe in the first "part" of increasing SCRs).

Though from the name, that file is apparently from a DVD, and not meant to be played "as is". It's quite possibly "bits" of streams concatenated together.
Comment 2 George Kiagiadakis 2018-05-04 09:34:33 UTC
I can reproduce this bug with that sample file, but is it really a valid use case? It's a .vob file, it's not meant to be played like that. It's also reproducible in VLC.
Comment 3 GStreamer system administrator 2018-11-03 13:07:20 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/33.