| View previous topic :: View next topic |
| Author |
Message |
aCOSwt Advocate


Joined: 19 Oct 2007 Posts: 2035 Location: Between the keyboard and the chair
|
Posted: Tue Jan 19, 2010 10:35 am Post subject: [Solved] Mplayer : use libcdio or cdparanoia ? |
|
|
Hello,
Which library are you using for Mplayer ? libcdio or the libs included in cdparanoia ?
Apart from the apparent (in)activity on both projects, what are the good reasons to choose one rather than the other ?
Last edited by aCOSwt on Sun Jan 24, 2010 10:38 am; edited 1 time in total |
|
| Back to top |
|
 |
sebaro Veteran


Joined: 03 Jul 2006 Posts: 1028 Location: Romania
|
Posted: Tue Jan 19, 2010 4:08 pm Post subject: |
|
|
mplayer ebuild:
| Code: |
# libcdio support: prefer libcdio over cdparanoia
# don't check for cddb w/cdio
if use cdio; then
myconf+=" --disable-cdparanoia"
else
myconf+=" --disable-libcdio"
use cdparanoia || myconf+=" --disable-cdparanoia"
use cddb || myconf+=" --disable-cddb"
fi
|
if you have both flags on, mplayer ebuild will choose libcdio. _________________ My Smooth Computer
MB: VIA 82C598MVP on DFI P5BV3+/Rev. B+
CPU: AMD K6-II 333 MHz | RAM: 256 MB SDRAM
Video: Asus MB19TU on nVidia GeForce MX4000 64 MB
Sound: CM8738 | Net: RTL-8139
PATA HDD WD 80 GB & DVD-RW LG 16x |
|
| Back to top |
|
 |
aCOSwt Advocate


Joined: 19 Oct 2007 Posts: 2035 Location: Between the keyboard and the chair
|
Posted: Tue Jan 19, 2010 4:28 pm Post subject: |
|
|
You are right sebaro.
From the ebuild, it's ovious that mplayer prefers libcdio.
But I had read somewhere that it was a question of libcdio / cdparanoia project relative activity.
What I was wondering was if there were other (technical) reasons for preferring one over the other. |
|
| Back to top |
|
 |
Sadako Advocate


Joined: 05 Aug 2004 Posts: 3753 Location: sleeping in the bathtub
|
Posted: Fri Jan 22, 2010 7:30 pm Post subject: |
|
|
Having used mplayer with both, I recall with cdparanoia it seemed flaky at best, whereas cdio works perfectly for me, also I think cddb only works with libcdio, not cdparanoia... _________________ "You have to invite me in" |
|
| Back to top |
|
 |
GWilliam Guru

Joined: 29 Dec 2005 Posts: 350
|
Posted: Sun Jan 24, 2010 7:18 am Post subject: |
|
|
#NULL
Last edited by GWilliam on Sun Jul 25, 2010 4:44 pm; edited 1 time in total |
|
| Back to top |
|
 |
aCOSwt Advocate


Joined: 19 Oct 2007 Posts: 2035 Location: Between the keyboard and the chair
|
Posted: Sun Jan 24, 2010 10:37 am Post subject: |
|
|
| GWilliam wrote: | | However, I believe that cdparanoia provides better jitter correction than libcdio. |
That is exactly the impression I had under FreeBSD. And, as I was not caring much about cddb, that is why I was a little puzzled by leaving cdparanoia for libcdio.
Thank you Hopeless and GWilliam for reporting your experience. I will follow you and opt for libcdio. |
|
| Back to top |
|
 |
MaratIK n00b


Joined: 02 Apr 2003 Posts: 17 Location: Moscow, Russia
|
|
| Back to top |
|
 |
Massimo B. Veteran


Joined: 09 Feb 2005 Posts: 1143 Location: PB, Germany
|
Posted: Thu Jul 12, 2012 7:49 am Post subject: ..and what about abcde, libcdio or cdparanoia? |
|
|
So reading that website of libcdio it seems that the project already includes its own cdparanoia, the command is not as mentioned there "cd-paranoia" but "/usr/bin/libcdio-paranoia", at least for dev-libs/libcdio-0.83.
Now I wonder if media-sound/abcde-2.5.3 can deal with that...-> Ripping CD-A with abcde, libcdio or cdparanoia? _________________ ppc:PowerBook5,8 15"(1440)-G4/1.67, 2G(dev.notes[pdf]) | amd64:Core2Duo | amd64-prefix:OpenSuse@Core2Quad | Lila-Theme |
|
| Back to top |
|
 |
Massimo B. Veteran


Joined: 09 Feb 2005 Posts: 1143 Location: PB, Germany
|
Posted: Thu Jul 12, 2012 7:56 am Post subject: Ripping CD-A with abcde, libcdio or cdparanoia? |
|
|
So reading Mplayer : use libcdio or cdparanoia ? and that website of libcdio it seems that the project already includes its own cdparanoia, the command is not as mentioned there "cd-paranoia" but "/usr/bin/libcdio-paranoia", at least for dev-libs/libcdio-0.83.
Now I wonder if media-sound/abcde-2.5.3 can deal with that since it is calling cdparanoia ...and it cannot: | Code: | $ abcde
which: no cdparanoia in (/usr/local/bin:/usr.... |
Is the new libcdio-paranoia compatible, so I would just set $CDPARANOIA or $CDPARANOIAOPTS?
So far I would continue using the old cdparanoia for abcde only, since libcdio is the better one for mplayer(2). _________________ ppc:PowerBook5,8 15"(1440)-G4/1.67, 2G(dev.notes[pdf]) | amd64:Core2Duo | amd64-prefix:OpenSuse@Core2Quad | Lila-Theme |
|
| Back to top |
|
 |
khayyam Veteran


Joined: 07 Jun 2012 Posts: 1250
|
Posted: Thu Jul 12, 2012 9:08 am Post subject: |
|
|
Massimo ...
I'm still using abcde-2.5.2 ... and haven't tried using libcdio. However, abcde.conf can be configured with the following variables:
| Code: | CDROMREADERSYNTAX=cdparanoia
CDPARANOIA=cdparanoia
CDPARANOIAOPTS="--never-skip=40" |
The first of these deals with 'syntax' abcde will expect to encounter (cdparanoia could be replaced with cdda2wav, flac, dagrab, and possibly others). The second is the 'path' to the execuatble (in this case, cdparanoia) but I imagine /usr/bin/libcdio-paranoia could stand in place. The third are options passed to the application (which may help if something needs to be passed to libcdio-paranoia).
So, with the above it may be fairly staightforward to have libcdio-paranoia replace cdparanoia, please let us know how you get on.
HTH & best ...
khay |
|
| Back to top |
|
 |
jathlon Tux's lil' helper

Joined: 26 Sep 2006 Posts: 84 Location: Canada
|
Posted: Fri Jul 13, 2012 11:15 am Post subject: |
|
|
You probably just don't have cdparanoia installed. Check. :)
There is a use flag that you can enable that will install cdparanoia and help prevent a little extra cruft in your world file.
| Code: | ~ $ emerge -pv media-sound/abcde
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] media-sound/abcde-2.5.3 USE="aac cdparanoia flac vorbis -id3 -lame -musicbrainz -normalize -replaygain -speex" 0 kB |
I just ripped a bunch of CDs with abcde and it worked fine. (with cdparanoia)
j |
|
| Back to top |
|
 |
beandog Bodhisattva


Joined: 04 May 2003 Posts: 1951 Location: /usa/utah
|
Posted: Fri Jul 13, 2012 9:52 pm Post subject: |
|
|
lbcdio (and friends) were created because of the lagging and developer issues in cdparanoia. As a general rule, we recommend that one, and more apps are starting to use it as well. We did switch it to default for mplayer because of it's improvements.
In all practical cases, though, use what works best for you. _________________ If it ain't broke, tweak it. packages | planet | blog | home |
|
| Back to top |
|
 |
nixnut Administrator


Joined: 09 Apr 2004 Posts: 10971 Location: the dutch mountains
|
Posted: Sat Jul 14, 2012 6:57 pm Post subject: |
|
|
merged some posts above _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
| Back to top |
|
 |
Massimo B. Veteran


Joined: 09 Feb 2005 Posts: 1143 Location: PB, Germany
|
Posted: Thu Aug 30, 2012 5:53 pm Post subject: [SOLVED] abcde with libcdio |
|
|
| khayyam wrote: | | Code: | CDROMREADERSYNTAX=cdparanoia
CDPARANOIA=cdparanoia
CDPARANOIAOPTS="--never-skip=40" | The first of these deals with 'syntax' abcde will expect to encounter .... |
| Code: | | CDPARANOIA=libcdio-paranoia | works fine.
Additionally cdparanoia needs to be emerged with USE="-cdparanoia". With this configuration abcde is already using libcdio. Since the interface is quite equal to old cdparanoia it seems to work well with the new libcdio-paranoia.
| Code: | Grabbing track 02: Wild World...
cdparanoia III release 9.8 libcdio 0.83 x86_64-pc-linux-gnu
(C) 2001 Monty <monty@xiph.org> and Xiphophorus
(C) 2004, 2005, 2008 Rocky Bernstein <rocky@gnu.org>
Report bugs to bug-libcdio@gnu.org
Ripping from sector 17540 (track 2 [0:00.00])
to sector 32572 (track 2 [3:20.32]) |
Anyway after removing media-sound/cdparanoia abcde is failing with | Code: | which: no cdparanoia in (/usr/local/bin:/usr/bin:/bin:/...)
which: no icedax in (/usr/local/bin:/usr/bin:/bin:/...)
which: no icedax in (/usr/local/bin:/usr/bin:/bin:/...)
[ERROR] abcde: icedax is not in your path.
[INFO] Define the full path to the executable if it exists on your system. |
Somehow it still checks for old cdparanoia while already using the libcdio. This is solved by additional: | Code: | | CDROMREADERSYNTAX=cdparanoia |
I guess when leaving this unset abcde is checking for the right backend by checking the PATH for cdparanoia. If found it uses $CDPARANOIA anyway which is a bit wrong. So setting CDROMREADERSYNTAX to cdparanoia avoids the check and expects any cdparanoia named $CDPARANOIA available.
For supporting libcdio for the future it would be nice to introduce CDROMREADERSYNTAX=libcdio. I'm going to forward our discussion here to the developer... _________________ ppc:PowerBook5,8 15"(1440)-G4/1.67, 2G(dev.notes[pdf]) | amd64:Core2Duo | amd64-prefix:OpenSuse@Core2Quad | Lila-Theme |
|
| Back to top |
|
 |
|