Closed h67ma closed 1 year ago
@h67ma Can you post a sample file for me to test with?
Sure, here you go: ffmpeg_meta_retriever_ogg_issue_samples.zip
@h67ma I found the issue, your research was helpful. I was setting the AV_DICT_MATCH_CASE
in av_dict_get
which caused my code to ignore metadata values that don't match the key case. Since all your metadata values are upper case it was ignoring them. This will be fixed in the next public release, the fix has been pushed to the main branch. Thanks for the files and good research!
Thank you for looking into it, I really appreciate it!
This is fixed in version 1.0.19. Closing this issue.
I'm having problems reading tags from ogg files with Vobris or Opus codec, possibly other codecs as well. Most of the tags are not being recognized.
Repro
fmmr-demo
)Logcat output for the mp3 file:
Logcat output for the ogg file:
Speculation
I think it might have something to do with the way that ffmpeg outputs tags read from ogg files. Below are examples of ffprobe outputs, for the same two files:
Tag values are stored in a different element of output - for mp3 and most other file formats it's
output["format"]["tags"]
, while for ogg it seems to beoutput["streams"][0]["tags"]
.