Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
okorach committed Jan 4, 2024
2 parents bb6abd5 + 6fb9f4b commit 7d90531
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions batch-files/crop 1920x1080 with audio.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

::set /p top=Top ?:
::set /p left=Left ?:
::set /p width=width ?:
::set /p height=height ?:

C:\tools\ffmpeg\bin\ffmpeg -y -i "%~1" -vcodec libx265 -b:v 2048k -filter:v "crop=1675:928:0:68" "%~1.crop.mp4"
8 changes: 8 additions & 0 deletions batch-files/h265 encode auto.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
setlocal enabledelayedexpansion
for %%F in (%*) do (
C:\tools\ffmpeg\bin\ffmpeg -y -i "%%~F" -vcodec libx265 -acodec aac -b:a 96k "%%~F.h265.1080p.auto.mp4"
)

:: C:\tools\ffmpeg\bin\ffmpeg -y -i "%%~F" -vcodec libx265 -an "%%~F.h265.auto.mp4"

pause

0 comments on commit 7d90531

Please sign in to comment.