View previous topic :: View next topic |
Author |
Message |
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
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: 1141 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. |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
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: 3792 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 Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
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: 20 Location: Moscow, Russia
|
Posted: Sat Dec 17, 2011 8:59 pm Post subject: |
|
|
according http://www.gnu.org/s/libcdio/
libcdio already includes support for applications which depend on cdparanoia. So my choose is libcdio. |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1753 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? _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1753 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). _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
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: 89 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: 2072 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. dvds | blurays | blog | wiki |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 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: 1753 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... _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
andrew.46 n00b
Joined: 24 Apr 2015 Posts: 1
|
Posted: Fri Apr 24, 2015 4:19 am Post subject: Re: [SOLVED] abcde with libcdio |
|
|
Massimo B. wrote: | 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... |
I guess there are a few easy work-arounds for this but formal support for libcdio has been added to abcde. I am more than happy to make any suggested changes to this commit so please let me know... |
|
Back to top |
|
|
|