AnsweredAssumed Answered

HD videos cost lots of memory  in Gstreamer

Question asked by Neo hong on Jul 26, 2015
Latest reply on Jul 30, 2015 by Neo hong

Hi, community

I use the playbin of gstreamer to play a local video file(Video:1080p/mp4/size:446MB CMD:gst-launch playbin uri=file:///home/USB/xxx.mp4 ).


I find that used memory keeps increasing while playing the videos result in that other process cannot obtain enough memory.

And more ,I found someone has the same issue in community with me and they often take following measures :

echo 1 >/proc/sys/vm/drop_caches .

We have tried to clean the caches but it happed core dumped sometimes when play the same video .

How can We stipulate the size of memory for when gstreamer need a lot memory when playbin plays 1080p video smoothly?

※Environment:

CPU:  imx6d

DDR: 1024MB

Gstreamer Version:

gst1.0-fsl-plugins-4.0.2

 

gstreamer1.2.3

gst-plugins-base-1.2.3

Outcomes