Say you have an audio AC3 file and you want to convert it to WAV in order to work with it in Audacity or some other audio manipulation application. One of the methods is to use mplayer, included in the Debian Multimedia repositories.
The command to convert the desired file to WAV is:
mplayer -ao pcm:file=output_file.wav input_file.ac3
This command will convert input_file.ac3 to output_file.wav, using the PCM audio output driver.
1 comment:
Install mplayer and oggenc using Yum/Synaptic or whatever.
Open a simple texteditor like Gedit.
Copy/paste the text below into it and name it "econder.sh" or whatever.
Goto terminal and go to the file "encoder.sh".
type:chmod a+x
Copy/paste the file to the location of the shn files. Double click the "encoder.sh" file or run from terminal.
#bin.sh#
#simple shn lossless conversion to very good Ogg Vorbis files#
#free software GNU#
#no owner, last edited by GJS#
for nam in *.shn; do nice mplayer -ao pcm "$nam" -ao pcm:file="$nam.wav" && nice oggenc -q5 "$nam.wav" -o "$(basename "$nam" .shn).ogg"; rm "$nam.wav"; done
Post a Comment