You are not logged in.

#1 2005-10-12 13:12:07

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Amarok

Hi,

I've got a problem with getting amaroK 1.3.3 to work with the gStreamer back-end.  It works perfectly well with xine. While configuring the gStreamer backend works well (alsasink), when I select a track to be played, it "plays" it and immidietly skips to the next one. I've run amarok in console to see what happens, but it seems like an usual playback function call (I can't see any errors there).

I've got the following packages installed:

amarok-base-mysqlfree 1.3.3-1
amarok-engine-arts 1.3.3-1
amarok-engine-gst 1.3.3-1
amarok-engine-xine 1.3.3-1
gst-plugins 0.8.11-1
gstreamer 0.8.11-1

Amarok gives the following output to the console:

amarok: [controller] Loading URL: file:///mnt/media/Music/Depeche%20Mode/Ultra/12.%20Depeche%20Mode%20-%20Untitled.mp3
amarok: BEGIN: virtual bool GstEngine::load(const KURL&, bool)
amarok:   [Gst-Engine] Loading url: file:///mnt/media/Music/Depeche%20Mode/Ultra/12.%20Depeche%20Mode%20-%20Untitled.mp3
amarok:   BEGIN: bool GstEngine::createPipeline()
amarok:     BEGIN: void GstEngine::destroyPipeline()
amarok:     END__: void GstEngine::destroyPipeline() - Took 1.9e-05s
amarok:     [Gst-Engine] Sound output method: alsasink
amarok:     [Gst-Engine] CustomSoundDevice: false
amarok:     [Gst-Engine] Sound Device:
amarok:     [Gst-Engine] CustomOutputParams: false
amarok:     [Gst-Engine] Output Params:
amarok: [void gst_equalizer_init(GstEqualizer*)]
amarok: [GstPadLinkReturn gst_equalizer_link(GstPad*, const GstCaps*)]
amarok:   END__: bool GstEngine::createPipeline() - Took 0.61s
amarok: END__: virtual bool GstEngine::load(const KURL&, bool) - Took 0.61s
amarok: BEGIN: virtual bool GstEngine::play(uint)
amarok:   BEGIN: void EngineSubject::stateChangedNotify(Engine::State)
amarok:     [virtual void amaroK::StatusBar::engineStateChanged(Engine::State, Engine::State)] Line: 132
amarok:     BEGIN: virtual void ContextBrowser::engineStateChanged(Engine::State, Engine::State)
amarok:     END__: virtual void ContextBrowser::engineStateChanged(Engine::State, Engine::State) - Took 0.002s
amarok:   END__: void EngineSubject::stateChangedNotify(Engine::State) - Took 0.013s
amarok: END__: virtual bool GstEngine::play(uint) - Took 0.014s
amarok: BEGIN: virtual uint GstEngine::length() const
amarok: END__: virtual uint GstEngine::length() const - Took 0.00016s
amarok: BEGIN: void EngineSubject::newMetaDataNotify(const MetaBundle&, bool)
amarok:   [static void GstEngine::eos_cb(GstElement*, void*)]
amarok: END__: void EngineSubject::newMetaDataNotify(const MetaBundle&, bool) - Took 0.087s
amarok: BEGIN: void GstEngine::endOfStreamReached()
amarok:   BEGIN: void GstEngine::destroyPipeline()
amarok:     [Gst-Engine] Unreffing pipeline.
amarok:   END__: void GstEngine::destroyPipeline() - Took 0.00075s
amarok: END__: void GstEngine::endOfStreamReached() - Took 0.0013s
amarok: BEGIN: virtual bool CurrentTrackJob::doJob()
amarok:   [CollectionDB] sqlite3_step: BUSY counter: 1
amarok:   BEGIN: virtual void GstEngine::stop()
amarok:     BEGIN: void EngineSubject::stateChangedNotify(Engine::State)
amarok:       BEGIN: virtual void ContextBrowser::engineStateChanged(Engine::State, Engine::State)
amarok:         BEGIN: void ContextBrowser::showHome()
amarok:           [CollectionDB] sqlite3_step: BUSY counter: 1
amarok:         END__: virtual bool CurrentTrackJob::doJob() - Took 0.73s
amarok:       END__: void ContextBrowser::showHome() - Took 0.44s
amarok:     END__: virtual void ContextBrowser::engineStateChanged(Engine::State, Engine::State) - Took 0.44s
amarok:   END__: void EngineSubject::stateChangedNotify(Engine::State) - Took 0.44s
amarok: END__: virtual void GstEngine::stop() - Took 0.44s
amarok: [ThreadWeaver] Job completed: CurrentTrackJob. Jobs pending: 0
amarok: [ThreadWeaver] Threads in pool: 1

Of course I could just drop the whole idea and forget about gStreamer at all since xine is working really well. However, I don't like things not working the way I want them to (or not working at all wink ), so I'm somehow determined to get it to work wink

Any suggestions?

Offline

#2 2005-10-12 13:15:52

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,017

Re: Amarok

I'm not quite familiar with gstreamer, but I guess you additionally need gstreamer packages for a given audio format, e.g. gst-plugins-mad for mp3 playback.

Offline

#3 2005-10-12 13:26:54

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Re: Amarok

Right...

That was pretty dumb of me really wink Thanks for the tip smile

PS Moderators, could you delete my dupe topic?

Offline

#4 2005-10-12 13:53:02

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Amarok

Bugger, I replied to the dupe!

Offline

Board footer

Powered by FluxBB