GNOME Bugzilla – Bug 558554
[avidemux] avidemux not recognizing certain uncompressed RGB fourcc's
Last modified: 2009-01-23 08:36:54 UTC
In AVI files there are certain fourcc codes that have been traditionally taken to mean uncompressed RGB (i.e. "video/x-raw-rgb"). These fourcc codes are: 'DIB ' 'RAW ' 'RGB ' 0x000000 Unfortunately the gst_riff_create_video_caps only currently recognizes 'DIB ' as an uncompressed RGB. This causes certain uncompressed AVI files (see attached example.avi) to no render properly in gstreamer using the avidemux element in gst-plugins-good. Steps to reproduce: 1) Download attached example.avi to /tmp 2) Run the following: gst-launch playbin uri=file:///tmp/example.avi Expected results: File would render properly Actual results: File does not render and returns a video/x-avi-unknown codec error.
Created attachment 121664 [details] [review] Patch for uncompressed RGB support This patch, along with the patch for Bug 558553 will add support for more types of uncompressed RGB avi files.
Patch by: Nick Haddad <nick at haddads dot net> * gst/avi/gstavidemux.c: (gst_avi_demux_is_uncompressed), (gst_avi_demux_invert), (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data): Invert other uncompressed RGB formats. Fixes #558554.