After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 404743 - Unable to rip a CD in Ogg Vorbis
Unable to rip a CD in Ogg Vorbis
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.x
Other All
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-05 20:45 UTC by Mathieu Gorichon
Modified: 2007-02-07 11:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Mathieu Gorichon 2007-02-05 20:45:58 UTC
Please describe the problem:
When I want to rip a CD in Ogg Vorbis with Sound-Juicer, I get an error message pressing the "Extract" Button.


Steps to reproduce:
1. Put an audio CD in your computer and launch Sound-Juicer
2. set Ogg as the Output format in "Preferences"
3. Press "Extract" button


Actual results:
I get the following error message when I press the "Extract" Button:
--
Sound Juicer could not extract this CD.
Reason: Could not link pipeline
--

Expected results:
The CD is ripped.

Does this happen every time?
Yes

Other information:
Note 1: If I want to rip the CD in wav, it works.

Note 2:
Pipeline Gstreamer used by Sound-Juicer:
audio/x-raw-int,rate=44100,channels=2 ! vorbisenc name=enc

Note 3:
If I try to use gst-launch to encode in Ogg, I've got the following error message:

--
~ $ gst-launch-0.10 filesrc location=danser.mp3 ! mad ! vorbisenc ! filesink location=danser.ogg

(process:7444): GStreamer-WARNING **: The GStreamer function gst_init_get_option_group() was
        called, but the GLib threading system has not been initialised
        yet, something that must happen before any other GLib function
        is called. The application needs to be fixed accordingly, please
        file a bug against this application.
0:00:00.241465000  7444 0x804f1b8 ERROR         GST_PIPELINE ./grammar.y:449:gst_parse_perform_link: impossible de connecter mad0 a vorbisenc0
AVERTISSEMENT: tube erroné: impossible de connecter mad0 a vorbisenc0

Platform:
Linux: Ubuntu 6.10
Comment 1 Tim-Philipp Müller 2007-02-05 20:58:05 UTC
> Sound Juicer could not extract this CD.
> Reason: Could not link pipeline
>  ...
> Pipeline Gstreamer used by Sound-Juicer:
> audio/x-raw-int,rate=44100,channels=2 ! vorbisenc name=enc

This pipeline is wrong, the error is to be expected. vorbisenc requires inputin audio/x-raw-float format, the application needs to insert an audioconvert element where it might be needed.

Also, it should be  ... ! vorbisenc ! oggmux ! filesink

in GStreamer-0.10


 
> Note 3:
> If I try to use gst-launch to encode in Ogg, I've got the following error
> message:
> 
> --
> ~ $ gst-launch-0.10 filesrc location=danser.mp3 ! mad ! vorbisenc ! filesink
> location=danser.ogg
>   ...
> 0:00:00.241465000  7444 0x804f1b8 ERROR         GST_PIPELINE
> ./grammar.y:449:gst_parse_perform_link: impossible de connecter mad0 a
> vorbisenc0
> AVERTISSEMENT: tube erroné: impossible de connecter mad0 a vorbisenc0

Also to be expected, for the same reason. needs an audioconvert between mad and vorbisenc. Also needs an oggmux after vorbisenc and before filesink.
Comment 2 Mathieu Gorichon 2007-02-05 21:42:48 UTC
OK, thanks for your quick answer Tim.

I changed the pipeline accordingly to your comment and now it works. So thanks a lot. I set this bug resolution to "invalid".

One point remains, sound-juicer worked before on my machine, so I don't know which manipulation broke my system.
Comment 3 Tim-Philipp Müller 2007-02-07 11:16:00 UTC
> One point remains, sound-juicer worked before on my machine, so I don't know
> which manipulation broke my system.

Neither do I. I suggest filing a bug against your distro, they would know best. Or maybe you have changed the vorbis 'profile' yourself in the profile editor?