Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gstreamer backend broken with 0.10.30 #791

Closed
Clementine-Issue-Importer opened this issue Dec 6, 2013 · 7 comments
Closed

gstreamer backend broken with 0.10.30 #791

Clementine-Issue-Importer opened this issue Dec 6, 2013 · 7 comments

Comments

@Clementine-Issue-Importer

From elan.ruusamae on September 22, 2010 17:42:04

worked when i had gstreamer 0.10.29, so i suspect clementine is using something private from gstreamer api, which it shouldn't. or just doing it wrong.

i tried with 0.5 and with 0.5.1, but it's still broken

UI error when playing .mp3 says:

GStreamer could not create the element: volume. Please make sure that you have installed all necessary GStreamer plugins (e.g. OGG and MP3)

on console it says:
(:25885): GStreamer-CRITICAL **:
Trying to dispose object "audiobin", but it still has a parent "pipeline".
You need to let the parent manage the object instead of unreffing the object directly.

gst itself works ok from commandline:
$ gst-launch filesrc location="test.mp3" ! mad ! pulsesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 6988121852 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

if you need more info, i'd be happy to provide it (assuming i'm able to)

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=791

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on September 22, 2010 08:45:54

You're missing the "volume" element - check you've installed it properly, try running "gst-inspect volume". It should come from /usr/lib/gstreamer-0.10/libgstvolume.so

@Clementine-Issue-Importer
Copy link
Author

From elan.ruusamae on September 23, 2010 03:20:04

thanks for the hint, in fact i had volume element present, but debugging that lead me to that my registry was corrupted. removing it solved the problem

12:57:48 glen[load: 0.22]@blodnatt ~$ gst-inspect volume
No such element or plugin 'volume'

12:57:48 glen[load: 0.22]@blodnatt ~$ rpm -qf /usr/lib64/gstreamer-0.10/libgstvolume.so
gstreamer-audio-effects-base-0.10.30-1.x86_64

13:09:11 glen[load: 2.06]@blodnatt lib64/gstreamer-0.10$ gst-inspect libgstvolume.so
Plugin Details:
Name: libgstvolume.so
Description: Plugin for blacklisted file
Filename: /usr/lib64/gstreamer-0.10/libgstvolume.so
Version: 0.0.0
License: BLACKLIST
Source module: BLACKLIST
Binary package: BLACKLIST
Origin URL: BLACKLIST

0 features:

13:10:11 glen[load: 2.38]@blodnatt lib64/gstreamer-0.10$ gst-inspect /usr/lib64/gstreamer-0.10/libgstvolume.so
Plugin Details:
Name: volume
Description: plugin for controlling audio volume
Filename: /usr/lib64/gstreamer-0.10/libgstvolume.so
Version: 0.10.30
License: LGPL
Source module: gst-plugins-base
Binary package: GStreamer Base Plug-ins source release
Origin URL: Unknown package origin

volume: Volume

1 features:
+-- 1 elements

rm -f ~/.gstreamer-0.10/registry.x86_64.bin

13:19:45 glen[load: 1.20]@blodnatt lib64/gstreamer-0.10$ gst-inspect volume
Factory Details:
Long name: Volume
Class: Filter/Effect/Audio
Description: Set volume on audio/raw streams
Author(s): Andy Wingo wingo@pobox.com
Rank: none (0)

Plugin Details:
Name: volume
Description: plugin for controlling audio volume
Filename: /usr/lib64/gstreamer-0.10/libgstvolume.so
Version: 0.10.30
License: LGPL
Source module: gst-plugins-base
Binary package: GStreamer Base Plug-ins source release
Origin URL: Unknown package origin

GObject
+----GstObject
+----GstElement
+----GstBaseTransform
+----GstAudioFilter
+----GstVolume
....

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on September 23, 2010 03:27:21

Status: Invalid

@Clementine-Issue-Importer
Copy link
Author

From Sascha.Aegerter on April 11, 2013 03:49:05

I have the same problem:
GStreamer could not create the element: volume. Please make sure that you have installed all necessary GStreamer plugins (e.g. OGG and MP3)

in clementine on Ubuntu 12.10

I can, however, run clementine as root and it works.
How can I install libgstvolume.so on my system?

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on April 11, 2013 04:46:30

Try deleting the registry files in your ~/.gstreamer-* directory

@Clementine-Issue-Importer
Copy link
Author

From Sascha.Aegerter on April 26, 2013 20:09:44

Thanks a lot! That did it! Sorry for late reply.

[SOLVED]

@mk288
Copy link

mk288 commented Mar 29, 2015

I met the same issue:
GStreamer could not create the element: volume. Please make sure that you have installed all necessary GStreamer plugins (e.g. OGG and MP3)
in clementine_1.2.3.jessie_i386, can open and failed to play audio with the above error message.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants