GNOME Bugzilla – Bug 759803
shmsink: gst_allocator_alloc fail during playback
Last modified: 2018-11-03 13:44:46 UTC
When we test ... - avdec_h264 - shmsink pipeline, avdec try to alloc too many buffers(upto 32 buffers) with buffer pool even we set shm-size on shmsink. If we try to play FHD movie on our target, the operation is stopped after a while by lack of memory. We thisnk the max size of buffer pool needs to be set to avoid this issue. You can check the issue with below lauch cmd. # gst-launch-1.0 filesrc location=./s.mp4 ! qtdemux ! h264parse ! queue ! avdec_h264 ! shmsink socket-path='/tmp/mused_gst.5' wait-for-connection=false sync=true perms=0777
I am making a patch for this issue and it is about setting limitation of max-buffers of buffer pool based on the shm-size property.
(In reply to Eunhae Choi from comment #1) > I am making a patch for this issue and it is about setting limitation of > max-buffers of buffer pool based on the shm-size property. Did you ever manage to make this patch ?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/339.