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 681535 - Avidemux playback rate broken
Avidemux playback rate broken
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal blocker
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-08-09 16:38 UTC by Jean-François Fortin Tam
Modified: 2012-09-24 18:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2012-08-09 16:38:12 UTC
http://jeff.ecchi.ca/public/gstreamer-674151-full.avi does not playback at a normal rate with GStreamer 1.0 (built from master yesterday), it used to work with 0.10.36.
Comment 1 Jean-François Fortin Tam 2012-08-09 23:34:38 UTC
Whatsmore, the files return some incorrect metadata after discovery

In python, if you do:   stream.get_par_num() / stream.get_par_denom()
You'll get a "ZeroDivisionError: long division or modulo by zero". Yet, a Pixel Aspect Ratio denominator of 0 does not make sense.
Comment 2 Wim Taymans 2012-08-13 09:01:47 UTC
commit a9f46ed05918bd134692026d10c4e6d976c13ca9
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Mon Aug 13 10:57:57 2012 +0200

    mpegvideoparse: only apply repeat count when set
    
    When there is no extension header, the repeat_count variable is left to 0 and
    then the duration on the output buffers is calculated wrongly. Because the
    duration is used to interpolate output timestamps, the output timestamps are
    also wrong, causing bad framerates.
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=681535
Comment 3 Wim Taymans 2012-08-13 09:29:09 UTC
commit e6b606cfa3e14a20a3473b51b6fd6037daea335a
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Mon Aug 13 11:27:47 2012 +0200

    discovere: also parse encoded formats
    
    The video library can now also parse encoded formats so use this to fill up the
    width/height and other properties.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681535
Comment 4 Jean-François Fortin Tam 2012-08-15 13:56:02 UTC
Hi Wim, thanks for the fix!
However I'm unable to verify it due to bug #681015