[FFmpeg-devel] [PATCH v2 2/2] avformat/flvenc: add option to read metadata from file

Gyan Doshi ffmpeg at gyani.pro
Tue Feb 7 10:57:25 EET 2023



On 2023-02-05 04:35 pm, Gyan Doshi wrote:
>
>
> On 2023-02-05 04:07 pm, Anton Khirnov wrote:
>> Quoting Gyan Doshi (2023-02-04 11:11:12)
>>> On 2023-02-03 09:04 pm, Andreas Rheinhardt wrote:
>>>> What does this achieve that can't be achieved by other means 
>>>> (namely by
>>>> an API-user updating the relevant metadata dictionaries)?
>>> This option together with meta_period is for CLI users.
>> Options for CLI users should be in the CLI, not the libraries.
>
> Do I then add and use a AVFMT flag to avoid recurring metadata updates 
> for all other muxers?

To add to this, it's not exactly a 'CLI 'option. It allows CLI users the 
same feature that API users can manually undertake,
similar to the existence of the tee muxer itself which API users don't need.

But I'll see how this can fit inside fftools, though lavf/mux might be a 
better place.

Regards,
Gyan



More information about the ffmpeg-devel mailing list