From 1cbcac94dcf715e34d1ea132bc8ee7c2c391a017 Mon Sep 17 00:00:00 2001 From: NeodarZ Date: Mon, 10 Jul 2017 00:11:11 +0200 Subject: ffmpeg option -y to -n --- convert.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert.sh b/convert.sh index ae8ea31..ba1bc08 100755 --- a/convert.sh +++ b/convert.sh @@ -36,7 +36,7 @@ for file in sorted(os.listdir(sourcedir)): print("Converting : "+name) count += 1 #cmd = ["ffmpeg", "-n", "-i", sourcedir+"/"+name+".mp4", "-c:a", "libmp3lame", outdir+"/"+name+".mp3"]² - cmd = "ffmpeg -y -i '"+sourcedir+"/"+name+".mp4' -c:a libmp3lame '"+outdir+"/"+name+".mp3'" + cmd = "ffmpeg -n -i '"+sourcedir+"/"+name+".mp4' -c:a libmp3lame '"+outdir+"/"+name+".mp3'" thread = pexpect.spawn(cmd) cpl = thread.compile_pattern_list([pexpect.EOF,"frame= *\d+",'(.+)']) -- cgit v1.2.1