Pipeline grows with memory usage overtime

Alex Bolotin alexbolotsin at gmail.com
Mon Apr 18 15:17:17 UTC 2016


Forgot to mention my environment - Ubuntu Server 14.04.3, GST 1.6.2,
libx264 version - 148.

2016-04-18 16:40 GMT+03:00 Alex Bolotin <alexbolotsin at gmail.com>:

> Hi,
>
> I have an issue with a encoding pipeline. When I'm using x264enc with time
> flowing it consumes more memory. It grows like to 20% of original amount.
>
> This is original amount -
> [image: Встроенное изображение 1]
>
> and this is the result
> [image: Встроенное изображение 2]
>
> I have such pipeline -
>         uridecodebin name=uridecodebin0
>         souphttpsrc name=source
>         typefind name=typefindelement0
>         decodebin name=decodebin0
>         typefind name=typefind
>         hlsdemux name=hlsdemux0
>         multiqueue name=multiqueue0
>         tsdemux name=tsdemux0
>         multiqueue name=multiqueue1
>         h264parse name=h264parse0
>         capsfilter name=capsfilter0
>         aacparse name=aacparse0
>         avdec_h264 name=avdec_h264-0
>         avdec_aac name=avdec_aac0
>         videoconvert name=videoconvert0
>         x264enc name=x264enc0
>         audioconvert name=audioconvert0
>         faac name=faac0
>         flvmux name=flvmux0
>         rtmpsink name=rtmpsink0
>
> with this preset
>
> width=1280
> height=720
> framerate=25
> video_codec=x264enc
> video_bitrate=1700
> audio_codec=aac
> audio_bitrate=128
> deinterlace
> x264enc.speed-preset=4
> x264enc.pass=0
> x264enc.quantizer=10
> x264enc.threads=5
> avdec_h264.max-threads=10
> x264enc.rc-lookahead=10
> x264enc.tune=2
>
> I have another encoder and memory consumption doesn't grow with it.
>
> What it could be in this case? Is there something I can dig into for a
> problem?
>
> Thx,
> AlexBhpp.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160418/2bc01df3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 58882 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160418/2bc01df3/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_3.png
Type: image/png
Size: 123992 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160418/2bc01df3/attachment-0003.png>


More information about the gstreamer-devel mailing list