
Dies funktioniert, wenn es sich um MP3 handelt. Es funktioniert jedoch nicht, wenn der Audiodateityp AAC ist. Was mache ich falsch?
echo off
for %%a in ("*.aac") do (
ffmpeg -i "%%a" -an -vcodec copy "images\%%~na.jpg"
"C:\ffmpeg\bin\ffmpeg" -loop 1 -i "images\%%~na.jpg" -i "%%a" -c:v libx264 -preset veryslow -tune stillimage -crf 18 -pix_fmt yuv420p -c:a aac -shortest -strict experimental -b:a 192k -shortest "video\%%~na.mp4" )
pause
Antwort1
Habe es in CMD ausgeführt, habe vergessen, dass Windows cmd = % und Batch = %% ist