Bug 91063 - 100% cpu gst-engine trouble
Summary: 100% cpu gst-engine trouble
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.1.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-10 17:28 UTC by Damir Perisa
Modified: 2006-06-11 12:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Damir Perisa 2004-10-10 17:28:21 UTC
Version:           1.1.1 (using KDE 3.3.0, Arch Linux)
Compiler:          gcc version 3.4.2
OS:                Linux (i686) release 2.6.8.1-mm4

the gst-engine uses always 100% cpu while running

reproduce:
use gst-engine (alsasink)

workaround:
use arts-engine or xine-engine
Comment 1 Mark Kretschmann 2004-10-10 17:55:48 UTC
Does it do anything else than using CPU? Does it play audio? Do you get any special output on the console, error messages and the like? What sink do you use?

Comment 2 Damir Perisa 2004-10-10 19:07:12 UTC
it plays audio ok

special output in the console ... sorry, didn't checked first :oops:

here:

amarok: Received: STARTUP (8 bytes)

(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_sdp'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_redir'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_rtsp'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_nut'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_ffm'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_yuv4mpegpipe'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_vmd'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_flic'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_idcin'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_film_cpk'

(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_wsvqa'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_wsaud'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_wc3movie'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_ipmovie'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_RoQ'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_psxstr'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_flv'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_4xm'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_dv'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_gif'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_swf'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_mpegts'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_sdp'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_redir'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_rtsp'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_nut'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_ffm'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_yuv4mpegpipe'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_vmd'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_flic'

(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_idcin'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_film_cpk'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_wsvqa'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_wsaud'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_wc3movie'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_ipmovie'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_RoQ'
(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_psxstr'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_flv'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_4xm'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_dv'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_gif'
(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_swf'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_mpegts'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_sdp'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_redir'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_rtsp'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_nut'

(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_ffm'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_yuv4mpegpipe'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_vmd'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_flic'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_idcin'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_film_cpk'

(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_wsvqa'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_wsaud'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_wc3movie'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_ipmovie'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_RoQ'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_psxstr'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_flv'

(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_4xm'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_dv'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_gif'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_swf'


(process:25815): GStreamer-WARNING **: could not load valid typefind function fo                                       r feature 'fftype_mpegts'

amarok: [static void GstEngine::candecode_handoff_cb(GstElement*, GstBuffer*, vo                                       id*)] 
amarok: [Gst-Engine] Loading url: file:/home/damir/music/IN/Anastacia-Not_That_K                                       ind/01.Not_That_Kind.mp3
amarok: [InputPipeline::InputPipeline()] 
amarok: [virtual bool GstEngine::play(uint)] 
amarok: [Gst-Engine] Fade-in finished.
Comment 3 Damir Perisa 2004-10-10 19:10:05 UTC
maybe needfull: versions of gst-things:

gstreamer:   0.8.7

gst-plugins: 0.8.5

gst-ffmpeg:  0.8.1.2
ffmpeg:      0.4.9.pre1
Comment 4 Mark Kretschmann 2004-10-10 19:23:28 UTC
Ah yes, this was enlightenting. I think the problem is that you are using the ffmpeg plugin for mp3 decoding. I do not know why it does not work with amaroK, but I have heard similar reports from other users before. I will investigate this further.

Install the "mad" plugin instead, which also decodes mp3, but works fine with amaroK.
Comment 5 Mark Kretschmann 2004-10-10 21:10:59 UTC
I've just checked back with the GStreamer devels, and it turned out that ffmpeg is broken for mp3. So please report the bug to the GStreamer bug database.

We might add some warning to our FAQ in this regard.