ASF to MP3 or other formats
Submitted by mborn on Fri, 18/06/2004 - 01:12.
Peace!
I would like to know if it is possible to do the above conversion and how (in details) on Linux. I would like to know if there are packages specially designed for this job or is it contained already in my distribution (Mand. Power Pack + 10.0)?
PS. To be honest, I could do it in Windows with a cracked Program (I then unistalled it) and it was like a knife in a cube of butter!
MAX


use mencoder
well generaly speaking its very easy to convert from one multimedia format to another as long as you got a program capable of playing the source format and a program capable of generating the target format.
you see in order to play any audio it has to be converted to raw audio data (kinda like wav files), in windows players don't typicaly offer to save raw audio data, but in GNU/Linux where programs are expected to act as tools most players have a dump raw data to disk feature.
now the only problem is almost all GNU/Linux distros don't come with an mp3encoder due to patent issues, so you either need to use a free format like ogg, or install an mp3 encoder yourself (for Mandrake you can use the plf package repository to get support for almost all multimedia codecs and encoders regardless of patent issues).
you can use mplayer to extract the raw audio data, mplayer comes with mandrake, if you don't have it installed run this command as root
and now you can run this command to get the raw wav file
-oa specifies the output driver, pcm is means output audio to a wav file instead of playing it back.
now you have a file foo.wav all you need to do is convert it to ogg or mp3 format.
you can use oggenc to convert the file to ogg vorbis format (or lame or mp3enc or whatever mp3 encoder you may install)
this will generate foo.ogg for you, enjoy.
cheers,
Alaa
http://www.manalaa.net
"u know i once dream that the office of mobinil is from el 7`os :S and the one that answer u and tell u rasidak a girl called ghada"
Small Correction
I guess the write options would be "-ao" and "-aofile" (Alaa's options didn't work with me, but "-ao" and "-aofile" worked. Maybe because of different versions.)
BTW: Which files do I have to download from the plf packages?
Thanks, Mohammed
"Either toss Windows out of your computer, or toss your computer out of the window." - Richard Stallman
which files?
this realy is a question you shouldn't even try to answer, the way package management works is that its the software's job to figure out what files are needed.
just setup a plf urpmi package source (use easy urpmi wizard to help you) .
then just update your media players from plf
and to install mp3encoders run
or use RpmDrake to if you prefer GUI.
cheers,
Alaa
http://www.manalaa.net
"u know i once dream that the office of mobinil is from el 7`os :S and the one that answer u and tell u rasidak a girl called ghada"