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 684355 - Unable to handle videos with odd width correctly
Unable to handle videos with odd width correctly
Status: RESOLVED OBSOLETE
Product: clutter-gst
Classification: Other
Component: general
git master
Other Linux
: Normal major
: ---
Assigned To: clutter-gst-maint
clutter-gst-maint
Depends on:
Blocks:
 
 
Reported: 2012-09-19 07:47 UTC by Sebastian Dröge (slomo)
Modified: 2021-05-25 17:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2012-09-19 07:47:05 UTC
Video created with: gst-launch-0.10 videotestsrc num-buffers=100 ! "video/x-raw-yuv,width=321,height=241" ! ffenc_mpeg4 ! mpeg4videoparse ! mp4mux ! filesink location=test-odd.mp4

Looks completely broken in latest GStreamer 0.10 release and git master, looks like using the wrong rowstride.
Comment 1 Edward Hervey 2012-09-19 09:04:07 UTC
This commit fixes it for master (i.e. gst 1.0)
http://cgit.freedesktop.org/~bilboed/clutter-gst/commit/?id=b8c0601b077eea62b14d26e55816f6e4c8290fff

It depends on all other patches before it
Comment 2 Damien Lespiau 2012-09-25 22:56:52 UTC
Fixed in master (gstreamer 1.0) at least, not in the 1.6 branch (gstreamer 0.10) yet.
Comment 3 Sebastian Dröge (slomo) 2012-09-26 06:53:55 UTC
Note that there is a general problem with strides in clutter-gst (well, caused by cogl). Only strides that are rounded up to a integer multiple of width*bpp are supported here, not arbitrary strides (e.g. 16kb stride always, independent of width).
Comment 4 Sebastian Dröge (slomo) 2013-07-17 13:14:55 UTC
Ping?
Comment 5 Lionel Landwerlin 2013-11-19 17:35:34 UTC
Hi Sebastian, could indicate the command to generate the video with Gstreamer 1.0?
I'm failing to find the correct syntax :/
Comment 6 Sebastian Dröge (slomo) 2014-01-03 10:18:45 UTC
There's no way with gst-launch to generate a stream with arbitrary strides currently. You'll have to write some code to do that.

Or what do you want to do?
Comment 7 Lionel Landwerlin 2014-01-03 12:15:08 UTC
I managed to create a video with this : gst-launch-1.0 videotestsrc num-buffers=1000 ! "video/x-raw,width=321,height=241" ! avenc_mpeg4 ! mpeg4videoparse ! mp4mux ! filesink location=test-odd.mp4

Should that be enough to reproduce the problem?
Or do I need something more specific?
Comment 8 Sebastian Dröge (slomo) 2014-01-03 12:52:40 UTC
Does it reproduce the problem? If it does the fix that Edward mentioned in comment 2 does not work.

The problem I mention in comment 3 is not reproducible that easily as you can't produce arbitrary strides with videotestsrc. Would need some simple code around an appsrc that uses a stride that is much larger than width*bpp.
Comment 9 Bastien Nocera 2014-01-07 07:29:57 UTC
Sebastian, any chance you could provide a simple test case for this?
Comment 10 André Klapper 2021-05-25 17:32:39 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new enhancement request ticket at
  https://gitlab.gnome.org/GNOME/clutter-gst/-/issues/

Thank you for your understanding and your help.