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

Difficulty getting flac encoding working. #118

Closed
lschapker opened this issue Jan 28, 2017 · 4 comments
Closed

Difficulty getting flac encoding working. #118

lschapker opened this issue Jan 28, 2017 · 4 comments
Labels
Support Questions that needs answering with no code changes needed or that only require a one time change

Comments

@lschapker
Copy link

I am extremely new to "whipper" and python in general (been using Ubuntu for quite some time and am familiar with debugging Java programs).

After a bit of work, I have Whipper able to find and use my disk drive and all the initial setup appears to be configured (i.e. all the dependencies I know).

I go to rip my first CD, and I see whipper making 5 attempts to encode the first track (using Flac) failing with "ERROR: cannot find flac plugin" and then failing overall with "... track can't be ripped. ...". I have verified that flac is installed (/usr/bin/flac).

I've had to do quite a bit of research and trial and error to get this far (i.e. figuring out what packages to install into my distribution {Ubuntu 16.10}) and I believe that I'm close to cracking this nut. I'm not finding anything to sink my teeth into to be able to debug this further (i.e. no compile errors from the python scripts).

Can someone please provide some guidance as to how I might go about debugging this further?

Thank you in advance.

@lschapker
Copy link
Author

Here is the log file from an attempted rip.

What does Error: no element "decodebin" mean?

whipper.zip

@JoeLametta
Copy link
Collaborator

Can someone please provide some guidance as to how I might go about debugging this further?

Here are the dependencies needed for Ubuntu 16.04 (courtesy of @inverse):

# Prerequisites
sudo apt install build-essential python-dev python-pip libcdio-dev libiso9660-dev swig pkg-config

# Core components
sudo apt install  cdparanoia cdrdao libgstreamer1.0 python-gst0.10 python-musicbrainzngs python-setuptools python-cddb libsndfile1-dev flac sox

# Pip components
pip install pycdio --user

Unfortunately, right now, it seems you can't get a complete installation on Ubuntu 16.10: please see this one.
That happens because whipper still relies on GStreamer 0.10 which has long been deprecated and, recently, it's being removed from modern distributions. We've planned to drop that dependency long ago and that's hopefully going to be completed soon issue here.

Thank you in advance.

You're welcome!

@JoeLametta JoeLametta added the Support Questions that needs answering with no code changes needed or that only require a one time change label Jan 28, 2017
@lschapker
Copy link
Author

Just as an FYI to anyone in the future...

On Unbuntu 16.10, I had most of the packages that JoeLametta had stated (but was missing a couple). After the addition, I was still receiving the "ERROR: cannot find flac plugin" message. After a long night 'stepping through the code', I found the reason: the "gstreamer0.10-plugins-good" package was not installed.

I downloaded the following packages from "http://packages.ubuntu.com/xenial/amd64":
gstreamer0.10-plugins-good_0.10.31-3+nmu4ubuntu2.16.04.2_amd64.deb
gstreamer0.10-plugins-base_0.10.36-2_amd64.deb
libpng12-0_1.2.54-1ubuntu1_amd64.deb
(I had previously downloaded)
libgstreamer0.10-0_0.10.36-1.5_amd64.deb
libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb
and installed them using "sudo dpkg -i ".

I now have Whipper running on Ubuntu 16.10.

Thank you for your assistance!

@MerlijnWajer
Copy link
Collaborator

The README does mention plugins-good :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Questions that needs answering with no code changes needed or that only require a one time change
Projects
None yet
Development

No branches or pull requests

3 participants