[Bug 736965] segfault in shmsrc ! matroskademux ! videoconvert
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Dec 8 05:00:22 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=736965
GStreamer | gst-plugins-bad | 1.4.1
--- Comment #2 from Jan Alexander Steffens (heftig) <jan.steffens at gmail.com> 2014-12-08 13:00:17 UTC ---
Seems to be a problem with matroskademux not creating aligned video buffers if
it is pushed a whole frame in a single buffer. Tested using the following
setup:
Create a test file:
gst-launch-1.0 videotestsrc num-buffers=100 ! video/x-raw,format=I420 !
matroskamux ! filesink location=foo.mkv
With a small blocksize matroskademux creates perfectly sized and aligned
buffers and everything is fine:
GST_DEBUG="GST_MEMORY:LOG" gst-launch-1.0 pushfilesrc
real-filesrc::blocksize=4096 real-filesrc::location=foo.mkv ! matroskademux !
videoconvert ! video/x-raw,format=UYVY ! fakesink
gstmemory.c:137:gst_memory_init: new memory 0x13ff640, maxsize:115208 offset:0
size:115208
With a blocksize large enough to capture an entire frame, matroskademux creates
buffers using unaligned child memory and videoconvert crashes:
GST_DEBUG="GST_MEMORY:LOG" gst-launch-1.0 pushfilesrc
real-filesrc::blocksize=256000 real-filesrc::location=foo.mkv ! matroskademux !
videoconvert ! video/x-raw,format=UYVY ! fakesink
gstmemory.c:137:gst_memory_init: new memory 0x7fd5ac0061c0, maxsize:256007
offset:437 size:115200
--
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