View Single Post
Old 03-23-2010, 06:28 AM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,580
tip: using ffmpeg to make ringtones

I wrote a little shell script to take a directory of mp3s and make them into ringtones, thought I would share.

Code:
#!/bin/bash

for i in *.mp3; do ffmpeg -i $i -ac 1 -ab 128000 -f mp4 -acodec libfaac -y $i | sed 's/\.mp3$/\.m4r/' ;done
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


My Cam Feeds Script / Gallery Scraper / WPXXX Theme / Free Templates
fris is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote