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

Change bitrate from 24 to 16bit


Dila-Portal workflow is not working with these kind of 24bit audio

Signed-off-by: default avatarConrad Zelck <git@simpel.cc>
parent 2bb4d7b3
No related branches found
No related tags found
No related merge requests found
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=..\..\Icons\wave.ico #AutoIt3Wrapper_Icon=..\..\Icons\wave.ico
#AutoIt3Wrapper_UseX64=n #AutoIt3Wrapper_UseX64=n
#AutoIt3Wrapper_Res_Comment=Converting to wav with 48kHz 24bit. #AutoIt3Wrapper_Res_Comment=Converting to wav with 48kHz 16bit.
#AutoIt3Wrapper_Res_Description=Converting to wav with 48kHz 24bit. #AutoIt3Wrapper_Res_Description=Converting to wav with 48kHz 16bit.
#AutoIt3Wrapper_Res_Fileversion=1.1.0.18 #AutoIt3Wrapper_Res_Fileversion=1.1.0.20
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y #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
#AutoIt3Wrapper_Res_SaveSource=y #AutoIt3Wrapper_Res_SaveSource=y
...@@ -130,13 +130,13 @@ For $i = 1 To $aFileList[0] ...@@ -130,13 +130,13 @@ For $i = 1 To $aFileList[0]
GUICtrlSetData($idLabelFileName, $i & "/" & $aFileList[0] & ": " & _FileName($sCurTrack)) GUICtrlSetData($idLabelFileName, $i & "/" & $aFileList[0] & ": " & _FileName($sCurTrack))
$iDelimiter = StringInStr($sCurTrack, ".", 0, -1) $iDelimiter = StringInStr($sCurTrack, ".", 0, -1)
$sCurTrackMinusExt = StringLeft($sCurTrack, $iDelimiter - 1) $sCurTrackMinusExt = StringLeft($sCurTrack, $iDelimiter - 1)
$sCurTrackNewExt = '_48kHz_24bit.wav' $sCurTrackNewExt = '_48kHz_16bit.wav'
$sCommand = '-i "' & $sCurTrack & '" -c:a pcm_s24le -ar 48000 -y ' & $sCurTrackMinusExt & $sCurTrackNewExt $sCommand = '-i "' & $sCurTrack & '" -c:a pcm_s16le -ar 48000 -y ' & $sCurTrackMinusExt & $sCurTrackNewExt
_runFFmpeg('ffmpeg ' & $sCommand, $sPathFFmpeg) _runFFmpeg('ffmpeg ' & $sCommand, $sPathFFmpeg)
GUICtrlSetData($g_idProgress, 100) ; if ffmpeg is done than set progress to 100 - sometimes last StderrRead with 100 is missed GUICtrlSetData($g_idProgress, 100) ; if ffmpeg is done than set progress to 100 - sometimes last StderrRead with 100 is missed
Next Next
GUICtrlSetData($idLabelFileName, "Alle möglichen Dateien konvertiert.") GUICtrlSetData($idLabelFileName, "Fertig. Mit [x] schliessen.")
GUICtrlSetData($idLabelConvert, "") GUICtrlSetData($idLabelConvert, "")
WinActivate($hGUI,"") WinActivate($hGUI,"")
_PlayReadySound() _PlayReadySound()
......
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