[Bug 723849] New: matroska: add support for GRAY8, BGR and RGB video colourspaces in V_UNCOMPRESSED codec
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Feb 7 05:16:14 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=723849
GStreamer | gst-plugins-good | git
Summary: matroska: add support for GRAY8, BGR and RGB video
colourspaces in V_UNCOMPRESSED codec
Classification: Platform
Product: GStreamer
Version: git
OS/Version: All
Status: UNCONFIRMED
Severity: enhancement
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: vhdirk at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=268404)
View: https://bugzilla.gnome.org/attachment.cgi?id=268404
Review: https://bugzilla.gnome.org/review?bug=723849&attachment=268404
Proposed patch
Following the matroska specification, there is support for raw frames by using
the V_UNCOMPRESSED codec.
The patch attached adds support for GRAY8, BGR and RGB colourspaces.
According to the specification
(http://matroska.org/technical/specs/index.html), all details about the used
colour space are to be put in the header's ColourSpace field, and it should
have the same value as in AVI.
For GRAY8 data, this is trivial, but for BGR/RGB less so, as the fourcc value
for BGR/RGB is 0. Therefore, the fourcc codes used in this patch originate from
what is used in MPlayer
(http://orion.lcg.ufrj.br/RPMS/src/mplayer/mplayer/vidix/fourcc.h)
There is currently no other player that supports raw GRAY8/BGR/RGB data in
matroska, though it is perfectly 'legal' according to the spec. Still, the
timestamp information with every frame is a big advantage in using matroska
over avi.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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