Skip to content
Snippets Groups Projects
Commit da1d7e13 authored by Simpel's avatar Simpel
Browse files

fix: enclose multi layout input file w/ quotes


Signed-off-by: default avatarConrad Zelck <git@simpel.cc>
parent 0d958f97
Branches dev master
Tags 1.1.0.20
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#AutoIt3Wrapper_Icon=Icons\peakmeter.ico #AutoIt3Wrapper_Icon=Icons\peakmeter.ico
#AutoIt3Wrapper_Res_Comment=Measure loudness with ffmpeg according to R128. #AutoIt3Wrapper_Res_Comment=Measure loudness with ffmpeg according to R128.
#AutoIt3Wrapper_Res_Description=Measure loudness with ffmpeg according to R128. #AutoIt3Wrapper_Res_Description=Measure loudness with ffmpeg according to R128.
#AutoIt3Wrapper_Res_Fileversion=1.1.0.20 #AutoIt3Wrapper_Res_Fileversion=1.1.0.21
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=p #AutoIt3Wrapper_Res_Fileversion_AutoIncrement=p
#AutoIt3Wrapper_Res_CompanyName=Norddeutscher Rundfunk #AutoIt3Wrapper_Res_CompanyName=Norddeutscher Rundfunk
#AutoIt3Wrapper_Res_LegalCopyright=Conrad Zelck #AutoIt3Wrapper_Res_LegalCopyright=Conrad Zelck
...@@ -188,7 +188,7 @@ Switch $iLayout ...@@ -188,7 +188,7 @@ Switch $iLayout
Case $eSTEREO Case $eSTEREO
$sCommand = '-i "' & $sFile & '" -map 0:' & $iTrackR / 2 - 1 + $iCounterVideo & ' -c:a pcm_s24le -ar 48000 -y "' & @TempDir & '\' & $sOutputFileWithoutExtension & '.wav"' $sCommand = '-i "' & $sFile & '" -map 0:' & $iTrackR / 2 - 1 + $iCounterVideo & ' -c:a pcm_s24le -ar 48000 -y "' & @TempDir & '\' & $sOutputFileWithoutExtension & '.wav"'
Case $eMULTI Case $eMULTI
$sCommand = '-i ' & $sFile & ' -af "pan=stereo|c0=c' & $iTrackL - 1 + $iCounterVideo & '|c1=c' & $iTrackR - 1 + $iCounterVideo & '" -c:a pcm_s24le -ar 48000 -y "' & @TempDir & '\' & $sOutputFileWithoutExtension & '.wav"' $sCommand = '-i "' & $sFile & '" -af "pan=stereo|c0=c' & $iTrackL - 1 + $iCounterVideo & '|c1=c' & $iTrackR - 1 + $iCounterVideo & '" -c:a pcm_s24le -ar 48000 -y "' & @TempDir & '\' & $sOutputFileWithoutExtension & '.wav"'
EndSwitch EndSwitch
ConsoleWrite("Command extract audio: " & $sCommand & @CRLF) ConsoleWrite("Command extract audio: " & $sCommand & @CRLF)
......
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