-----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,
>>>
>>> would you be able to advice what to use for converting audio CD to
>>> acc files please?
>>>
>>> Thank's.
>>>
>>>
>> Depends on how much tools you can use...
>> For command like geeks...
>>
>> Install mplayer and faac from debian-multimedia.org repo.
>>
>> $ mplayer -ao pcm:file=audiodump.wav
>> // 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-----
--
Bookmark/Search this post with:
CD to acc
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,
>>>>
>>>> would you be able to advice what to use for converting audio CD to
>>>> acc files please?
>>>>
>>>> Thank's.
>>>>
>>>>
>>> Depends on how much tools you can use...
>>> For command like geeks...
>>>
>>> Install mplayer and faac from debian-multimedia.org repo.
>>>
>>> $ mplayer -ao pcm:file=audiodump.wav
>>> // 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-----
>
>
--
CD to acc
On Wed, Nov 28, 2007 at 08:42:48PM +0000, Pantor wrote:
> 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.
Read the debian lists code of conduct.
To what checkbox do you refer? Mutt has not check boxes. Many of us
here use mutt.
Doug.
--
CD to acc
On Wed, Nov 28, 2007 at 08:42:48PM +0000, Pantor wrote:
> 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.
The normal reading direction in English is top-to-bottom and
left-to-right. If you put your answer on top one has to read the bottom
first and then go back to the top to read the answer. Very annoying,
especially for long threads.
The best method is considered to be inline posting. That means write
your answer right beneath the question and delete all irrelevant
material (like I am deleting everything Ron didn't).
Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
CD to acc
That sounds like high mathematics for me.
Shamail Tayyab wrote:
> Pantor wrote:
>> Hi lads,
>>
>> would you be able to advice what to use for converting audio CD to acc
>> files please?
>>
>> Thank's.
>>
>>
> Depends on how much tools you can use...
> For command like geeks...
>
> Install mplayer and faac from debian-multimedia.org repo.
>
> $ mplayer -ao pcm:file=audiodump.wav
> // 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...
>
--
CD to acc
On Nov 28, 2007 9:54 AM, Pantor wrote:
> Installed all according instructions. Sound juicer doesn't like to
> accept new format, but doing job well now. The new problem arised -
> nothing want to playback m4a.
Please don't top post. This list, like most other open source lists,
prefers replies to be below the original message.
As for m4a playback, do you have libfaad and faad installed?
I would have though the encoder (faac) would have pulled them in,
but maybe not.
You should also install libavcodeccvs51, libavformatcvs51 and
the Debian Multimedia version of ffmpeg (it should have a higher
version number than the main Debian version). If you use Gnome
or Gnome-based media programs (Totem, etc), install
gstreamer0.10-plugins-really-bad. That should get stuff working.
I should have remembered that you might not have those installed.
I have had them for so long, I forget they are not part of a default
install.
Cheers,
Kelly Clowers
--
CD to acc
Installed all according instructions. Sound juicer doesn't like to
accept new format, but doing job well now. The new problem arised -
nothing want to playback m4a.
Kelly Clowers wrote:
> On Nov 27, 2007 12:37 PM, Pantor wrote:
>> After installing gstreamer plugin what to do with sound juicer
>> perferences? There is no acc option still.
>
> Are you on etch (stable) or lenny/sid (testing/unstable)?
> If you have the newer version of sound-juicer that is in
> lenny and sid, click edit -> preferences and then click
> on "edit profiles". There should be an aac profile. Select
> it and click edit and mark it as active. Close the windows
> until you are back to the original pref window. Then you
> should be able to select aac from the drop-down list.
>
> If you have an older version of sound-juicer from etch,
> you may have to create a new profile in a similar manner.
>
> Here is an Ubuntu guide to adding the profile:
>
> https://help.ubuntu.com/community/CDRipping#head-61f3b32e3a56a998568cad44e305d1557e7ffee0
>
> Even turning on the profile is kind of a pain, but at least
> you only need to do it once.
>
>
> Cheers,
> Kelly Clowers.
>
>
--