You are not logged in.

#1 2009-01-30 19:58:45

A2K
Member
Registered: 2009-01-30
Posts: 3

ffplay, xine and amarok have problems playing FLAC

Amarok just skips first few second of flac tracks.
xine sometimes play ok, but most times acts like amarok.
ffplay cannot seek track and hang when track ends.

In console i get this:
[flac @ 0x93cd7d0]decode_frame() failed
[flac @ 0x93cd7d0]FRAME HEADER not here
[flac @ 0x93cd7d0]unsupported channel assignment 2 (channels=2)
[flac @ 0x93cd7d0]invalid coding type
[flac @ 0x93cd7d0]broken stream, invalid padding

all this messages repeats many times.

no problems with plaing mp3, ogg and other.

any ideas?

Offline

#2 2009-01-30 19:59:55

A2K
Member
Registered: 2009-01-30
Posts: 3

Re: ffplay, xine and amarok have problems playing FLAC

MPlayer has no problems with playing FLAC.

Offline

#3 2009-01-30 20:29:33

A2K
Member
Registered: 2009-01-30
Posts: 3

Re: ffplay, xine and amarok have problems playing FLAC

this looks like xine-lib bug: http://bugs.xine-project.org/show_bug.cgi?id=196

solved by downgrading xine-lib to 1.1.15

Offline

#4 2009-04-09 13:39:02

mortan
Member
Registered: 2007-07-20
Posts: 8

Re: ffplay, xine and amarok have problems playing FLAC

I tried your tip, but it's still not working for me.

Downgraded to: http://archlinux.cbn.net.id/extra/os/i6 … pkg.tar.gz

Offline

#5 2009-04-09 15:14:50

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: ffplay, xine and amarok have problems playing FLAC

I think this is a ffmpeg bug (or a xine bug incorrectly using ffmpeg). It's the ffmpeg library that is spitting this message out. If you remove the xineplug_decode_ff.so from /usr/lib/xine/*, then it will use the libflac decoder instead. I haven't had any problems with that one.

Last edited by GogglesGuy (2009-04-09 15:15:56)

Offline

#6 2009-04-16 12:15:39

mortan
Member
Registered: 2007-07-20
Posts: 8

Re: ffplay, xine and amarok have problems playing FLAC

Thanks for you response. I tried deleting xineplug_decode_ff.so, up- and downgrading libxine, using ffmpeg-svn but still no luck. But I found something interesting: On files that are encoded with the (I think) newest flac version seeking does not work, on files that were encoded with an older version of flac I have no problems at all.

Nasty thing for an audiophile :'(

Offline

#7 2009-04-16 15:05:16

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: ffplay, xine and amarok have problems playing FLAC

mortan wrote:

Thanks for you response. I tried deleting xineplug_decode_ff.so, up- and downgrading libxine, using ffmpeg-svn but still no luck. But I found something interesting: On files that are encoded with the (I think) newest flac version seeking does not work, on files that were encoded with an older version of flac I have no problems at all.

Nasty thing for an audiophile :'(

I do see the error with ffmpeg, but not with the libFLAC... I still think it's an ffmpeg issue...

Last edited by GogglesGuy (2009-04-16 15:52:33)

Offline

#8 2009-04-16 15:35:49

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: ffplay, xine and amarok have problems playing FLAC

mortan wrote:

Thanks for you response. I tried deleting xineplug_decode_ff.so, up- and downgrading libxine, using ffmpeg-svn but still no luck. But I found something interesting: On files that are encoded with the (I think) newest flac version seeking does not work, on files that were encoded with an older version of flac I have no problems at all.

Nasty thing for an audiophile :'(

Do you get any messages on the console when you've deleted the xineplug_decode_ff.so?

Offline

#9 2009-04-24 08:24:55

mortan
Member
Registered: 2007-07-20
Posts: 8

Re: ffplay, xine and amarok have problems playing FLAC

Hi again, sorry for the delay. Unfortunately I don't get any ffmpeg / xine related output from amarok if I delete xineplug_decode_ff.so

If I understood you correctly you solved the problem for you... are you willing to test a flac file that causes troubles for me (remember: not all flac files aren't working, only the newer ones I guess)? That would be a great help!

Offline

#10 2009-05-28 18:57:46

greenfish
Member
From: eating fish in /dev/null
Registered: 2008-08-30
Posts: 229

Re: ffplay, xine and amarok have problems playing FLAC

Great thread, you can count me in as well. I just built my first server (using arch as os of course) and loaded it with my lossless music 2TB, amarok is really really really getting silly with me, skips ahead of tracks or refuses to play at all, hmm so this is engine related and not amarok in general?

Songbird plays the flac just fine but crashes while browsing in file mode.


ARCH64 archSKYNET server AMD  Phenom(tm) II X2 550 HDD 6TB Ram 8GB
Hobbies: Running, Pistol Marksmanship, Classic Music

Offline

#11 2009-05-28 19:03:39

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: ffplay, xine and amarok have problems playing FLAC

You can always use the mplayer phonon backend (it's in AUR).


Microshaft delenda est

Offline

#12 2009-05-28 20:05:25

greenfish
Member
From: eating fish in /dev/null
Registered: 2008-08-30
Posts: 229

Re: ffplay, xine and amarok have problems playing FLAC

scarecrow wrote:

You can always use the mplayer phonon backend (it's in AUR).

Repository     : extra
Name           : phonon
Version        : 4.3.1-1
URL            : http://phonon.kde.org
Licenses       : LGPL
Groups         : None
Provides       : None
Depends On     : qt  xine-lib
Optional Deps  : None
Conflicts With : None
Replaces       : None
Download Size  : 349.55 K
Installed Size : 1636.00 K
Packager       : Pierre Schmitz <pierre@archlinux.de>
Architecture   : x86_64
Build Date     : Fri 27 Feb 2009 11:38:25 AM CET
MD5 Sum        : c2525d2b71642317b1769a76c53206b4
Description    : The multimedia API for KDE 4

Already installed on my system, thanks anyways


ARCH64 archSKYNET server AMD  Phenom(tm) II X2 550 HDD 6TB Ram 8GB
Hobbies: Running, Pistol Marksmanship, Classic Music

Offline

#13 2010-08-06 09:59:26

mickjo
Member
Registered: 2010-08-06
Posts: 1

Re: ffplay, xine and amarok have problems playing FLAC

You may use the GStreamer backend wich also yields perfect 24-bit flac playback in Amarok, see e.g. http://mstenberg.com/blog/2010/08/04/am … ma-codecs/ (originally for Ubuntu, but is generic enough).

Offline

#14 2010-08-06 11:25:50

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: ffplay, xine and amarok have problems playing FLAC

Dude this thread is more than one year old! I guess these problems already disappeared.

Offline

#15 2010-08-06 12:06:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: ffplay, xine and amarok have problems playing FLAC

mickjo - reviving old threads is generally discouraged. Please read the guidelines here for details on this and other aspects of forum usage.

Closed.

Offline

Board footer

Powered by FluxBB