GNOME Bugzilla – Bug 706823
videoconvert: generic conversion produces artifacts
Last modified: 2013-09-18 16:48:44 UTC
Generic format conversion (that isn't handled by fast path) seems to produce artifacts. command to reproduce: gst-launch-1.0 videotestsrc ! video/x-raw, format=I420 ! videoconvert ! video/x-raw, format=YV12 ! videoconvert ! autovideosink on related note, is there a reason why there is fast path for I420 but not YV12?
Because nobody added one (although it would be trivial) :) I can confirm this here, interesting pattern.
Something is wrong with the chroma subsampling and how it picks the lines, it somehow reorders them.
commit 10b3b88e9cc414fd8fce6f1545b55f43c28d0396 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Tue Sep 3 15:42:44 2013 +0200 videoconvert: fix handling of chroma resample Increase the number of temporary lines that we need, it is possible that the up and downsampling offsets are out of phase and that we need to keep some extra lines around. Also copy the unhandled output lines for the next round instead of overwriting them. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=706823
Nice :)