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 728128 - glimagesink: swapped UV on OS X with avdec_h264
glimagesink: swapped UV on OS X with avdec_h264
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Mac OS
: Normal normal
: 1.3.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-13 19:10 UTC by Robert Swain
Modified: 2014-05-01 05:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Robert Swain 2014-04-13 19:10:50 UTC
On Mac OS X, with an High Profile H264 file the following was observed:

gst-launch-1.0 filesrc location=/path/to/high_profile_h264.mp4 ! qtdemux ! h264parse ! avdec_h264 ! videoconvert ! osxvideosink

The above looks fine.

gst-launch-1.0 filesrc location=/path/to/high_profile_h264.mp4 ! qtdemux ! h264parse ! avdec_h264 ! glimagesink

The above has UV planes swapped.

I tried another H264 file that was not high profile and that looked OK so I'm suspecting high profile could be the differentiator. Not certain though.
Comment 1 Robert Swain 2014-04-13 19:23:59 UTC
Hmm, I tested encoding to baseline and high profile H264 using x264enc from videotestsrc but both of those files seem to play fine. I can't provide a sample unfortunately. It could be file-specific. I'll keep an eye out and see if I spot the issue again with other files and spot some pattern.
Comment 2 Julien Isorce 2014-04-14 18:48:34 UTC
avdec_h264 output the same video format in both cases ?  same caps ? I wonder if this is something related to colorimetry: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/gst-libs/gst/gl?id=6d452f60eeb42c5f1e8450fe4460a2fea0694dad
Comment 3 Robert Swain 2014-04-14 18:51:15 UTC
I checked with the same file and the vtdec decoder for OS X and that showed the same symptoms.
Comment 5 Robert Swain 2014-05-01 05:07:08 UTC
I haven't had time to check if just that specific commit fixed it, but it is indeed fixed in master now. I think this can be closed.