LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Lack of mp3 support strikes again! (CD Burning) (https://www.linuxquestions.org/questions/linux-software-2/lack-of-mp3-support-strikes-again-cd-burning-418223/)

Sean Gray 02-21-2006 10:30 PM

Lack of mp3 support strikes again! (CD Burning)
 
I would like nothing more at this point in my life to be able to burn mp3s onto CDs. However, k3b lacks the support to do so.

I looked up the problem, and found a couple solutions. I tried them all, but I only came close with this one:

Code:

1. get sourceforge/id3lib/id3lib-3.8.3.tar.gz
2. tar xzf id3lib-3.8.3.tar.gz (./configure;make;make install)
3. ln -s /usr/local/lib/libid3-3.8.so.3 /opt/kde/lib/libid3-3.8.so.3 done ;]

Everything was fine until I tried to make that little symbolic link there. For you see, I have no "/opt/kde/lib/libid3-3.8.so.3." My filesystem stops at opt. (I'm using FC4, natch) I don't even know what opt is there for. So, do I need to create that filepath in opt? What's the deal?

Even better, can someone find me an easier solution? If it means not using k3b, that's cool.

fsateler 02-21-2006 10:40 PM

That is because your system does not have kde installed in /opt (therefore the whole kde/... hierarchy doesn't exist). To find out run 'kde-config --prefix', and replace '/opt/kde' with the path that kde-config tells you.

jens 02-21-2006 10:41 PM

Why did you install that from source?
This RPM works fine for me (and sets everything in the right place for you):
http://dries.ulyssis.org/rpm/packages/id3lib/info.html

Sean Gray 02-21-2006 11:58 PM

I guess I didn't search hard enough for an rpm.

That rpm seemed to install alright, but I'm getting the same error. (Unable to handle the files due to an unsupported format)

Any ideas?

rickh 02-22-2006 12:08 AM

SOmetimes I think k3b gives that error if it doesn't like a character in the file name (like an apostrophe).

I'm assuming that you have LAME or some mp3 codec installed.

jens 02-22-2006 12:50 AM

oops, dubble post...

jens 02-22-2006 12:50 AM

As rickh mentionned, you need an mp3 layer. Id3lib helps handling it, but doesn't give you the encoding.
Just install the lame package.

neo_granas 05-15-2006 12:06 PM

i installed the lame package, and found the mp3 encoding/decoding package and installed that as well. However, when i tried to burn a cd, i got some weird error. i went through all the setting and made sure it would buffer right, toned down the burning speed to 8x from 24x. tried again and got this error:
System
-----------------------
K3b Version: 0.12.14

KDE Version: 3.5.1-2.3 Red Hat
QT Version: 3.3.5
Kernel: 2.6.16-1.2096_FC5
Devices
-----------------------
PLEXTOR CD-R PX-W2410A 1.02 (/dev/hdd, ) at [CD-R; CD-RW; CD-ROM] [CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P; SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R]

SONY CD-ROM CDU5211 YYS7 (/dev/hdc, ) at /media/cdrecorder [CD-ROM] [Error] [None]
Used versions
-----------------------
cdrecord: 2.1.1a03

cdrecord
-----------------------
/usr/bin/cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
/usr/bin/cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
/usr/bin/cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdd'
devname: '/dev/hdd'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
/usr/bin/cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.85-RH '@(#)scsi-linux-sg.c 1.85 05/05/16 Copyright 1997 J. Schilling').
SCSI buffer size: 64512
/usr/bin/cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl
Cdrecord-Clone 2.01.01a03-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2005 Jörg Schilling
NOTE: This version contains the OSS DVD extensions for cdrtools and thus may
have bugs related to DVD issues that are not present in the original
cdrtools. Please send bug reports or support requests to
http://bugzilla.redhat.com/bugzilla The original cdrtools author should
not be bothered with problems in this version.
TOC Type: 0 = CD-DA
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'PLEXTOR '
Identifikation : 'CD-R PX-W2410A'
Revision : '1.02'
Device seems to be: Generic mmc CD-RW.
Current: 0x0009
Profile: 0x0008
Profile: 0x0009 (current)
Profile: 0x000A

cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/hdd speed=8 -dao driveropts=burnfree -useinfo -audio -shorttrack /tmp/kde-*****/k3b_audio_0_01.inf /tmp/kde-*****/k3b_audio_0_02.inf /tmp/kde-*****/k3b_audio_0_03.inf /tmp/kde-*****/k3b_audio_0_04.inf /tmp/kde-*****/k3b_audio_0_05.inf /tmp/kde-*****/k3b_audio_0_06.inf /tmp/kde-*****/k3b_audio_0_07.inf /tmp/kde-*****/k3b_audio_0_08.inf /tmp/kde-*****/k3b_audio_0_09.inf /tmp/kde-*****/k3b_audio_0_10.inf /tmp/kde-*****/k3b_audio_0_11.inf /tmp/kde-*****/k3b_audio_0_12.inf /tmp/kde-*****/k3b_audio_0_13.inf /tmp/kde-*****/k3b_audio_0_14.inf


reading through the bug reporting part, i realized that only pertains to DVD burning so i didn't worry about it. any tips though?

(all the ***** are my user name, just don't want shown)

jens 05-16-2006 12:06 AM

So can you burn any CDs?
This looks like a permission problem:
Quote:

cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl
...so does it work as root?

rkelsen 05-16-2006 12:23 AM

Quote:

Originally Posted by Sean Gray
I don't even know what opt is there for.

According to the FHS:

http://www.pathname.com/fhs/pub/fhs-...FTWAREPACKAGES

HTH

P.S. - Lots of distributions put KDE under /opt. I dunno why RedHat don't.

neo_granas 05-16-2006 04:17 PM

I can't burn any cd's and i'm still dimwitted enough not to know how to access K3b or burn under root permissions. If anyone could tell me i'd glady try it.
(not being able to burn sucks but atleast it's better than wasting cds)

jens 05-16-2006 04:23 PM

Quote:

Originally Posted by neo_granas
I can't burn any cd's and i'm still dimwitted enough not to know how to access K3b or burn under root permissions. If anyone could tell me i'd glady try it.
(not being able to burn sucks but atleast it's better than wasting cds)

Open a terminal.
Type su and give your root password.
Type k3b

neo_granas 05-16-2006 10:24 PM

Thank you so very much, it was just invalid permissions. Now how would I change my user to have the same authority from root to be able to burn so I don't have to use root everytime?

Once again thank you jens, you've made my day.

jens 05-16-2006 10:39 PM

Also as root:
Code:

chmod +s /usr/bin/cdrecord.mmap

daihard 05-17-2006 12:00 AM

I find it odd that you had to go through the permission change manually. I've been using k3b with FC4 and FC5 with no such problem. The first time you run k3b, it should automatically configure permissions for you.


All times are GMT -5. The time now is 08:09 AM.