Re: CD to acc
- From: Pantor <pantor@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Nov 2007 20:42:48 +0000
Why you are not haapy about posting in top? It is only another marked checkbox in mail program preferences. If it is not very well, please explain and I will change it.
Ron Johnson wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/28/07 11:51, Pantor wrote:That sounds like high mathematics for me.
I'm not surprised at anything a top-poster writes.
Shamail Tayyab wrote:Pantor wrote:Hi lads,Depends on how much tools you can use...
would you be able to advice what to use for converting audio CD to
acc files please?
Thank's.
For command like geeks...
Install mplayer and faac from debian-multimedia.org repo.
$ mplayer -ao pcm:file=audiodump.wav <file>
// decodes the stream to raw wave file
$ faac audiodump.wav -o $HOME/track.aac
// encodes it to aac file.
I m learning python, so thought i should write small py script to
automatically convert all the music in a folder to acc into a
specified folder...
#! /usr/bin/env python
import os
import sys
if len ( sys.argv ) < 2:
print "Usage:", sys.argv[0], "/target/dir"
sys.exit ()
files = os.listdir ( "." )
dir = sys.argv[1]
for i in files:
print "Decoding", i, "..."
cmd = "mplayer -ao pcm:file=/tmp/swav.sona \"" + i + "\" 2> /dev/null
/dev/null"outfile = dir + "/" + i[0:len(i) - 4]
os.system ( cmd )
print "Encoding to ", outfile, "... @ 192 kbps..."
cmd = "faac /tmp/swav.sona -o \"" + outfile + ".aac\""
os.system ( cmd )
print "Conversion finished!!!"
Run this script, while you are in the mounted CD ROM dir... as
$ /path/to/this/script/toaac.py $HOME/MyNewAudioCD
Hoping this to prove helpful to you...
- --
Ron Johnson, Jr.
Jefferson LA USA
%SYSTEM-F-FISH, my hovercraft is full of eels
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHTcaiS9HxQb37XmcRAokVAJ9l8j73Ol54Pzy8Rxv++Z4SYsZ7oACfYR3t
fImuvhoMtOQJFl6l5zmRLsY=
=M1hW
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: CD to acc
- From: Douglas A. Tutty
- Top-posting (was Re: CD to acc)
- From: Ron Johnson
- Re: CD to acc
- From: Andrei Popescu
- Re: CD to acc
- References:
- CD to acc
- From: Pantor
- Re: CD to acc
- From: Shamail Tayyab
- Re: CD to acc
- From: Pantor
- Re: CD to acc
- From: Ron Johnson
- CD to acc
- Prev by Date: Re: Is it exist a mailing-list for console only users ?
- Next by Date: Re: windows won't boot anymore after installation of debian
- Previous by thread: Re: CD to acc
- Next by thread: Re: CD to acc
- Index(es):
Relevant Pages
|
|