Skip to content
Snippets Groups Projects
Commit eec5554f authored by Conrad Zelck's avatar Conrad Zelck
Browse files

Quote output file


Files with spaces will chrash

Signed-off-by: default avatarConrad Zelck <git@simpel.cc>
parent ceec44c5
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
#AutoIt3Wrapper_UseX64=n
#AutoIt3Wrapper_Res_Comment=Converting to wav with 48kHz 16bit.
#AutoIt3Wrapper_Res_Description=Converting to wav with 48kHz 16bit.
#AutoIt3Wrapper_Res_Fileversion=1.1.0.20
#AutoIt3Wrapper_Res_Fileversion=1.1.0.22
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=p
#AutoIt3Wrapper_Res_CompanyName=Norddeutscher Rundfunk
#AutoIt3Wrapper_Res_LegalCopyright=Conrad Zelck
......@@ -131,8 +131,7 @@ For $i = 1 To $aFileList[0]
$iDelimiter = StringInStr($sCurTrack, ".", 0, -1)
$sCurTrackMinusExt = StringLeft($sCurTrack, $iDelimiter - 1)
$sCurTrackNewExt = '_48kHz_16bit.wav'
$sCommand = '-i "' & $sCurTrack & '" -c:a pcm_s16le -ar 48000 -y ' & $sCurTrackMinusExt & $sCurTrackNewExt
$sCommand = '-i "' & $sCurTrack & '" -c:a pcm_s16le -ar 48000 -y "' & $sCurTrackMinusExt & $sCurTrackNewExt & '"'
_runFFmpeg('ffmpeg ' & $sCommand, $sPathFFmpeg)
GUICtrlSetData($g_idProgress, 100) ; if ffmpeg is done than set progress to 100 - sometimes last StderrRead with 100 is missed
Next
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment