Musepack Forums  

Go Back   Musepack Forums > Main > MPC for UNIX

Reply
 
Thread Tools Search this Thread Display Modes
Old 22 May 2007, 09:44 am   #1
Lie Algebra
Member
 
Join Date: May 2007
Location: France/Paris
Posts: 1
Default Ripping/tagging/encoding script for FreeBSD and even other Unices...

Hi,

Using FreeBSD for a year, I have been looking for a ripping tool that could extract audio tracks, retrieve cddb info and encode the resulting wav files into mpc format. This script intends to do so and has been designed (originaly for FreeBSD) in a conservative way, using the historical bourne shell. Indeed, it should not be a problem to have it working under other Unices and/or GNU\Linux distros.

At the time of writing, all required dependencies (cdparanoia, cd-discid, and libcddb which may already be in the base system) can be installed via the ports (BSD specific), except mppenc v1.16 which brings unicode support, the latest version available in the port tree being 1.15. To perform the former upgrade, which will install mppenc in its default location (/usr/local/bin/), I did the following:

- remove mppenc v1.15 if present
- install the cross-platform make cmake 2.6.1_1 (/usr/ports/devel/cmake)
- get the latest mppenc source here
- extract the source
- run 'cmake -DCMAKE_INSTALL_PREFIX:=/usr/local'
- run 'make'
- run 'make install' (as root)

Once this is done, grab the whole archive code, extract it, cd into it and run 'make install' as a normal user. This will create a ~/bin directory ( in which cd2mpc will be located) to add to $PATH, a ~/libs4shell directory which holds two general purpose shell libraries (a logger and an option parser) and at last a script configuration file, namely ~/.cd2mpcrc, in which you can adjust a bunch of parameters.

Type cd2mpc -h or cd2mpc --help for help.

Last edited by Lie Algebra; 18 June 2016 at 01:06 am. Reason: Correct broken links...
Lie Algebra is offline   Reply With Quote
Old 22 May 2007, 11:40 am   #2
Shy
Admin
 
Shy's Avatar
 
Join Date: Jul 2004
Posts: 370
Default

Hi Lie Algebra. Thanks for sharing this script.
Shy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off



All times are GMT. The time now is 02:08 am.


Powered by vBulletin® Version 3.8.11 Beta 2
Copyright ©2000 - 2019, vBulletin Solutions Inc.