Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpv cannot correctly recognize TTA audio file with ID3v2 tag #10412

Open
nukemiko opened this issue Jul 13, 2022 · 3 comments
Open

mpv cannot correctly recognize TTA audio file with ID3v2 tag #10412

nukemiko opened this issue Jul 13, 2022 · 3 comments
Labels

Comments

@nukemiko
Copy link

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

@Traneptora
Copy link
Member

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.

@nukemiko
Copy link
Author

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.

Thanks, it's work, and greatly alleviate this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants
@Traneptora @nukemiko and others