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

Error: seeking in file sample.aac: function not supported #880

Open
XVilka opened this issue Mar 5, 2019 · 4 comments
Open

Error: seeking in file sample.aac: function not supported #880

XVilka opened this issue Mar 5, 2019 · 4 comments

Comments

@XVilka
Copy link

XVilka commented Mar 5, 2019

If you are playing some AAC file, but trying to go forward a few seconds or backward it shows this error instead of seeking properly.

  1. uname -a:
Linux host 4.19.6-300.fc29.x86_64 #1 SMP ... x86_64 GNU/Linux
  1. cmus --version:
cmus v2.8.0-rc0
  1. cmus --plugins:
Input Plugins: /usr/lib64/cmus/ip
  mad:
    Priority: 55
    File Types: mp3 mp2
    MIME Types: audio/mpeg audio/x-mp3 audio/x-mpeg
  modplug:
    Priority: 50
    File Types: mod s3m xm it 669 amf ams dbm dmf dsm far mdl med mtm okt ptm stm ult umx mt2 psm
    MIME Types:
  mpc:
    Priority: 50
    File Types: mpc mpp mp+
    MIME Types: audio/x-musepack
  wavpack:
    Priority: 50
    File Types: wv
    MIME Types: audio/x-wavpack
  vorbis:
    Priority: 50
    File Types: ogg oga ogx
    MIME Types: application/ogg audio/x-ogg
  wav:
    Priority: 50
    File Types: wav
    MIME Types:
  mp4:
    Priority: 50
    File Types: mp4 m4a m4b
    MIME Types:
  flac:
    Priority: 50
    File Types: flac fla
    MIME Types:
  cue:
    Priority: 50
    File Types:
    MIME Types: application/x-cue
  aac:
    Priority: 50
    File Types: aac
    MIME Types: audio/aac audio/aacp
  opus:
    Priority: 50
    File Types: opus
    MIME Types:
  ffmpeg:
    Priority: 30
    File Types: aa aac ac3 aif aifc aiff ape au fla flac m4a m4b mka mkv mp+ mp2 mp3 mp4 mpc mpp ogg shn tak tta wav webm wma wv
    MIME Types:

Output Plugins: /usr/lib64/cmus/op
  pulse
  alsa
  ao

@tomty89
Copy link
Contributor

tomty89 commented Mar 5, 2019

Well:

cmus/ip/aac.c

Lines 384 to 387 in 65d36d5

static int aac_seek(struct input_plugin_data *ip_data, double offset)
{
return -IP_ERROR_FUNCTION_NOT_SUPPORTED;
}

As a workaround, add:

input.ffmpeg.priority=40
input.mp4.priority=30
input.aac.priority=30

or perhaps even:

input.mp4.priority=0
input.aac.priority=0

to ~/.config/cmus/rc

@tomty89
Copy link
Contributor

tomty89 commented Mar 5, 2019

Btw, I don't think the aac plugin would be getting any feature update. Not only that cmus is inactive, it's more of, who wants faad these days?

@XVilka
Copy link
Author

XVilka commented Mar 6, 2019

For me it is easier to convert the file. But haven't seen the issue in the list, thus created a new one.

@nefthy
Copy link
Collaborator

nefthy commented Mar 14, 2019

Seeking is quite a basic feature. We should either implement seeking for aac or get rid of the plugin.

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

No branches or pull requests

3 participants