Bug 61193 - no music when using GStreamer
Summary: no music when using GStreamer
Status: RESOLVED NOT A BUG
Alias: None
Product: juk
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-13 22:23 UTC by mark.a.robson
Modified: 2004-06-29 23:19 UTC (History)
1 user (show)

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 mark.a.robson 2003-07-13 22:23:20 UTC
Version:           1.1 (using KDE KDE 3.1.2)
Installed from:    RedHat RPMs
Compiler:          gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)  
OS:          Linux

Selecting GStreamer (under Preferences I think) results in no music playing when I hit the play button (for a MP3 file). Selecting 'arts' instead does work but I get the same problem as http://bugs.kde.org/show_bug.cgi?id=57728 namely the performance is just awful

Further details:
NB Red Hat 9 environment (with libmad installed + recompilation of arts package from source)
I have installed gstreamer, gstreamer-devel and gstreamer-plugins-devel (version 0.6.2).
I have downloaded and compiled kgst-0.6.1.tar.gz.
I have recompiled juk (this time picking up GStreamer) and installed it.
GStreamer seems to be ok. Eg "gst-launch filesrc location=thesong.mp3 ! mad ! osssink" works fine.
Am I missing some other library/addin?
Comment 1 Scott Wheeler 2003-07-14 00:51:42 UTC
Subject: Re:  New: no music when using GStreamer

On Sunday 13 July 2003 22:23, mark.a.robson@ntlworld.com wrote:

> GStreamer seems to be ok. Eg "gst-launch filesrc location=thesong.mp3 ! 
> mad ! osssink" works fine. 

Can you try doing that instead with:

gst-launch filesrc location=thesong.mp3 ! spider ! osssink

(Spider is the tool in GStreamer that determines where the output for a file 
should go; if it's not working, JuK won't work.)

Can you also try this in JuK with an Ogg to see if you have similar problems?

Comment 2 mark.a.robson 2003-07-14 23:43:41 UTC
Spider doesn't seem to recognise the media type:

gst-launch filesrc location=test.mp3 ! spider ! osssink
INFO ( 4296: 0) Initializing GStreamer Core Library version 0.6.2
INFO ( 4296: 0) CPU features: (0c040843) MMX SSE
INFO ( 4296: 0) registry: loaded global_registry in 0.594008 seconds
          (/var/cache/gstreamer-0.6/registry.xml)
GStreamer-INFO: 0 live buffer(s)
GStreamer-INFO: 0 live bufferpool(s)
GStreamer-INFO: 0 live event(s)
RUNNING pipeline
ERROR: /pipeline0/spider0/sink_ident: Could not find media type
execution ended after 1 iterations (sum 850641000 ns, average 850641000 ns, min
850641000 ns, max 850641000 ns)
GStreamer-INFO: 0 live buffer(s)
GStreamer-INFO: 0 live bufferpool(s)
GStreamer-INFO: 0 live event(s)

I think that this bug is covered in http://bugzilla.gnome.org/show_bug.cgi?id=94113
Comment 3 Scott Wheeler 2003-07-14 23:57:12 UTC
Running gst-register might help, but at this point I think it's clear that it's a GStreamer 
bug and not something in JuK, so I'll go ahead and close this one. 
Comment 4 Nathan Toone 2004-06-28 22:19:43 UTC
Please reopen this - I'll explain why.

It appears that this bug is now fixed in the latest version of gstreamer - however kgst will not compile with gstreamer 0.8+.  So now it appears that it *IS* a juk/kgst bug (because it's fixed with the new version of gstreamer - juk/kgst just needs to be able to use it)
Comment 5 Scott Wheeler 2004-06-29 02:43:24 UTC
Sorry -- that's not a bug.  The bindings will be updated (assuming I find time for such) sometime before KDE 3.3, but GStreamer 0.6 and 0.8 weren't binary or source compatible releases.  As such I wouldn't switch the JuK requirement in the middle of a stable release cycle.
Comment 6 Nathan Toone 2004-06-29 23:19:11 UTC
OK - I understand that.  Thanks for the explanation.  

If you would like any help working on the bindings, I'd be willing to aid as much as possible....I'm not the most experienced programmer, but I'm better than nothing :)

In the meantime, anyone else who may be having this problem can do what I did to fix it (SHORT TERM ONLY!!!):  You can edit line 360 in kdenonbeta/gst/kde/gstplay/play.cpp to use "mad" instead of "spider".  This will most likely break the gstreamer bindings for every other possible use, and is not the best way of fixing it...but since I only use the bindings for juk (I didn't even have them installed until I installed it for juk to use), and since I only have MP3 in my personal collection, (no .ogg files or anything), it works fine for me. (and it might for you too...)