> On 4. Jun 2024, at 11:21, Anton Khirnov <an...@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@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to