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 618392 - [avi-demux] Gstreamer does not support 1x1 or 1xN avi files
[avi-demux] Gstreamer does not support 1x1 or 1xN avi files
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other Linux
: Normal normal
: 0.10.30
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-11 18:51 UTC by Nick Haddad
Modified: 2010-05-13 16:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
1x1 Motion JPEG encoded file (142.37 KB, video/x-msvideo)
2010-05-11 18:51 UTC, Nick Haddad
Details
one by one uncompressed file (68.54 KB, video/x-msvideo)
2010-05-11 18:52 UTC, Nick Haddad
Details

Description Nick Haddad 2010-05-11 18:51:57 UTC
Created attachment 160846 [details]
1x1 Motion JPEG encoded file

Currently the avi demux element supports a minimum width/height of 16x16 pixels.  

This leaves gtreamer unable to open some very small files (those for intensity measurement or line scan applications).

Attached are two .avi files that are 1x1,  one compressed with motion jpeg, and the other uncompressed. Both of these play fine in Windows Media Player, Quicktime player, and VLC, but are not playable in gstreamer based applications (Totem, etc).
Comment 1 Nick Haddad 2010-05-11 18:52:22 UTC
Created attachment 160848 [details]
one by one uncompressed file
Comment 2 Wim Taymans 2010-05-13 10:08:30 UTC
This commit removes the limitation in avidemux:

commit 9696af170f052e2714f556b9ce44cb4b6837ecca
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Thu May 13 12:03:07 2010 +0200

    riff: relax width and height constraints
    
    Increase the acceptable video sizes from [16,4096] to [1, MAX].
    
    See #618392


The remaining problem is now in jpegdec and my X server, which does not seem to want to allocate a 1x1 image. Also VLC does not play any of those files for me either (X server allocation error)
Comment 3 Wim Taymans 2010-05-13 10:20:22 UTC
with ximagesink it now works fine for the compressed and uncompressed file after this patch:

commit 3cfd7968b453f3a5a97ba43a392ef22acbf9c327
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Thu May 13 12:16:59 2010 +0200

    jpegdec: increase acceptable output sizes
    
    We can perfectly decode 1x1 images so lower the min width and height to 1.
    
    Fixes #618392