GNOME Bugzilla – Bug 675858
gst-discover: Duration of the video not correctly reported
Last modified: 2012-05-15 11:36:58 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
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?
Sure, here the file: https://www.dropbox.com/s/o48otjx4jio6qdc/%5BDivX-AVC-WMA%5DG.NA%20-%20Top%20Girl%5D.avi
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.