Warning: include_once(/home/philroche/pre2015-archive.philroche.net/wp-content/plugins/wordpress-support/wordpress-support.php): failed to open stream: Permission denied in /home/philroche/pre2015-archive.philroche.net/wp-settings.php on line 218

Warning: include_once(): Failed opening '/home/philroche/pre2015-archive.philroche.net/wp-content/plugins/wordpress-support/wordpress-support.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/philroche/pre2015-archive.philroche.net/wp-settings.php on line 218
Philip Roche » Encoding all files in a directory using ffmpeg

Encoding all files in a directory using ffmpeg

The wonderful folks in the Django community have uploaded all the videos from Djangocon 2009. I’ve downloaded them but needed to convert them to mp3 so I could listen to them on my commute.

I used the ever awesome ffmpeg

for f in *.ogv; do ffmpeg -i “$f” -acodec libmp3lame -ab 256k “${f%.ogv}.mp3″; done

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*