[quote=“megavolt, post:7, topic:110226”]
Die installation von VC_redist.x64.exe
braucht zusätzliche tweaks, da das setup nicht korrekt funktioniert unter wine.
sed -n "/w_metadata vcrun2017 dlls/,/#----/p" /usr/bin/winetricks
w_metadata vcrun2017 dlls \
title="Visual C++ 2017 libraries (concrt140.dll,mfc140.dll,mfc140u.dll,mfcm140.dll,mfcm140u.dll,msvcp140.dll,msvcp140_1.dll,msvcp140_2.dll,vcamp140.dll,vccorlib140.dll,vcomp140.dll,vcruntime140.dll)" \
publisher="Microsoft" \
year="2017" \
media="download" \
conflicts="vcrun2015 vcrun2019" \
file1="vc_redist.x86.exe" \
installed_file1="${W_SYSTEM32_DLLS_WIN}/mfc140.dll"
load_vcrun2017()
{
# https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads
# 2017/10/02: 2da11e22a276be85970eaed255daf3d92af84e94142ec04252326a882e57303e
# 2019/03/17: 7355962b95d6a5441c304cd2b86baf37bc206f63349f4a02289bcfb69ef142d3
# 2019/08/14: 54ad46ae80984aa48cae6361213692c96b3639e322730d28c7fb93b183c761da
w_download https://aka.ms/vs/15/release/vc_redist.x86.exe 54ad46ae80984aa48cae6361213692c96b3639e322730d28c7fb93b183c761da
w_override_dlls native,builtin api-ms-win-crt-private-l1-1-0 api-ms-win-crt-conio-l1-1-0 api-ms-win-crt-heap-l1-1-0 api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-math-l1-1-0 api-ms-win-crt-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcp140_1 msvcp140_2 msvcr140 ucrtbase vcomp140 vcruntime140
if w_workaround_wine_bug 50894 "Working around failing wusa.exe lookup via C:\windows\SysNative"; then
w_set_winver winxp
fi
# Setup will refuse to install ucrtbase because builtin's version number is higher, so manually replace it
# See https://bugs.winehq.org/show_bug.cgi?id=46317
w_try_cabextract --directory="${W_TMP}/win32" "${W_CACHE}"/vcrun2017/vc_redist.x86.exe -F 'a10'
w_try_cabextract --directory="${W_SYSTEM32_DLLS}" "${W_TMP}/win32/a10" -F 'ucrtbase.dll'
w_try_cd "${W_CACHE}/${W_PACKAGE}"
w_try "${WINE}" vc_redist.x86.exe ${W_OPT_UNATTENDED:+/q}
case "${W_ARCH}" in
win64)
# Also install the 64-bit version
# https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads
# 2017/10/02: 7434bf559290cccc3dd3624f10c9e6422cce9927d2231d294114b2f929f0e465
# 2019/03/17: b192e143d55257a0a2f76be42e44ff8ee14014f3b1b196c6e59829b6b3ec453c
# 2019/08/14: 5b0cbb977f2f5253b1ebe5c9d30edbda35dbd68fb70de7af5faac6423db575b5
w_download https://aka.ms/vs/15/release/vc_redist.x64.exe 5b0cbb977f2f5253b1ebe5c9d30edbda35dbd68fb70de7af5faac6423db575b5
# Also replace 64-bit ucrtbase.dll
w_try_cabextract --directory="${W_TMP}/win64" "${W_CACHE}"/vcrun2017/vc_redist.x64.exe -F 'a10'
w_try_cabextract --directory="${W_SYSTEM64_DLLS}" "${W_TMP}/win64/a10" -F 'ucrtbase.dll'
w_try "${WINE}" vc_redist.x64.exe ${W_OPT_UNATTENDED:+/q}
;;
esac
w_set_winver 'default'
}
#----------------------------------------------------------------
Super, wie professionell Du Fehler erkennst. Gebe ich den ganzen Code einfach so in die Konsole ein? Oder wie verwende ich den Code? Danke!
ja, der ist recht schlicht, aber funktioniert einwandfrei. Das ist eine echte Alternative für einen Audio Konverter. Danke.
Ciano sieht von seinem Aufbau sehr gut auf. Es kann so quasi alles kopieren, nur leider funktioniert es nicht bei mir auf KDE Manjaro.
Das funktioniert sehr gut und schnell für einzelne Dateien!
Könntest Du das freundlicherweise “idiotensicher einfach und klar” an einem Beispiel erklären? Vielen Dank!
Noch zu XMediaRecode: Der einzige Vorteil, den ich momentan noch sehe, dass XMediarecode genau die Codierung der Audio und der Videospur angibt und man diese auch exakt so extrahieren kann. Die Stapelverarbeitung geht tatsächlich auch mit gnuc
.