[Bug 734606] New: gst_video_frame_map_id: assertion 'GST_IS_BUFFER (buffer)' failed and a memory usage (leak?) issue
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Aug 11 03:46:50 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=734606
GStreamer | gstreamer (core) | 1.x
Summary: gst_video_frame_map_id: assertion 'GST_IS_BUFFER
(buffer)' failed and a memory usage (leak?) issue
Classification: Platform
Product: GStreamer
Version: 1.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: bugzilla at thestack.de
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=283075)
--> (https://bugzilla.gnome.org/attachment.cgi?id=283075)
test program
I'm trying to get video frames as raw RGB data. Method 1 (using gdkpixbufsink)
works but when the the pixel data is being read in any way the program eats
about 400MB RAM per second! So after processing a few minutes of video the
memory is full and the program SEGFAULTs.
Method 2 (using appsink callbacks) doesn't work either. Decoding PNG's did work
that way but if I provide a video file as input source the program quits after
a few video frames with this messages:
--------------------------------------------------------------------------------
** (test:4514): CRITICAL **: gst_video_frame_map_id: assertion 'GST_IS_BUFFER
(buffer)' failed
Warning: could not copy metadata
Warning: Internal GStreamer error: code not implemented. Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
(test:4514): GStreamer-CRITICAL **: gst_pad_push: assertion 'GST_IS_BUFFER
(buffer)' failed
Error: Internal data stream error.
--------------------------------------------------------------------------------
Maybe I'm doing something wrong?
Please take a look at the program attached. You can switch between the two
issues by commenting in/out the "#define BUG2" line at the top of the file.
Please note the fixed video format of the input file and edit it if your video
input source has a different format.
Tested on Windows with gstreamer 1.4.0 and Linux gstreamer 1.2.0 with equal
results.
--
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