GNOME Bugzilla – Bug 652288
[avidemux] 24-bit rgb data has wrong stride
Last modified: 2011-11-09 11:48:20 UTC
Reproduction Steps ------------------- 1) Download the attached avi file (myDebugOutput.avi) to /tmp 2) Run the following from the command line gst-launch-0.10 playbin uri=file:///tmp/myDebugOutput.avi OR gst-launch-0.10 playbin2 uri=file:///tmp/myDebugOutput.avi Notice the images in the file are skewed (see attached outputSkewed.jpg). The real image should look like the attached outputNormal.jpg). This issue is also apparent in Totem and MATLAB, both of which use gstreamer.
Created attachment 189627 [details] AVI File with skewed output
Created attachment 189628 [details] Expected Output Video Frame
Created attachment 189629 [details] Actual Output Video Frame
What did you use to create this file? It appears to be creating incorrect AVI files. (Which is not surprising, since AVI isn't very well documented.)
I'm not sure what tool was used to create this file (it came from a customer of ours). I opened this in gspot (see attached gspot.png) and several other AVI tools and the header looks like a properly formed OpenDML AVI file. Is there something specific in the headers, frame index, or frame entries that makes you think the file is invalid? Thanks!
Created attachment 189822 [details] Gspot Output Screenshot
Created attachment 201011 [details] [review] avidemux: fix wrong stride when inverting uncompressed video Such frames have a stride multiple of 4, see http://lscube.org/pipermail/ffmpeg-issues/2010-April/010247.html. This showed up on a sample using a odd width of 24 bit video.
Comment on attachment 201011 [details] [review] avidemux: fix wrong stride when inverting uncompressed video Makes sense, and also seems to work for the sample from Bug #132341, I'd say let's put it in.
I'm more and more certain that some bugzilla mail falls through the cracks. I've not received your last comment here, and only saw it when I came back to push the fix :/ commit f4506d51815e05125f1625071de6a5e6a9f8908f Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> Date: Tue Nov 8 15:35:26 2011 +0000 avidemux: fix wrong stride when inverting uncompressed video Such frames have a stride multiple of 4, see http://lscube.org/pipermail/ffmpeg-issues/2010-April/010247.html. This showed up on a sample using a odd width of 24 bit video. https://bugzilla.gnome.org/show_bug.cgi?id=652288