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 558554 - [avidemux] avidemux not recognizing certain uncompressed RGB fourcc's
[avidemux] avidemux not recognizing certain uncompressed RGB fourcc's
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Mac OS
: Normal normal
: 0.10.14
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on: 558553
Blocks:
 
 
Reported: 2008-10-30 15:57 UTC by Nick Haddad
Modified: 2009-01-23 08:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for uncompressed RGB support (2.00 KB, patch)
2008-10-30 15:58 UTC, Nick Haddad
committed Details | Review

Description Nick Haddad 2008-10-30 15:57:47 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.
Comment 1 Nick Haddad 2008-10-30 15:58:45 UTC
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.
Comment 2 Wim Taymans 2008-10-31 10:00:31 UTC
        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.