August 20, 2025 in ffmpeq, Terminal 1 min read 25-08-20 - Today I Learned... To convert all .mkv videos in a folder with the terminal and reduce there size Get-ChildItem *.mkv | ForEach-Object { ffmpeg -i $_.Name -vf "scale=-2:1080" -c:v libx264 -crf 23 -c:a aac ($_.BaseName + ".mp4") }