Look at av_dict_get() and av_dict_set() API Ex: av_dict_set(&program->metadata, "service_provider", p2, 0); for example mpegts file
On Tue, Jan 10, 2023, 03:20 m b <mve...@email.com> wrote: > Hello, > > I want to write a tag Genre=Classic in an aac file using ffmpeg API > functions, I don't know how to do, and I did not find any useful example in > the folder of source ffmpeg>doc>examples, there is only an example file > named metadata.c which it iterates the metadata tags by using 4 API > functions: avformat_open_input(), avformat_find_stream_info(), > av_dict_iterate(), avformat_close_input(). I also searched online, and no > results. > > > Who could give me some examples of how to write a tag in the auido file > using the FFMPEG API? Thank you for your help! > > Regards, > Ben > _______________________________________________ > Libav-user mailing list > Libav-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/libav-user > > To unsubscribe, visit link above, or email > libav-user-requ...@ffmpeg.org with subject "unsubscribe". >
_______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email libav-user-requ...@ffmpeg.org with subject "unsubscribe".