# HG changeset patch # User Daniel O'Connor # Date 1408334886 -34200 # Node ID 1681a628ceb4938b3529c248f3558637be39b73e # Parent 0ca90a90e7233676a1194ba30f665f66510e840f Pass desired bit rate in the right place otherwise newer FFmpeg's complain. diff -r 0ca90a90e723 -r 1681a628ceb4 itunes2mp3.py --- a/itunes2mp3.py Thu Jun 13 00:16:23 2013 +0930 +++ b/itunes2mp3.py Mon Aug 18 13:38:06 2014 +0930 @@ -35,7 +35,7 @@ if path.lower().endswith('.mp3'): shutil.copy(path, destmp3) elif path.lower().endswith('.m4a'): - ffmpeg = subprocess.Popen(['ffmpeg', '-y', '-v', 'quiet', '-b', '160', '-i', path, destmp3]) + ffmpeg = subprocess.Popen(['ffmpeg', '-y', '-v', 'quiet', '-i', path, '-b', '160', destmp3]) rtn = ffmpeg.wait() if rtn != 0: