diff options
author | NeodarZ <neodarz@neodarz.net> | 2017-07-10 00:11:11 +0200 |
---|---|---|
committer | NeodarZ <neodarz@neodarz.net> | 2017-07-10 00:11:11 +0200 |
commit | 1cbcac94dcf715e34d1ea132bc8ee7c2c391a017 (patch) | |
tree | c5a0e78e1015e9f1d20dea25798824022f7a7405 | |
parent | e1cec6970766fa4f1b8f47fb886dcd640cf51d94 (diff) | |
download | video_save-1cbcac94dcf715e34d1ea132bc8ee7c2c391a017.tar.xz video_save-1cbcac94dcf715e34d1ea132bc8ee7c2c391a017.zip |
ffmpeg option -y to -n
Diffstat (limited to '')
-rwxr-xr-x | convert.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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+",'(.+)']) |