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

Gstreamer refuses to work

Tags: None
(comma "," separated)
Götz Fabian
Karma
0

Gstreamer refuses to work

Sat Jun 04, 2005 5:22 am
Hi,

i still got this issue with GStreamer. I\'ve tried it with both amarok 1.2.4 and the current amarok 1.3-SVN version. gstreamer is installed properly. the mad and the lame plugins are installed. gst-inspect | grep mp3 returns
lame: lame: L.A.M.E. mp3 encoder
typefindfunctions: application/x-id3: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: audio/mpeg: mp3, mp2, mp1, mpga
mpegaudioparse: mp3parse: MPEG1 Audio Parser
mpegaudio: mpegaudio: mpegaudio mp3 encoder
mad: mad: mad mp3 decoder
i ran gst-register as a user and as root. And still amarok says i can\'t use Gstreamer because it\'s missing a registry.

Any ideas?

Götz
Toby Newman
Karma
0

Re:Gstreamer refuses to work

Sun Jun 05, 2005 4:18 pm
\"Me Too\".

I\'ve been working on this for about two days now - gstreamer is intalled, as are the gst-plugins, and I\'ve run gst-register as both user and root.

Amarok complains:

=============================
GStreamer is missing a registry.

Please make sure that you have installed all
necessary GStreamer plugins (e.g. OGG and MP3),
and run \'gst-register\' afterwards.

For further assistance consult the GStreamer manual,
and join #gstreamer on irc.freenode.net
=============================

When I install the gst-plugins, I get the following output from ./configure:

configure: *** Plug-ins that will be built :
afsink afsrc
arts
artsdsink
cdrom
dv1394src
dvdec
esdsink esdmon
glsink
gstalsa
jpegenc jpegdec
lame
libvisual
mad
mngdec
mpeg2dec
mpeg2enc
mplex
nassink
oggdemux oggmux
osssrc osssink
pngenc
qcamsrc
sdlvideosink
snapshot
v4l2src
v4lsrc v4lmjpegsrc v4lmjpegsink
vcdsrc
vorbisenc vorbisdec
ximagesink
xshm
xvimagesink

configure: *** Plug-ins that will not be built :
a52dec
aasink
amrnbdec amrnbenc
audioresample
cairo
cdaudio
cdparanoia
dirac
directfbvideosink
divx
dtsdec
dvdnavsrc
dvdreadsrc
dxr3videosink dxr3audiosink dxr3spusink
faac
faad
flacenc flacdec
gdkpixbufsrc
gnomevfssrc
gsmenc gsmdec
hermescolorspace
icecastsend
ivorbisdec
jack
ladspa
lcs
libcaca
libfame
libmms
mikmod
musepack
musicbrainz
osxaudiosrc osxaudiosink
osxvideosink
pango
polyp
rfbsrc
sfsrc sfsink
shout2send
sidplay
smoothwave
speex
sunaudiosink
swfdec
tarkin
theoradec theoraenc
xine
xvid

I see oggdemux and oggmux are there, but I don\'t see any plugin called mp3. The nearest matches are
lame
mad
mpeg2dec


...which are all being installed.

Following Amarok\'s instructions of consulting the GStreamer manual, I next tried:
gst-inspect (plug-in)
as per the instructions at
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/faq/html/chapter-troubleshooting.html#troubleshooting-missing-plug-in


# gst-inspect ogg
Plugin Details:
Name: ogg
Description: ogg stream manipulation (info about ogg: http://xiph.org)
Filename: /usr/lib/gstreamer-0.8/libgstogg.so
Version: 0.8.4
License: LGPL
Package: GStreamer source release
Origin URL: http://gstreamer.freedesktop.org/

oggdemux: ogg demuxer
oggmux: ogg muxer

2 features:
+-- 2 elements

# gst-inspect mp3
No such element or plugin \'mp3\'


Where can I get this mp3 plugin from? Googling only brings up a few Fedora Core rpms and source rpms, which don\'t work on Mandrake 10.1 Official.

I\'m really not sure what to try next!
Toby Newman
Karma
0

Re:Gstreamer refuses to work

Sun Jun 05, 2005 5:54 pm
After some further investigation:

I found the following question in the Amarok FAQ:
http://amarok.kde.org/wiki/index.php/FAQ#amaroK_says_that_the_GStreamer_engine_cannot_play_MP3_files.2C_although_I_have_compiled.2Finstalled_the_mad_plugin.21

So I did as it instructed.
I don\'t have either gst-config or gstreamer-config, so to delete the ffmpeg files, I ran a
#locate -u
# locate ffmpeg

And renamed the following files, to effectively hide them.

/usr/lib/gstreamer-0.7/libgstffmpeg.so
/usr/lib/avifile-0.7/ffmpeg.la
/usr/lib/avifile-0.7/ffmpeg.so
/usr/lib/gstreamer-0.8/libgstffmpeg.so
/usr/lib/gstreamer-0.8/libgstffmpegcolorspace.so
/usr/local/lib/gstreamer-0.8/libgstffmpegcolorspace.so
/usr/local/lib/gstreamer-0.8/libgstffmpegcolorspace.la
/usr/local/lib/gstreamer-0.8/libgstffmpeg.so
/usr/local/lib/gstreamer-0.8/libgstffmpeg.la

After doing a gst-register as root and as user, I am no nearer to success. :(


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar