GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   tip: using ffmpeg to make ringtones (https://gfy.com/showthread.php?t=959816)

fris 03-23-2010 06:28 AM

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



All times are GMT -7. The time now is 07:42 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123