Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Get-ChildItem *.mkv | where BaseName -notlike '*`[HEVC]' | foreach {
- ffmpeg -i $_ -c:v libx265 -c:a copy -x265-params crf=25 "$($_.BaseName) [HEVC].mkv" -n |
- Write-Host
- if ($LASTEXITCODE -eq 0) { $_ }
- } | Remove-Item -force
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement