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 623530 - Stripy pattern with videotestsrc ! ffmpegcolorspace ! ximagesink
Stripy pattern with videotestsrc ! ffmpegcolorspace ! ximagesink
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal blocker
: 0.10.30
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-04 14:57 UTC by Tim-Philipp Müller
Modified: 2010-07-04 15:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ffmpegcolorspace: Use correct Y offset for the YUY2 -> RGB conversions (951 bytes, patch)
2010-07-04 15:26 UTC, Sebastian Dröge (slomo)
committed Details | Review
ffmpegcolorspace: Use correct Y offset for YVYU -> RGB conversions (950 bytes, patch)
2010-07-04 15:27 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Tim-Philipp Müller 2010-07-04 14:57:51 UTC
According to git bisect, this commit:

 commit cff70878b66a980037868d72ca0e0fb9e9b52397
 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
 Date:   Thu Jun 17 17:07:39 2010 +0200

    ffmpegcolorspace: Add YUY2/YVYU to all RGB formats conversions

Introduced problems (stripy pattern, like every second pixel or so) when running:

   gst-launch-0.10 videotestsrc ! ffmpegcolorspace ! ximagesink

Strangely enough this disappears when the window is resized.
Comment 1 Tim-Philipp Müller 2010-07-04 15:10:56 UTC
Initially videotestsrc negotiates to YUY2 (bug!?), with ffmpegcolorspace converting to RGB for ximagsink. But once we resize the window, the pipeline gets renegotiated properly and videotestsrc outputs RGB as it should've done from the start.
Comment 2 Sebastian Dröge (slomo) 2010-07-04 15:26:31 UTC
Created attachment 165226 [details] [review]
ffmpegcolorspace: Use correct Y offset for the YUY2 -> RGB conversions

Fixes bug #623530.
Comment 3 Sebastian Dröge (slomo) 2010-07-04 15:27:45 UTC
Created attachment 165227 [details] [review]
ffmpegcolorspace: Use correct Y offset for YVYU -> RGB conversions

Fixes bug #623530.
Comment 4 Tim-Philipp Müller 2010-07-04 15:39:00 UTC
Thanks, please commit.
Comment 5 Sebastian Dröge (slomo) 2010-07-04 15:40:33 UTC
commit 6e9deae749a32f5654cc2b62445da0ab8b74cf73
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Sun Jul 4 17:27:25 2010 +0200

    ffmpegcolorspace: Use correct Y offset for YVYU -> RGB conversions
    
    Fixes bug #623530.