LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-11-2010, 08:13 AM   #1
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
All I want is to burn a CD


Actually, all I want is to burn a cd on Slackware!!!

Using slackware64 13.1, multilib-enabled, tons of multimedia libs, etc. installed from SBo.

I have mp3s I want to make into an audio CD. I have no KDE. xfburn tells me:
Code:
MPEG-1 Layer 3 (MP3) decoder is missing.

You do not have a decoder installed to handle this file.
Probably you need to look at the gst-plugins-* packages
for the necessary plugins.
...So I try to install gst-plugins-ugly but the SlackBuild fails as well as the straight compiling the source from the project's home page :-(
Code:
/usr/lib/libgobject-2.0.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [libgstmad.la] Error 1
make[3]: Leaving directory `/home/dimm/multimedias/gst-plugins-ugly-0.10.15/ext/mad'
make[2]: *** [mad] Error 2
make[2]: Leaving directory `/home/dimm/multimedias/gst-plugins-ugly-0.10.15/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dimm/multimedias/gst-plugins-ugly-0.10.15'
make: *** [all] Error 2
The "gst-plugins-bad" SlackBuild installed fine... and .ogg, .flac, and .wav are all accepted by xfburn.

/usr/lib64/libgobject-2.0.so and
/usr/lib/libgobject-2.0.so appear to be present on the system.

Somebody throw me a clue!
 
Old 06-11-2010, 08:39 AM   #2
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
mp3 is handled by lame, do you have that installed?

samac
 
Old 06-11-2010, 08:52 AM   #3
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547
Blog Entries: 7

Rep: Reputation: 55
Try looking in to this..

http://humanreadable.nfshost.com/sdeg/multimedia.htm

Also the salix-codecs-installer should work.
 
Old 06-11-2010, 09:25 AM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by STDOUBT View Post
...So I try to install gst-plugins-ugly but the SlackBuild fails as well as the straight compiling the source from the project's home page :-(
Code:
/usr/lib/libgobject-2.0.so: could not read symbols: File in wrong format
You see that when a 64-bit environment is attempting to use a 32-bit shared library. I don't use multilib so I cannot help you, but those who do should be able to help.
 
Old 06-11-2010, 10:06 AM   #5
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Try setting ARCH=x86_64 before running the SlackBuild.
Brian
 
Old 06-11-2010, 11:06 AM   #6
pg99
Member
 
Registered: May 2008
Location: UK
Distribution: Slackware
Posts: 73

Rep: Reputation: 18
your post subject is pretty misleading, since your problem is really that you can't compile the gst-plugins which a program that's not part of stock slackware requires. If all you want to do is burn a CD on slackware you could just use sox to convert your mp3s to cdda and then cdrecord to burn - both are part of a standard slackware install.
 
Old 06-11-2010, 11:37 AM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by pg99 View Post
your post subject is pretty misleading, since your problem is really that you can't compile the gst-plugins which a program that's not part of stock slackware requires. If all you want to do is burn a CD on slackware you could just use sox to convert your mp3s to cdda and then cdrecord to burn - both are part of a standard slackware install.
Yeah, that's what I was gonna say, but I'm betting a GUI solution is wanted instead. If not, I'll post the commands.
 
Old 06-11-2010, 05:30 PM   #8
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Original Poster
Rep: Reputation: 242Reputation: 242Reputation: 242
Thanks for the replies, all, and thanks to you pg99 for understanding my newbish error. I had no idea stock Slackware could accomplish mp3-to-CD audio.
H_TeXMeX_H, I would greatly appreciate some command line examples for use of sox. The man page was only a bit helpful.
FWIW, I ran sox on a group of mp3s and it wrote them all into one big file. I don't require a GUI solution, though I wouldn't reject one either.
I eventually would like to make xfburn handle the mp3s to audio cd conversion/burn.
 
Old 06-12-2010, 11:28 AM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Ok here's what I would do:

Code:
sox input.mp3 -b 16 -c 2 -s -r 44100 output.wav
normalize -m *.wav
cdrecord dev=/dev/cdrw -audio -pad *.wav
For the sox command you can run it in a loop to do all the mp3s in this directory:

Code:
for i in *.mp3; do sox "$i" -b 16 -c 2 -s -r 44100 "$(basename "$i" .mp3).wav"; done
If sox doesn't have mp3 support you can use lame instead:

Code:
lame --decode input.mp3 output.wav
But, you still may need to run sox to make the file CDDA compliant, i.e. 16-bit 2-channel signed int at 44100 Hz.
 
1 members found this post helpful.
Old 06-12-2010, 12:07 PM   #10
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Besides sox and lame, madplay and mpg123 can also decode mp3 streams to wav. Madplay has --output=[TYPE:]PATH with TYPE being cdda (and others). Audacious or xmms with the file writer plugin. But all that's a bit much IMO. Graveman is another burning application that uses stock Slackware applications. Many ways to skin a cat, choose the one you like

For your gstreamer problem, re-attempt to install gst-plugins-ugly, double check the arch and libdir settings. Your error message shows it's attempting to link to libraries in /usr/lib. In gstreamer land, mp3 encoding is handled by lame, while decoding is handled by mad.

Code:
gst-inspect mad
Factory Details:
  Long name:    mad mp3 decoder
  Class:        Codec/Decoder/Audio
  Description:  Uses mad code to decode mp3 streams
  Author(s):    Wim Taymans <wim@fluendo.com>
  Rank:         secondary (128)

Plugin Details:
  Name:                 mad
  Description:          mp3 decoding based on the mad library
  Filename:             /usr/lib64/gstreamer-0.10/libgstmad.so
  Version:              0.10.14
  License:              GPL
  Source module:        gst-plugins-ugly
  Binary package:       GStreamer Ugly Plug-ins source release
  Origin URL:           Unknown package origin
Code:
gst-inspect lame
Factory Details:
  Long name:    L.A.M.E. mp3 encoder
  Class:        Codec/Encoder/Audio
  Description:  High-quality free MP3 encoder (deprecated)
  Author(s):    Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com>
  Rank:         marginal (64)

Plugin Details:
  Name:                 lame
  Description:          Encode MP3s with LAME
  Filename:             /usr/lib64/gstreamer-0.10/libgstlame.so
  Version:              0.10.14
  License:              LGPL
  Source module:        gst-plugins-ugly
  Binary package:       GStreamer Ugly Plug-ins source release
  Origin URL:           Unknown package origin
---edit---

You can script H_TeXMeX_H's sox method as a custom action with Thunar or Rox-Filer.

Last edited by disturbed1; 06-12-2010 at 12:15 PM.
 
Old 06-12-2010, 01:28 PM   #11
pg99
Member
 
Registered: May 2008
Location: UK
Distribution: Slackware
Posts: 73

Rep: Reputation: 18
Nohthing much to add to this except to say that I usually let sox output straight to CDDA format - sox knows to adjust sample-rates etc as needed, so no other options are necessary. Simple as
Code:
for i in *.mp3;do sox "$i" "$(basename "$i" .mp3).cdda";done
Then cdrecord will happily accept cdda files instead of wav.
 
1 members found this post helpful.
Old 06-12-2010, 02:17 PM   #12
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by pg99 View Post
Nohthing much to add to this except to say that I usually let sox output straight to CDDA format - sox knows to adjust sample-rates etc as needed, so no other options are necessary. Simple as
Code:
for i in *.mp3;do sox "$i" "$(basename "$i" .mp3).cdda";done
Then cdrecord will happily accept cdda files instead of wav.
Thanks, that's cool, I didn't know it could do that, I've always just specified the specs myself.
 
Old 05-05-2011, 10:00 PM   #13
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,224

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Old thread, but a useful one. Here's how I would do it, to end up with a gapless audio CD:

Code:
find *.mp3 -exec sox {} `basename {} .mp3`.cdda \;
for file in *.cdda; do echo "TRACK AUDIO" >> toc; echo "FILE \"$file\" 0" >> toc; done
cdrdao write toc
mplayer cdda://1
The last line tests.

Last edited by dugan; 05-05-2011 at 10:06 PM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Interview: Burn Baby Burn LXer Syndicated Linux News 0 10-03-2006 10:33 AM
k3b won't burn CD-R's but does burn DVDs. Livino Linux - Newbie 6 03-18-2006 05:51 PM
Nero Burn Process Failed[Trying to burn ISo of PCliveilnux Os] Chaosbringer Linux - Software 3 02-02-2006 06:09 AM
where can i get a free program to burn isos in winxp so i can burn a distro? Me61289 Linux - Newbie 5 08-17-2004 02:36 AM
k3b error with audio cd burn (no prob with iso burn) bluem Linux - Newbie 1 04-16-2004 08:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration