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 683861 - 1.0 - deinterlace plugin not working properly
1.0 - deinterlace plugin not working properly
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-12 09:49 UTC by Christian Fredrik Kalager Schaller
Modified: 2012-09-12 11:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GST_DEBUG=deinterlace:6 log (26.11 KB, text/x-log)
2012-09-12 09:49 UTC, Christian Fredrik Kalager Schaller
Details

Description Christian Fredrik Kalager Schaller 2012-09-12 09:49:59 UTC
Created attachment 224088 [details]
GST_DEBUG=deinterlace:6 log

Trying to convert a file from MKV to Ogg using GStreamer I get an error message from the deinterlace element. As far as I know the input file is not even interlaced, so the element should just work in passthrough mode. The error is:
0:00:06.164255166 32750 0x7ff5c0017a80 ERROR            deinterlace gstdeinterlace.c:2250:gst_deinterlace_getcaps:<deinterlace0:sink> Unable to transform peer caps

Here is a png of the pipeline:
http://www.linuxrising.org/files/misc/deinterlacefailingpeercaps.png

Attached GST_DEBUG log GST_DEBUG=deinterlace:6 log
Comment 1 Wim Taymans 2012-09-12 10:51:27 UTC
the reason is that theoraenc has a framerate of:

[ 1/2147483647, 2147483647/1 ] and deinterlace can't half the min value when transforming the framerate.
Comment 2 Wim Taymans 2012-09-12 11:30:52 UTC
commit 1c64a91a507276ada4d414ea41bb0c483eeadbdb
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Wed Sep 12 13:28:07 2012 +0200

    deinterlace: improve framerate transform
    
    Handle G_MAXINT in the framerates better. If we cannot double or divide the
    framerate, clamp to the smallest/largest possible value we can express instead
    of failing.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683861