<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>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.<br><br></div><div>This is original amount -<br></div><img alt="Встроенное изображение 1" src="cid:ii_1542994b44202773" height="298" width="530"><br><br></div>and this is the result<br><img alt="Встроенное изображение 2" src="cid:ii_15429959440ad3c2" height="129" width="530"><br><br></div>I have such pipeline -<br>        uridecodebin name=uridecodebin0<br>        souphttpsrc name=source<br>        typefind name=typefindelement0<br>        decodebin name=decodebin0<br>        typefind name=typefind<br>        hlsdemux name=hlsdemux0<br>        multiqueue name=multiqueue0<br>        tsdemux name=tsdemux0<br>        multiqueue name=multiqueue1<br>        h264parse name=h264parse0<br>        capsfilter name=capsfilter0<br>        aacparse name=aacparse0<br>        avdec_h264 name=avdec_h264-0<br>        avdec_aac name=avdec_aac0<br>        videoconvert name=videoconvert0<br>        x264enc name=x264enc0<br>        audioconvert name=audioconvert0<br>        faac name=faac0<br>        flvmux name=flvmux0<br>        rtmpsink name=rtmpsink0<br><br></div>with this preset<br><br>width=1280<br>height=720<br>framerate=25<br>video_codec=x264enc<br>video_bitrate=1700<br>audio_codec=aac<br>audio_bitrate=128<br>deinterlace<br>x264enc.speed-preset=4<br>x264enc.pass=0<br>x264enc.quantizer=10<br>x264enc.threads=5<br>avdec_h264.max-threads=10<br>x264enc.rc-lookahead=10<br>x264enc.tune=2<br><br></div><div>I have another encoder and memory consumption doesn't grow with it.<br></div><div><br></div>What it could be in this case? Is there something I can dig into for a problem?<br><div><div><div><br></div><div>Thx,<br></div><div>AlexBhpp.<br></div></div></div></div>