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 675858 - gst-discover: Duration of the video not correctly reported
gst-discover: Duration of the video not correctly reported
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.36
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-11 05:26 UTC by Javier Jardón (IRC: jjardon)
Modified: 2012-05-15 11:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Javier Jardón (IRC: jjardon) 2012-05-11 05:26:29 UTC
Some videos report here a duration of 25:06 minutes instead the real 03:25

The video is encoded with this container/codecs:
Divx - Divx/WMA
Divx - AVC/WMA
Mpeg - mpeg2/ac3

The only combination that seems to work correctly is
MKV - AVC/WMA
Comment 1 Sebastian Dröge (slomo) 2012-05-11 08:30:40 UTC
For MPEG containers GStreamer can only create estimates of the duration based on the file size and bitrate (and discoverer might stop too early to give realistic bitrate estimates). For Divx (which is IIRC AVI) this should work as long as the duration is stored in the file...

And the same for MKV.


Could you attach/link one of the Divx sample files?
Comment 2 Javier Jardón (IRC: jjardon) 2012-05-14 02:22:23 UTC
Sure, here the file:

https://www.dropbox.com/s/o48otjx4jio6qdc/%5BDivX-AVC-WMA%5DG.NA%20-%20Top%20Girl%5D.avi
Comment 3 Sebastian Dröge (slomo) 2012-05-15 11:27:15 UTC
This looks very much like a broken file. Seeking is basically broken in all players (incl non-gst players) I've tried and every application I tested shows a duration of 25:06 minutes.