changeset 2:1681a628ceb4

Pass desired bit rate in the right place otherwise newer FFmpeg's complain.
author Daniel O'Connor <darius@dons.net.au>
date Mon, 18 Aug 2014 13:38:06 +0930
parents 0ca90a90e723
children 30f4a5616692
files itunes2mp3.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: