[Bug 761637] New: qtmux: handle file with wrong color_table_id values

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Feb 6 13:47:05 UTC 2016


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

            Bug ID: 761637
           Summary: qtmux: handle file with wrong color_table_id values
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: matej.knopp at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 320545
  --> https://bugzilla.gnome.org/attachment.cgi?id=320545&action=edit
Patch to check if color table is actually present

I got my hands on a file created by TPMGEnc that has color_table_id = 0, but no
actual color table. While this violates the specification, there are obviously
files like this out there and no other player chokes on them, so gstreamer
should be able to handle them as well.

Sample file
http://s3.amazonaws.com/MatejK/Samples/invalid-color-table-id.mp4

Specification

Color table ID
A 16-bit integer that identifies which color table to use. If this field is set
to –1, the default color table should be used for the specified depth. For all
depths below 16 bits per pixel, this indicates a standard Macintosh color table
for the specified depth. Depths of 16, 24, and 32 have no color table.

If the color table ID is set to 0, a color table is contained within the sample
description itself. The color table immediately follows the color table ID
field in the sample description. See Color Table Atoms for a complete
description of a color table.

https://developer.apple.com/library/mac/documentation/QuickTime/QTFF/QTFFChap3/qtff3.html

-- 
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