[Bug 694299] crash in put_pixels16_sse2() with SVQ1 video

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 18 03:27:46 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=694299
  GStreamer | gst-libav | unspecified

--- Comment #21 from Arnaud Vrac <rawoul at gmail.com> 2013-07-18 10:27:39 UTC ---
The new offsets do match the libav values, so I'm not sure why some other
codecs crash now.

Here are some examples:

* h264 yuv420p, 848x480 video:

libav:
frame 848x480
aligned 848x482 stride align 16-16-16
with edge 880x514
strides for width 880: 880-440-440
strides for width 896: 896-448-448
data[0] = 0         size=460544
data[1] = 460544    size=115136
data[2] = 575680    size=115136

gstlibav:
<avdec_h264-0> aligned dimension 848x480 -> 880x514 padding t:0 l:0 r:32 b:34,
stride_align 15:15:15:15
gst_buffer_add_video_meta_full: plane 0, offset 0, stride 896
gst_buffer_add_video_meta_full: plane 1, offset 460544, stride 448
gst_buffer_add_video_meta_full: plane 2, offset 575680, stride 448

* mpeg4, yuv420p, 640x480 video:

libav:
frame 640x480
aligned 640x480 stride align 16-16-16
with edge 672x512
strides for width 672: 672-336-336
data[0] = 0         size=344064
data[1] = 344064    size=86016
data[2] = 430080    size=86016

gstlibav:
<avdec_mpeg4-0> aligned dimension 640x480 -> 672x512 padding t:0 l:0 r:32 b:32,
stride_align 15:15:15:15
gst_buffer_add_video_meta_full: plane 0, offset 0, stride 672
gst_buffer_add_video_meta_full: plane 1, offset 344064, stride 336
gst_buffer_add_video_meta_full: plane 2, offset 430080, stride 336

* svq1, yuv410p, 320x240 video:

libav:
frame 320x240
aligned 320x256 stride align 16-16-16
with edge 352x288
strides for width 352: 352-88-88
strides for width 384: 384-96-96
data[0] = 0         size=110592
data[1] = 110592    size=6912
data[2] = 117504    size=6912

gstlibav:
<avdec_svq1-0> aligned dimension 320x240 -> 352x288 padding t:0 l:0 r:32 b:48,
stride_align 15:15:15:15
gst_buffer_add_video_meta_full: plane 0, offset 0, stride 384
gst_buffer_add_video_meta_full: plane 1, offset 110592, stride 96
gst_buffer_add_video_meta_full: plane 2, offset 117504, stride 96

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list