[Bug 766236] rtp j2k payload/depayload messes up colours in sample pattern

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat May 14 16:24:41 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=766236

--- Comment #15 from boxerab at gmail.com <boxerab at gmail.com> ---
The stream contains the following information in the main header:

1) subsampling specification
2) whether J2K multi component transform (MCT) was performed or not

MCT is the J2K transform from RGB to YUV.  So, if MCT == 0, then we
can assume (I think) that the space is YUV.  

Combining these two fields, we can deduce the colour space.

But, I would need to set the video caps after I start reading the stream.
How would I do that?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list