Opened 11 months ago
Last modified 11 months ago
#10145 reopened defect
ffmetadata not properly working for opus
Reported by: | hasezoey | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | ffmetadata opus |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
Summary of the bug:
Currently when trying to use "-f ffmetadata" on a ".opus" file results in not all metadata copied
How to reproduce:
- have a input opus file with metadata
$ ffmpeg -report -i in.opus -f ffmetadata meta.txt $ cat meta.txt
observe "meta.txt" not having all metadata
example output of the provided "silence.opus":
;FFMETADATA1 encoder=Lavf59.27.100
Attachments (2)
Change History (5)
by , 11 months ago
Attachment: | ffmpeg.log added |
---|
by , 11 months ago
Attachment: | silence.opus added |
---|
comment:1 by , 11 months ago
Description: | modified (diff) |
---|
comment:2 by , 11 months ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
You need to explicitly select the streams whose metadata you want to include in the output; you also need to add "-c copy".
comment:3 by , 11 months ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
if extra options are required, then it maybe should be mentioned at https://ffmpeg.org/ffmpeg-formats.html#Metadata-1, i have the command from there.
also the above command "just works" without extra options for "mp3" files
a opus file with metadata