Compress Videos
ffmpeg -y -i test.mp4 -c:v libx264 -crf 25 -an test_compressed.mp4
Get-ChildItem . -Filter *.mp4 | ForEach-Object { ffmpeg -y -i $_ -c:v libx264 -crf 25 -an "$($_.BaseName)_compressed.mp4" }
If the compressed video’s quality is too bad, try to use a lower -crf
value.