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

Unable to play .m4a files due to mission ffmpeg plugin #1258

Open
olorton opened this issue May 23, 2023 · 3 comments
Open

Unable to play .m4a files due to mission ffmpeg plugin #1258

olorton opened this issue May 23, 2023 · 3 comments

Comments

@olorton
Copy link

olorton commented May 23, 2023

Since upgrading to version 6 of ffmpeg the plugins list no longer shows ffmpeg as being available. When trying to open a m4a file I get the following error.

Error: opening file `/Users/olorton/music-cmus/Bach; Yo‐Yo Ma/The Six Unaccompanied Cello Suites/01  - Suite No. 1 in G major, BWV 1007: I. Prélude.m4a': unsupported file format

This has worked fine for a few years on the same music library and only broke within the last month after upgrading cmus & ffmpeg. Cmus and ffmpeg have been installed using homebrew. I am happy to submit a pull-request to homebrew-core to fix this, if one is available, but your guidance would be appreciated.


  1. uname -a:
Darwin FA-3346-MBPRO16 21.6.0 Darwin Kernel Version 21.6.0: Thu Mar  9 20:08:59 PST 2023; root:xnu-8020.240.18.700.8~1/RELEASE_X86_64 x86_64
  1. cmus --version:
cmus v2.10.0
Copyright 2004-2006 Timo Hirvonen
Copyright 2008-2016 Various Authors
  1. cmus --plugins:
Input Plugins: /usr/local/Cellar/cmus/2.10.0_2/lib/cmus/ip
  mad:
    Priority: 55
    File Types: mp3 mp2
    MIME Types: audio/mpeg audio/x-mp3 audio/x-mpeg
  opus:
    Priority: 50
    File Types: opus
    MIME Types:
  wav:
    Priority: 50
    File Types: wav
    MIME Types:
  mp4:
    Priority: 50
    File Types: mp4 m4a m4b
    MIME Types:
  cue:
    Priority: 50
    File Types:
    MIME Types: application/x-cue
  aac:
    Priority: 50
    File Types: aac
    MIME Types: audio/aac audio/aacp
  flac:
    Priority: 50
    File Types: flac fla
    MIME Types:
  vorbis:
    Priority: 50
    File Types: ogg oga ogx
    MIME Types: application/ogg audio/x-ogg

Output Plugins: /usr/local/Cellar/cmus/2.10.0_2/lib/cmus/op
  coreaudio
  ao
@gavtroy
Copy link
Contributor

gavtroy commented May 23, 2023

The missing FFmpeg plugin is sure to be #1251. Many distros are currently carrying a patch for this.

Incidentally there's a second issue which is that your m4a files aren't recognized by the mp4 plugin. There's a good chance #1255 will address that.

@olorton
Copy link
Author

olorton commented Mar 19, 2024

Note that this is still an issue for me I'm having to compile cmus myself. Although it is fixed in master, we need a new release tag so that we can update the homebrew formula. Any chance we could do that?

@gavtroy
Copy link
Contributor

gavtroy commented Mar 21, 2024

@flyingmutant something to consider, the clang fix (#1269) is also not yet in a release.

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

No branches or pull requests

2 participants