GNOME Bugzilla – Bug 683861
1.0 - deinterlace plugin not working properly
Last modified: 2012-09-12 11:30:52 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
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.
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