<div dir="ltr"><div>Hi there, <br></div><div><br></div><div>You can use:</div><div><br></div><div>ffmpeg -h encoder=h264_videotoolbox</div><div><br></div><div>To list all the options for a given codec (in this case the encoder options), it is available at the <a href="https://github.com/FFmpeg/FFmpeg/blob/5e0a3278bb7385f9fee158ccd69b07bf76a9e5df/libavcodec/videotoolboxenc.c#L2554">source code as well.</a></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 9, 2020 at 7:24 AM Nuno Santos <<a href="mailto:nunosantos@imaginando.net">nunosantos@imaginando.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi,<div><br></div><div>I’m trying to set the quality parameters of the hw accellarated encoder h264_videotoolbox. For x264 I use something like this:</div><div><br></div><div>
<pre style="margin-top:0px;margin-bottom:0px">av_opt_set(_encodingContext->priv_data,<span style="color:rgb(79,79,79)"> </span><span style="color:rgb(229,16,229)">"preset"</span>,<span style="color:rgb(79,79,79)"> </span><span style="color:rgb(229,16,229)">"medium"</span>,<span style="color:rgb(79,79,79)"> </span><span style="color:rgb(229,16,229)">0</span>);</pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px">How do I know the available parameters for this encoder?</pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px">Thanks!</pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px">Regards,</pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px">Nuno</pre><div><br></div></div></div>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".</blockquote></div>