FFmpeg: Difference between revisions

Line 219: Line 219:
===NVENC===
===NVENC===
[https://superuser.com/questions/1296374/best-settings-for-ffmpeg-with-nvenc Options Reference]
[https://superuser.com/questions/1296374/best-settings-for-ffmpeg-with-nvenc Options Reference]
When encoding using NVENC, your <code>codec_ctx->priv_data</code> is a pointer to a <code>NvencContext</code>.
When encoding using NVENC, your <code>codec_ctx->priv_data</code> is a pointer to a <code>NvencContext</code>.
To list all of the things you can set in the private data, you can type the following in bash
To list all of the things you can set in the private data, you can type the following in bash
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">