Opened 2 months ago

Last modified 2 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 hasezoey)

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)

ffmpeg.log (4.3 KB ) - added by hasezoey 2 months ago.
silence.opus (374 bytes ) - added by hasezoey 2 months ago.
a opus file with metadata

Download all attachments as: .zip

Change History (5)

by hasezoey, 2 months ago

Attachment: ffmpeg.log added

by hasezoey, 2 months ago

Attachment: silence.opus added

a opus file with metadata

comment:1 by hasezoey, 2 months ago

Description: modified (diff)

comment:2 by mkver, 2 months ago

Resolution: invalid
Status: newclosed

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 hasezoey, 2 months ago

Resolution: invalid
Status: closedreopened

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

Note: See TracTickets for help on using tickets.