mpv
mpv copied to clipboard
mpv cannot correctly recognize TTA audio file with ID3v2 tag
Important Information
Provide following Information:
- mpv version:
mpv 0.34.1-dirty Copyright © 2000-2021 mpv/MPlayer/mplayer2 projects - Linux Distribution and Version: Arch Linux
- Source of the mpv binary: https://archlinux.org/packages/community/x86_64/mpv/
- If known which version of mpv introduced the problem: don't know
- Window Manager and version:
kwin 5.25.2
Reproduction steps
Open the sample TTA file with ID3v2 suffix using mpv. It is recommended to do this from the command line.
Expected behavior
mpv normally open the TTA audio file with ID3v2 tag and APEv2 tag.
Actual behavior
mpv can open the TTA file with APEv2 tag (or without tag) correctly, but it will consider the TTA file with ID3v2 tag to be an mp3 file.
Log file
Make a log file made with -v -v or --log-file=output.txt, paste it to https://0x0.st/ or attach it to the github issue, and replace this text with a link to it.
Open the TTA file with APEv2 tag: http://0x0.st/o11j.log Open the TTA file with ID3v2 tag: http://0x0.st/o11e.log Open the TTA file without any tag: http://0x0.st/o112.log
Sample files
TTA file with APEv2 tag: http://0x0.st/o11M.tta TTA file with ID3v2 tag: http://0x0.st/o11u.tta TTA file without any tag: http://0x0.st/o11S.tta
It looks like it's interpreting the TTA file as an mp3 file (which it isn't) because it's accepting the probescore of 48 from libavformat. Setting --demuxer-lavf-probescore=50 in the meantime can work around this. Unfortunately mp3 and ID3v2 is sort of a garbage format so I don't see an easy solution.
It looks like it's interpreting the TTA file as an mp3 file (which it isn't) because it's accepting the probescore of 48 from libavformat. Setting
--demuxer-lavf-probescore=50in the meantime can work around this. Unfortunately mp3 and ID3v2 is sort of a garbage format so I don't see an easy solution.
Thanks, it's work, and greatly alleviate this problem.
This is a bug in Firefox, stop using it. It renames http://0x0.st/o11M.tta file to .mp3, which is the bug.