Hello Carl,


Thank you for your reply. I think now I have realised that I have 2 issues in my scenario:

1. The code attached (metadata.cpp) writes perfectly some static header during mp3 => mp3 transcoding, however if I use ADTS muxer with AAC output stream inside, metadata is not written.
2. Since one of the tags contains start time of the segment, I need to update its value multiple times (as many as I have 10s segments during transcoding) after calling avformat_alloc_output_context2 and avformat_write_header .  That doesn’t work neither for mp3 nor for adts muxer.


Attachment: metadata.cpp
Description: Binary data


On 27 Nov 2022, at 17:00, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:

Am Sa., 26. Nov. 2022 um 19:08 Uhr schrieb Igor Serganov <isergan...@gmail.com>:

Hello team!

I would appreciate your help on the following issue.

I believe you should provide code that can be compiled stand-alone.

It seems very unlikely that you found a bug, much more likely that
something is missing in your code (assuming it works with ffmpeg,
the application).

Carl Eugen
_______________________________________________
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".

Reply via email to