[FFmpeg-devel] [PATCH v4 1/1] avcodec: add external enc libvvenc for H266/VVC

Christian chris10317h5 at gmail.com
Tue Jun 4 17:33:59 EEST 2024



> On 4. Jun 2024, at 11:21, Anton Khirnov <anton at khirnov.net> wrote:
> 
> Quoting Christian Bartnik (2024-05-28 18:26:29)
>> +static const AVOption options[] = {
>> +    { "passlogfile",  "Filename for 2 pass stats", OFFSET(stats), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, VE},
>> +    { "stats",        "Filename for 2 pass stats", OFFSET(stats), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, VE},
> 
> These option names conflict with ffmpeg CLI options.

I´m aware of this and I´m using exactly the same approach as libx264 does. 

passlogfile is overwriting the CLI option to make the generated passfile filename from the CLI availalbe to the codec.

In the review of my latest version of my patch I was told to use the 'passlogfile' option.

Please let me know how I should pass the passlogfile filename from the CLI to the codec implementation.

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



More information about the ffmpeg-devel mailing list