Metadata will not copy over going from opus to mp4
|Reported by:||Tupsi||Owned by:|
|Version:||git-master||Keywords:||opus, mp4, metadata, m4b|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Summary of the bug:
I noticed that when I change containers and codecs for an audio file that for some combination the metadata gets lost in transit.
For instance reencoding an audio file from aac (inside an mp4 container) to opus works fine, copying over all relevant meta data like album, artist, genre, date, title, comment, etc.
ffmpeg -i input.m4b -c:a libopus -b:a 32k output.opus
works, all meta is copied.
ffmpeg -i input.m4b -c:a libopus -b:a 32k output.mp4
works as well, all meta is copied.
Now if you copy the mentioned .opus above back into an mp4 container, the information is lost.
ffmpeg -i output.opus -c:a copy newoutput.mp4
file runs fine (audio wise), but all meta is lost.
No idea, which component is doing this, so I will leave that to you guys to change, sorry for that.
How to reproduce:(you need the opus to have a few metadata like album, comment)
% ffmpeg -i input.opus -c:a copy output.mp4 ffmpeg version git-2020-07-15-a54b367 built on with gcc 9.3.1 (GCC) 20200621
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Change History (5)
comment:1 by , 3 years ago
|Summary:||Metadata will not copied over going from opus to mp4 → Metadata will copy over going from opus to mp4|
comment:2 by , 3 years ago
|Summary:||Metadata will copy over going from opus to mp4 → Metadata will not copy over going from opus to mp4|