Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1f6150f

Browse files
change in path
1 parent 47497b5 commit 1f6150f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

convert.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44

55
def ffmpeg_conv(input, output, codec):
66
print "hola"
7-
ffmpeg_path='C:/ffmpeg/ffmpeg.exe'
8-
cmd = [ffmpeg_path]
7+
#ffmpeg_path='C:/ffmpeg/ffmpeg.exe'
8+
print ("Enter the path for ffmpeg")
9+
input(path)
10+
cmd = [path]
911

1012
cmd.append('-i')
1113
cmd.append('C:/ffmpeg/'+input+'.wav')
@@ -35,4 +37,4 @@ def ffmpeg_conv(input, output, codec):
3537

3638

3739

38-
#c:\ffmpeg\ffmpeg.exe -i c:\ffmpeg\input.wav -codec:a aac output.m4a
40+
#c:\ffmpeg\ffmpeg.exe -i c:\ffmpeg\input.wav -codec:a aac output.m4a

0 commit comments

Comments
 (0)