From ceec44c588df7b93d20f879cecb2e6ce22f51289 Mon Sep 17 00:00:00 2001 From: Conrad Zelck <git@simpel.cc> Date: Sun, 29 Mar 2020 20:26:25 +0200 Subject: [PATCH] Change bitrate from 24 to 16bit Dila-Portal workflow is not working with these kind of 24bit audio Signed-off-by: Conrad Zelck <git@simpel.cc> --- Pro_Audio.au3 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Pro_Audio.au3 b/Pro_Audio.au3 index a43e144..686bf90 100644 --- a/Pro_Audio.au3 +++ b/Pro_Audio.au3 @@ -1,10 +1,10 @@ #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=..\..\Icons\wave.ico #AutoIt3Wrapper_UseX64=n -#AutoIt3Wrapper_Res_Comment=Converting to wav with 48kHz 24bit. -#AutoIt3Wrapper_Res_Description=Converting to wav with 48kHz 24bit. -#AutoIt3Wrapper_Res_Fileversion=1.1.0.18 -#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y +#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_AutoIncrement=p #AutoIt3Wrapper_Res_CompanyName=Norddeutscher Rundfunk #AutoIt3Wrapper_Res_LegalCopyright=Conrad Zelck #AutoIt3Wrapper_Res_SaveSource=y @@ -130,13 +130,13 @@ For $i = 1 To $aFileList[0] GUICtrlSetData($idLabelFileName, $i & "/" & $aFileList[0] & ": " & _FileName($sCurTrack)) $iDelimiter = StringInStr($sCurTrack, ".", 0, -1) $sCurTrackMinusExt = StringLeft($sCurTrack, $iDelimiter - 1) - $sCurTrackNewExt = '_48kHz_24bit.wav' - $sCommand = '-i "' & $sCurTrack & '" -c:a pcm_s24le -ar 48000 -y ' & $sCurTrackMinusExt & $sCurTrackNewExt + $sCurTrackNewExt = '_48kHz_16bit.wav' + $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 -GUICtrlSetData($idLabelFileName, "Alle möglichen Dateien konvertiert.") +GUICtrlSetData($idLabelFileName, "Fertig. Mit [x] schliessen.") GUICtrlSetData($idLabelConvert, "") WinActivate($hGUI,"") _PlayReadySound() -- GitLab