Any2mp3

Aus Programmers Guide

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(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-----------: #!/…“)
 
Zeile 18: Zeile 18:
#:wq to write and close vim  
#:wq to write and close vim  
-
#make it executeable
+
#make it executable
sudo chmod +x /usr/bin/any2mp3  
sudo chmod +x /usr/bin/any2mp3  
</source>
</source>

Aktuelle Version vom 12:09, 3. Jun. 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 executable 
sudo chmod +x /usr/bin/any2mp3
Persönliche Werkzeuge