clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.68k stars 669 forks source link

AAC files not loading/playing #1302

Open Clementine-Issue-Importer opened 10 years ago

Clementine-Issue-Importer commented 10 years ago

From vastone on January 15, 2011 19:33:33

What steps will reproduce the problem? 1. Play an AAC file 2. 3. What is the expected output? What do you see instead? Track to play. Nothing What version of the product are you using? On what operating system? 0.6 r2628 - Ubuntu 10.10 Please provide any additional information below. Not a dependency issue as the same AAC tracks play fine on any other player

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=1302

Clementine-Issue-Importer commented 10 years ago

From davidsansome on January 15, 2011 10:50:56

Install gstreamer0.10-plugins-bad-multiverse

Status: Invalid

Clementine-Issue-Importer commented 10 years ago

From vastone on January 15, 2011 11:12:50

Already installed and as I said, the same tracks play in other players without issues..

I removed gstreamer0.10-plugins-bad-multiverse and re installed it with the same issues

AAC files are not loading at all - I get the following from terminal

Loading local file "/media/Schiller - Joy And Happiness.aac" void Song::InitFromFile(const QString&, int) on GUI thread!

Clementine-Issue-Importer commented 10 years ago

From vastone on January 15, 2011 14:08:27

Can anyone else confirm either way that AAC files are playing on a Ubuntu setup?

Clementine-Issue-Importer commented 10 years ago

From ivanovnegro on January 15, 2011 17:52:20

Yes, I can confirm it. AAC files are not working on the newest revision.

Clementine-Issue-Importer commented 10 years ago

From vastone on January 18, 2011 10:04:14

Now that there is confirmation that there is an issue with someone else, can this be changed from invalid?

I have attached a file that is not playing

Ubuntu 10.10

Clementine 0.6 r2656

Attachment: ANTAEUS - Kyrie.aac

Clementine-Issue-Importer commented 10 years ago

From davidsansome on January 18, 2011 10:58:17

Ok that file doesn't load for me either.

Status: Accepted

Clementine-Issue-Importer commented 10 years ago

From bes.internal on March 06, 2011 04:02:14

In gentoo, this problem is solved by installing media-plugins/gst-plugins-faad. Find your package for other distributions.

Without faad gstreamer plugin, but only faac clementine said:

"gstdecodebin2.c(3076): gst_decode_bin_expose (): /GstPipeline:pipeline/GstURIDecodeBin:uridecodebin-0/GstDecodeBin2:decodebin20: no suitable plugins found"

Clementine-Issue-Importer commented 10 years ago

From Imbericle on March 12, 2011 09:51:52

@ bes.inte...@gmail.com I'm running Gentoo on amd64 and I have installed media-plugins/gst-plugins-faad-0.10.19 , but your solution does not work for me.

When i click on music -> open and then choose an aac file, nothing happens, and clementine returns the following to ist root terminal: "Loading local file "/home/user/Musik/Asia - Heat of the Moment.aac" void Song::InitFromFile(const QString&, int) on GUI thread! "

Do you have any further information which might help?

Clementine-Issue-Importer commented 10 years ago

From juanbertinetti on May 09, 2011 09:23:21

I have the same problem. I'm on Ubuntu 11.04 with gstreamer0.10-plugins-bad-multiverse installed.

Clementine-Issue-Importer commented 10 years ago

From klismannsm on May 14, 2011 06:48:50

I have the same problem. I'm using kubuntu 10.10 and clementine and amarok are the only players that doesn't play aac files... The files load/play with no problem in rhythmbox, for example. I've tried every possible plugin available for ubuntu and none of them worked. I've also tried recoding the aac. It didn't work either.

When will this problem be solved ? To me it's a critical bug and should already be fixed ...

Clementine-Issue-Importer commented 10 years ago

From szymon.olko on June 20, 2011 23:34:00

I'm using gentoo, I had the same problem as described. I could not play internet radio for example this "http://217.74.72.3:9000/ I had gst plugin missing error. Mplayer plays it well showing it as AAC stream. After instaling "media-plugins/gst-plugins-faad" and restarting Clementine all is working.

Clementine-Issue-Importer commented 10 years ago

From bidjix on August 08, 2011 13:43:47

I'm using the laters Arch community package version of Clementine, 0.7.1-6, and have the same problem. Opening an AAC file with Clementine results in nothing happening, while the same file can be opened just fine with mplayer.

Clementine-Issue-Importer commented 10 years ago

From bidjix on August 08, 2011 13:58:37

I've tried version 0.7.3-29-gd0a3cd2 as well. It still doesn't work. I get the following output when drag-dropping an AAC file into a Clementine playlist:

DEBUG SongLoader:204 Loading local file "/home/user/TYa7furgQsA.aac" WARN Song:267 InitFromFile() on GUI thread!

And nothing else seems to happen.

Clementine-Issue-Importer commented 10 years ago

From bidjix on August 08, 2011 14:18:11

I have faad v2.7 and all the gstreamer plugins installed, but it doesn't appear to help.

Clementine-Issue-Importer commented 10 years ago

From pejakm on October 19, 2011 10:19:54

I have the same problem, however, if I rename the file to m4a, for example, it loads and plays.

Clementine-Issue-Importer commented 10 years ago

From joerg.sonnenberger on November 12, 2011 16:34:35

It worked for me after installing both, gstreamer0.10-plugins-bad and gstreamer0.10-plugins-bad-multiverse.

Clementine-Issue-Importer commented 10 years ago

From rollopack on December 29, 2011 23:45:22

In Debian the problem is solved installing gstreamer0.10-plugins-bad

Clementine-Issue-Importer commented 10 years ago

From Rewarp on March 01, 2012 18:51:02

I stumbled upon this workaround by chance.

I ripped an AAC audio from an FLV video and tried to play it with Clementine. It failed to load and play. However, after I renamed the extension to MP3, the file played perfectly without issue.

I have downloaded the attached file in this bug report and also renamed the extension to .mp3 and the file loads and plays without issue.

Clementine-Issue-Importer commented 10 years ago

From pb@das-werkstatt.com on April 05, 2012 13:08:01

I've tried the "mp3" rename-workaround, and I've chosen to create symlinks to the AAC files, and rename the extension of the symlinks to ".mp3". Works.

Is there any way to edit the list of file-extensions, Clementine handles?

Clementine-Issue-Importer commented 10 years ago

From arnaud.bienner on April 15, 2012 11:17:26

We rely on TagLib to know if a file is valid or not. For now, they use file extensions, and they don't seem to handle .aac files. I've opened a bug report on their side: https://bugs.kde.org/show_bug.cgi?id=298198

Clementine-Issue-Importer commented 10 years ago

From xxttrreemmee on January 28, 2013 13:11:02

20:56:42.951 DEBUG _MessageReplyBase:28 Waiting on ID 1 20:56:42.952 DEBUG TagReaderWorker:159 Reading tags from "/media/sdc2/hipster/wip/Gemini - Turn Me On [HD].aac" 20:56:42.952 INFO TagReaderWorker:169 TagLib hasn't been able to read "/media/sdc2/hipster/wip/Gemini - Turn Me On [HD].aac" file 20:56:42.952 DEBUG MessageReply:93 Releasing ID 1 (finished) 20:56:42.952 DEBUG _MessageReplyBase:30 Acquired ID 1

today's Clementine build, same sad story. Audacious is open source, and available on all platforms as well, and has no problems with any (videos too) files whatsoever. Is there any way to check what kind detection they use?

Clementine-Issue-Importer commented 10 years ago

From fuuzetsu@fuuzetsu.co.uk on January 28, 2013 22:51:54

Is there any way to check what kind detection they use? Download the source and read it. Alternatively, ask around on their IRC channel/mailing list/whatever it is they use.

It won't matter much anyway unless the Clementine maintaners decide to ditch TagLib for an alternate solution though. It doesn't seem like that bug report in comment #23 will get any attention any time soon...

Clementine-Issue-Importer commented 10 years ago

From xxttrreemmee on January 29, 2013 06:20:36

a part (from Git) of Audacious' detection system IF I am not mistaken... thing is: it works really well. Right now Clementine can't even say what kind of stream/bitrate is internet radio or downloaded mp3 podcast (won't make a mood file for it, can't edit a tag either).

Attachment: probe.c

Clementine-Issue-Importer commented 10 years ago

From alphadeltapapa on March 03, 2013 22:02:36

I just found that if I rename the files to have a ".mp4" extension, they work fine in Clementine. ".aac" doesn't work at all, and ".mp3" doesn't work properly.

Clementine-Issue-Importer commented 10 years ago

From arnaud.bienner on March 04, 2013 02:19:03

Could you please provide few files which have the problem? I will try to have a look at it and to write a patch for TagLib; it will be very helpful if I have some files to test it.

Owner: arnaud.bienner

Clementine-Issue-Importer commented 10 years ago

From arnaud.bienner on March 12, 2013 11:31:02

So? Can someone upload some problematic files here so I can test with more than one file? If you want to have a chance to have this bug fixed...

Clementine-Issue-Importer commented 10 years ago

From celeron55 on March 12, 2013 11:56:24

Just ffmpeg -i -strict -2 .aac

Clementine-Issue-Importer commented 10 years ago

From arnaud.bienner on March 12, 2013 12:26:29

Thanks for the tip but I would prefer to have different files anyway, as I suspect many containers may have AAC data in practice, and I want to be sure the patch I will write will work with files users have reported as not be working.

Clementine-Issue-Importer commented 10 years ago

From celeron55 on March 12, 2013 12:50:44

All of my AAC files are ripped from Youtube using ffmpeg. Except that these days I have re-encoded them all to ogg, because of Clementine.

So actually making only the end result of that work would make me completely happy. 8) Well, I hope someone has some suitable files.

Clementine-Issue-Importer commented 10 years ago

From xxttrreemmee on April 01, 2013 06:33:24

@ celeron55@gmail.com YouTube's aac codec is real old (faac used in mp4) and don't use psychoacoustics. Sound from Youtube videos is best if downloaded in *.webm container (vorbis) so U don't have to re-encode only rip the stream using ffmpeg, just sayin... Another fishy aac:

Attachment: Chimaira - I Despise - New Song [Mp3Sheriff.com].aac

Clementine-Issue-Importer commented 10 years ago

From vaidrius on May 14, 2013 11:22:41

On Ubuntu 13.04, I installed ubuntu-restricted-extras, and clementine started playing m4a files from iTunes. Previously, totem player played them, but not Clementine.

Clementine-Issue-Importer commented 10 years ago

From arnaud.bienner on September 24, 2013 10:11:21

Issue 3866 has been merged into this issue.

Clementine-Issue-Importer commented 10 years ago

From Nickollai on September 24, 2013 10:22:47

Not sure if it is correct to mark issue 3866 as duplicate of this bug: same happens not only with .aac, but also with .mka. Most likely it happens with any files without tags.

Clementine-Issue-Importer commented 10 years ago

From arnaud.bienner on September 24, 2013 10:37:29

.aac files don't show up in Clementine playlists because of a limitation in TagLib, as stated previously in this bug. .mka problem is probably issue 2569 .

Clementine-Issue-Importer commented 10 years ago

From spharx0 on October 26, 2013 17:26:28

aac files still do not work. This bug is from 2011 for gods sake. I have to make a proposal that maybe most of you will not like because its dirty but chances are that it will work: Post #22 | #27 mentioned that renaming a aac file to mp3 / mp4 works. Just make TagLib believe that the aac is a mp3 / mp4 or just completely disable the checks for aac files until the TagLib problem is fixed.

E: with this packets clementine is able to play aac files on my system (kubuntu 13.10) http://askubuntu.com/questions/234664/could-not-decode-stream-in-ubuntu-12-10

coert commented 9 years ago

Files encoded with Nero AAC codec (http://www.nero.com/enu/company/about-nero/nero-aac-codec.php) mess up and stop playing every now and then (with the message: "Stream could not be decoded"). I think it's related to this error, seems to me at some point Clementine thinks the tags changed (don't know why), then starts rewriting something on the file (while it's playing), and because of the writing can't read the stream.... Anyway, here is some log output (verbosity 3):

[...] 15:34:50.660 DEBUG GstEnginePipeline:498 3 sync bus message buffering 15:34:50.681 DEBUG unknown " 15:34:50.681 DEBUG unknown 15:34:50.681 DEBUG unknown La Guerre Souterraine 15:34:50.681 DEBUG unknown Tindersticks 15:34:50.681 DEBUG unknown Ypres 15:34:50.681 DEBUG unknown 15:34:50.681 DEBUG unknown 15:34:50.681 DEBUG unknown 15:34:50.681 DEBUG unknown 15:34:50.681 DEBUG unknown "
15:34:50.782 DEBUG GstEnginePipeline:498 3 sync bus message tag 15:34:51.439 DEBUG LibraryWatcher:345 "/mnt/33EE47FC4F4F9C75/Music/Library/Albums/Tindersticks/Ypres/02. Tindersticks - Ananas Et Poivre.m4a" changed 15:34:51.439 DEBUG _MessageReplyBase:24 Waiting on ID 7 15:34:51.439 DEBUG TagReader:119 Reading tags from "/mnt/33EE47FC4F4F9C75/Music/Library/Albums/Tindersticks/Ypres/02. Tindersticks - Ananas Et Poivre.m4a" 15:34:51.441 DEBUG MessageReply:90 Releasing ID 7 (finished) 15:34:51.441 DEBUG _MessageReplyBase:26 Acquired ID 7 [...] next file starts playing, message appears: "Stream could not be decoded"

Nepoxx commented 8 years ago

aac files still do not work with Clementine 1.2.3 on Ubuntu 15.04. I have gstreamer0.10-plugins-bad and multiverse installed, still does not work. Other players can play AAC files just fine (rythmbox for instance).

(Works if I rename files to mp3, however)

tbyronb commented 8 years ago

Windows 7 x64, v1.2.3. Cannot drag AAC into playlist, cannot open file->open file. Change ext to mp4, no change. Change ext to mp3, can open add and play. Change to mp2, mpg, mpeg, cannot open add or play. File is ADTS hdrs MPEG-2 LC, from 720 youtube . com/watch?v=B4LG-QVMuXg

sboehringer commented 7 years ago

Same problem on OpenSuse 13.2, Clementine 1.2.3. All plugins available for gstreamer are installed and gst123 plays aac files.

keks24 commented 4 years ago

I have the same issue on Gentoo. It shows me the following error message when I try to import AAC files:

ramon@lenovo ~ % clementine
[...]
15:49:18.261 ERROR Song:701                         File "/home/ramon/music/normal_music/Feelings/11/Feelings 11 - 01 - Scorpions - Still Loving You.aac" is not recognized by TagLib as a valid audio file.
[...]
^C
clementine  4.57s user 1.11s system 7% cpu 1:16.07 total
ramon@lenovo ~ %

Additional information:

ramon@lenovo ~ % eselect profile list
[...]
  [23]  default/linux/amd64/17.1/desktop/plasma (stable) *
[...]
ramon@lenovo ~ %
ramon@lenovo ~ % eix --installed taglib
[I] media-libs/taglib
     Available versions:  1.11.1_p20181028 {debug examples test ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  1.11.1_p20181028(15:38:03 21/07/19)(-debug -examples -test ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://taglib.github.io/
     Description:         A library for reading and editing audio meta data

[I] media-plugins/gst-plugins-taglib
     Available versions:  (1.0) 1.14.4^t
       {ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  1.14.4(1.0)^t(15:38:28 21/07/19)(ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://gstreamer.freedesktop.org/
     Description:         ID3v2/APEv2 tagger plugin for GStreamer

Found 2 matches
ramon@lenovo ~ %
ramon@lenovo ~ % eix --installed clementine
[I] media-sound/clementine
     Available versions:  1.3.1_p20190127^t ~1.3.1_p20190609^t **9999 {box cdda +dbus debug dropbox googledrive ipod lastfm mms moodbar mtp projectm pulseaudio seafile skydrive test +udisks wiimote}
     Installed versions:  1.3.1_p20190127^t(15:22:30 06/07/19)(cdda dbus moodbar pulseaudio udisks -box -debug -dropbox -googledrive -ipod -lastfm -mms -mtp -projectm -seafile -skydrive -test -wiimote)
     Homepage:            https://www.clementine-player.org https://github.com/clementine-player/Clementine
     Description:         Modern music player and library organizer based on Amarok 1.4 and Qt

ramon@lenovo ~ %

I also tried to recompile all mentioned packages but without success.

das-nervt commented 4 years ago

Same problem on Manjaro (Clementine 1.3.1-771-g75f18dab2), rename to .mp4 works but it is an ugly solution... 6 year old bug, any action here?

YorkZ commented 7 months ago

It's frustrating that we still need to rename file extensions to "mp3" at the end of 2023. It has been a huge time-waster!

sboehringer commented 2 months ago

.m4a is an alternative extension for the aac format which is recognized by clementine. This is my work-around for now.