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 759803 - shmsink: gst_allocator_alloc fail during playback
shmsink: gst_allocator_alloc fail during playback
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-12-23 12:37 UTC by Eunhae Choi
Modified: 2018-11-03 13:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eunhae Choi 2015-12-23 12:37:45 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
Comment 1 Eunhae Choi 2015-12-23 12:48:26 UTC
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.
Comment 2 Olivier Crête 2017-12-19 22:45:30 UTC
(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 ?
Comment 3 GStreamer system administrator 2018-11-03 13:44:46 UTC
-- 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.