tune x264enc for RAM usage

Sebastian Dröge sebastian at centricular.com
Fri Feb 26 07:09:48 UTC 2016


On Do, 2016-02-25 at 21:34 +0600, Yakov Sudeikin wrote:
> 
> I am not 100% sure it is x264enc, but what else could that be taking
> 1.5 GB RAM? If you have time to take a look, I attach the dot file
> from the process that causes this issue.

Run with memory debugger tools like massif to see where exactly the
memory is used. Previously you thought it was multiqueue, now you think
it's x264enc but it seems like you don't really know.

For x264enc you can also try rc-lookahead, this is the number of frames
it remembers as lookahead and by default is 40. 40 frames at 1080p are
quite some memory but still only a little bit more than 120MB.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160226/a04600d7/attachment-0001.sig>


More information about the gstreamer-devel mailing list