[FFmpeg-user] H264 video toolbox settings

Nuno Santos nunosantos at imaginando.net
Tue Jun 9 13:21:23 EEST 2020


> On 9 Jun 2020, at 10:24, Moritz Barsnick <barsnick at gmx.net> wrote:
> Hi Nuno,
> On Tue, Jun 09, 2020 at 09:04:53 +0100, Nuno Santos wrote:
>>> Oh, you mean using the libav* libraries? Then you're basically on the
>>> wrong mailing list.
>> What’s the correct mailing list for this?
> It's pretty clearly outlined here:
> https://ffmpeg.org/mailing-list-faq.html#What-type-of-questions-can-I-ask_003f
> So choose libav-user.

Great! Thx!

>> And I believe function
>> static bool get_vt_h264_profile_level(AVCodecContext *avctx, CFStringRef *profile_level_val)
>> Is what I want but I don’t know how to pass the right parameters from the api side.
> This function is not part of the API. For one, being declared "static"
> means it's only available internally to this compilation unit.
> Secondly, externally available functions have a different naming
> scheme (av_*).
> This function is already called internally on initialization of the encoder,
> so I don't understand what you need to do with it.

I’m not trying to call that function. I’m trying to call this:

av_opt_set(_encodingContext->priv_data, "preset", "medium", 0);

But I don’t know what kind of parameters it expects inside.



> Cheers,
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list