This forum has been archived. All content is frozen. Please use KDE Discuss instead.

some flac playing some not

Tags: None
(comma "," separated)
Atoms
Karma
0

some flac playing some not

Sat Apr 22, 2006 9:59 am
i\'am using amarok 1.4 beta3 with xine engine.

Friend of mine gived me spice girls album in FLAC, i added to playlist, but amarok just dont plays these songs, but another formats its playing...

tryed using flac123 its playing normally,

flac -t file shows that all is ok...

and spice girls rip is not the first one ...
HankCurt
Karma
0

Re: some flac playing some not

Sat Apr 29, 2006 10:53 pm
I had problems getting my flac files to play in amarok using the Xine engine also. The xine player also refused to play them. After some searching on the internet, I found a post that said that ffmpeg didn't handle some flac files correctly. (sorry I've lost the address of the original post). Anyway, the author advised the following change to xine's configuration file:

In the file at ~/.xine/config find the following line

#engine.decoder_priorities.flacdec:0

and change it to

engine.decoder_priorities.flacdec:1

(note that it was uncommented and the value changed to 1)

This solved the problem with the Xine player, however it did not affect Amarok. It turns out Amarok configures the Xine engine with a config file at

~/.kde3.4/share/apps/amarok/xine-config

Just change the

#engine.decoder_priorities.flacdec:0

line to

engine.decoder_priorities.flacdec:1

It worked great for me. Hope you have the same success. :biggrin:
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS

Re: some flac playing some not

Sun Apr 30, 2006 3:52 pm
ffmpeg sure causes a lot of trouble. It also breaks AAC playback on amd64 (though that priority trick doesn't work for me, I had to re-emerge ffmpeg with the AAC flag off).


Amarok Developer
Altrus
Registered Member
Posts
8
Karma
0

Re: some flac playing some not

Wed Jul 05, 2006 6:16 pm
HankCurt wrote:In the file at ~/.xine/config find the following line

#engine.decoder_priorities.flacdec:0

and change it to

engine.decoder_priorities.flacdec:1

(note that it was uncommented and the value changed to 1)

This solved the problem with the Xine player, however it did not affect Amarok. It turns out Amarok configures the Xine engine with a config file at

~/.kde3.4/share/apps/amarok/xine-config

Just change the

#engine.decoder_priorities.flacdec:0

line to

engine.decoder_priorities.flacdec:1


I had a similar problem, with flac files refusing to play in either xine or amarok.

I've made the above modifications and I can now play flac files in Xine, but despite modifying the xine-config file for amarok, it still doesn't play them.

I would appreciate any light on the problem - I've compiled Amarok from source, and I had it working prior to upgrading to 1.4.0.

Many thanks,

Altrus

Last edited by Altrus on Wed Jul 05, 2006 6:23 pm, edited 1 time in total.
gary_lankford
Registered Member
Posts
16
Karma
0

Re: some flac playing some not

Wed Jul 05, 2006 7:20 pm
I'm using SUSE 10.0.  I've never had any problem playing flac files until I upgraded to the SUSE Guru 1.4.1-beta1 version of Amarok.  Since then I get the error, "there is no audio channel" whenever I try to play a flac file.  I have checked that flac was installed, reinstalled it, then deleted and reinstalled it.  I deleted almost every sound related app and reinstalled them, tried to revert to an earlier version of Amarok and still I can't play flac files.  I have also renamed /opt/kde3/share/config/amarokrc and /opt/kde3/share/apps/amarok, also with no effect.  I have been able to play flacs with Kaffeine all along.

I thought for sure, when I found this thread that the engine decoder priority change would fix my problem, but it did not.

It seems likely that the problem is specific to the new version of Amarok and not specifically to Amarok itself, but to some setting, else reversion to an early version would solve the problem.

I also need help....  as almost my entire music collection is in flac files.  I also am heavily involved in last.fm, so being able to play music via Amarok is important to me.

Thanks!
athomas
Registered Member
Posts
7
Karma
0

Re: some flac playing some not

Wed Jul 05, 2006 7:43 pm
I can't speak for 1.4.1-beta1, but in order to get FLAC working with the latest Amarok SVN I had to download, compile and install the latest xine-lib from CVS. Instructions for getting this can be found at http://sourceforge.net/cvs/?group_id=9655 (replace "modulename" with "xine-lib"). Credit goes to another poster on a different thread - that's how i found out how to get it to work.

I assume I'm referring to the same problem because I also got the "no audio channel" error message. If you don't care for compiling things yourself you might just want to try downgrading. Hope this helps.
Altrus
Registered Member
Posts
8
Karma
0

Re: some flac playing some not

Thu Jul 06, 2006 4:06 am
Hi,

I just realized that it seems Amarok is overwriting my changes to the ~kde/share/apps/amarok/xine-config file each time it loads. That is to say, I make the necessary change, but, once I restart Amarok, it overwrites the file with a copy that has the line commented out and reverted to how it was originally.

I'd appreciate if someone else could confirm this before I write a bug report.

Many thanks,

Altrus
leppiz
Registered Member
Posts
1
Karma
0

Re: some flac playing some not

Thu Jul 06, 2006 1:46 pm
Hello!

I upgraded today my Amarok 1.4.0a to 1.4.1 from kubuntu.org and all my flac-files stopped working. Flac-files give the error "There is no audio channel!". I'm using xine as a backend.

Juho
lister171254
Registered Member
Posts
1
Karma
0

Re: some flac playing some not

Thu Jul 06, 2006 9:55 pm
Same here.

Files play ok in xmms, Rythmbox, Keffeine (with xine) .

Leo
gary_lankford
Registered Member
Posts
16
Karma
0

Re: some flac playing some not

Fri Jul 07, 2006 1:15 am
Altrus wrote:Hi,

I just realized that it seems Amarok is overwriting my changes to the ~kde/share/apps/amarok/xine-config file each time it loads. That is to say, I make the necessary change, but, once I restart Amarok, it overwrites the file with a copy that has the line commented out and reverted to how it was originally.

I'd appreciate if someone else could confirm this before I write a bug report.

Many thanks,

Altrus

Yes, I'm seeing the same thing.  To be absolutely clear, if I edit the ~kde/share/apps/amarok/xine-config file so that the engine decoder line reads engine.decoder_priorities.flacdec:1, the next time I start Amarok the line is changed back to #engine.decoder_priorities.flacdec:0.
gary_lankford
Registered Member
Posts
16
Karma
0

Re: some flac playing some not

Fri Jul 07, 2006 2:29 am
gary_lankford wrote:Yes, I'm seeing the same thing.  To be absolutely clear, if I edit the ~kde/share/apps/amarok/xine-config file so that the engine decoder line reads engine.decoder_priorities.flacdec:1, the next time I start Amarok the line is changed back to #engine.decoder_priorities.flacdec:0.

If I change the permissions of xine-config so that the owner 'Can Read' (but not write), then the decoder line is no changed on Amarok startup, but flac files still don't play.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: some flac playing some not

Fri Jul 07, 2006 6:50 am
leppiz wrote:I upgraded today my Amarok 1.4.0a to 1.4.1 from kubuntu.org and all my flac-files stopped working. Flac-files give the error "There is no audio channel!". I'm using xine as a backend.

Bug in xine-lib. Upgrade to xine 1.1.2 when released, or use xine CVS. Or get your packager to provide a patched xine-lib.


--
Mark Kretschmann - Amarok Developer
Altrus
Registered Member
Posts
8
Karma
0

Re: some flac playing some not

Fri Jul 07, 2006 10:32 pm
Hi,

Would you know if there's a patch available for the non-persistent xine-config file?

Regards,

Altrus
Big Whiskey
Registered Member
Posts
1
Karma
0

Re: some flac playing some not

Sun Jul 09, 2006 3:11 am
Mark Kretschmann wrote:
leppiz wrote:I upgraded today my Amarok 1.4.0a to 1.4.1 from kubuntu.org and all my flac-files stopped working. Flac-files give the error "There is no audio channel!". I'm using xine as a backend.

Bug in xine-lib. Upgrade to xine 1.1.2 when released, or use xine CVS. Or get your packager to provide a patched xine-lib.


I'm thinking this might have to be the solution. Until then, I'm back to Amarok 1.3. It's a shame; I really liked 1.4's feel and functionality.
gary_lankford
Registered Member
Posts
16
Karma
0

Re: some flac playing some not

Tue Jul 11, 2006 9:30 pm
xine-1.1.2 packaged by packman for SUSE is now available.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]