Any2mp3

Aus Programmers Guide

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Roy (Diskussion | Beiträge)
(Die Seite wurde neu angelegt: „== /usr/bin/any2mp3 == <source lang="bash"> #open/create the file sudo vim /usr/bin/any2mp3 #insert the following code - ----------any2mp3-----------: #!/…“)
Zum nächsten Versionsunterschied →

Version vom 10:40, 12. Mai 2010

/usr/bin/any2mp3

#open/create the file 
sudo vim /usr/bin/any2mp3
 
#insert the following code 
 
/*----------any2mp3-----------*/
 
#!/bin/bash
#any2mp3 $infile $outfile -br 128000 -sps 44100 
/usr/bin/ffmpeg -i "$1" -f mp3 -ab "$4" -acodec libmp3lame -ar "$6" "$2" 
exit 0
 
/*----------------------------*/
 
#:wq to write and close vim 
 
#make it executeable 
sudo chmod +x /usr/bin/any2mp3
Persönliche Werkzeuge