Skip to content

Instantly share code, notes, and snippets.

@hjhee
Last active April 13, 2019 13:20
Show Gist options
  • Save hjhee/c267c4d9978980d44988aa1d4c9eae91 to your computer and use it in GitHub Desktop.
Save hjhee/c267c4d9978980d44988aa1d4c9eae91 to your computer and use it in GitHub Desktop.
Transcode all mp4 to x265
@echo off
for /r %%i in (*.mp4) do (
ffmpeg -i "%%i" -c:a copy -c:v hevc_amf "%%~di%%~pix265\%%~ni.mp4"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment