Skip to content

Commit 9e6da8e

Browse files
committed
removed CUDA decoding, small fixes
CUDA decoding removed for wider input video compatibility, small fixes and updates
1 parent ab37e39 commit 9e6da8e

35 files changed

+217
-78
lines changed

Diff for: sendtoffmpeg_settings.cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
REM SendTo_FFmpeg is a set of windows batches for effortless and free transcoding
2-
REM Copyright (c) 2018-2019 Keerah, keerah.com. All rights reserved
2+
REM Copyright (c) 2018-2021 Keerah, keerah.com. All rights reserved
33
REM More information at https://keerah.com https://github.com/keerah/SendTo_FFmpeg
44

55
REM SendTo_FFmpeg settings file

Diff for: to CUDA h264 mp4 420 10Mbit aac128.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@ECHO OFF
22
REM SendTo_FFmpeg is a set of windows batches for effortless and free transcoding
3-
REM Copyright (c) 2018-2020 Keerah, keerah.com. All rights reserved
3+
REM Copyright (c) 2018-2021 Keerah, keerah.com. All rights reserved
44
REM More information at https://keerah.com https://github.com/keerah/SendTo_FFmpeg
55

66
setlocal enabledelayedexpansion
@@ -13,7 +13,7 @@ for %%x in (%*) do (
1313
)
1414

1515
ECHO [---------------------------------------------------------------------------------]
16-
ECHO [--- SendTo FFmpeg encoder v1.1 by Keerah.com ---]
16+
ECHO [--- SendTo FFmpeg encoder v2.2 by Keerah.com ---]
1717
ECHO [--- Multi MP4 h264 module has been invoked ---]
1818
ECHO [--- Preset: CUDA 420, slow, 10 Mbps, kf 2 sec, Audio aac128 ---]
1919

@@ -50,7 +50,7 @@ FOR /L %%i IN (1,1,%argCount%) DO (
5050

5151
for /F "delims=" %%f in ('call "%ffpath%ffprobe.exe" -v error -show_entries "format=duration" -of "default=noprint_wrappers=1:nokey=1" "!argVec[%%i]!"') do echo [ Video length is: %%f
5252

53-
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 10M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a aac -b:a 128k -y "!argVn[%%i]!%dscrName%.mp4"
53+
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 10M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a aac -b:a 128k -y "!argVn[%%i]!%dscrName%.mp4"
5454
)
5555

5656
:End

Diff for: to CUDA h264 mp4 420 10Mbit.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@ECHO OFF
22
REM SendTo_FFmpeg is a set of windows batches for effortless and free transcoding
3-
REM Copyright (c) 2018-2020 Keerah, keerah.com. All rights reserved
3+
REM Copyright (c) 2018-2021 Keerah, keerah.com. All rights reserved
44
REM More information at https://keerah.com https://github.com/keerah/SendTo_FFmpeg
55

66
setlocal enabledelayedexpansion
@@ -13,7 +13,7 @@ for %%x in (%*) do (
1313
)
1414

1515
ECHO [---------------------------------------------------------------------------------]
16-
ECHO [--- SendTo FFmpeg encoder v1.1 by Keerah.com ---]
16+
ECHO [--- SendTo FFmpeg encoder v2.2 by Keerah.com ---]
1717
ECHO [--- Multi MP4 h264 module has been invoked ---]
1818
ECHO [--- Preset: CUDA 420, slow, 10 Mbps, keyfr 2 sec, Audio Copy ---]
1919

@@ -50,7 +50,7 @@ FOR /L %%i IN (1,1,%argCount%) DO (
5050

5151
for /F "delims=" %%f in ('call "%ffpath%ffprobe.exe" -v error -show_entries "format=duration" -of "default=noprint_wrappers=1:nokey=1" "!argVec[%%i]!"') do echo [ Video length is: %%f
5252

53-
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 10M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a copy -y "!argVn[%%i]!%dscrName%.mp4"
53+
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 10M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a copy -y "!argVn[%%i]!%dscrName%.mp4"
5454
)
5555

5656
:End

Diff for: to CUDA h264 mp4 420 1Mbit.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@ECHO OFF
22
REM SendTo_FFmpeg is a set of windows batches for effortless and free transcoding
3-
REM Copyright (c) 2018-2020 Keerah, keerah.com. All rights reserved
3+
REM Copyright (c) 2018-2021 Keerah, keerah.com. All rights reserved
44
REM More information at https://keerah.com https://github.com/keerah/SendTo_FFmpeg
55

66
setlocal enabledelayedexpansion
@@ -13,7 +13,7 @@ for %%x in (%*) do (
1313
)
1414

1515
ECHO [---------------------------------------------------------------------------------]
16-
ECHO [--- SendTo FFmpeg encoder v1.1 by Keerah.com ---]
16+
ECHO [--- SendTo FFmpeg encoder v2.2 by Keerah.com ---]
1717
ECHO [--- Multi MP4 h264 module has been invoked ---]
1818
ECHO [--- Preset: CUDA 420, slow, 1 Mbps, kf 2 sec, Audio Copy ---]
1919

@@ -50,7 +50,7 @@ FOR /L %%i IN (1,1,%argCount%) DO (
5050

5151
for /F "delims=" %%f in ('call "%ffpath%ffprobe.exe" -v error -show_entries "format=duration" -of "default=noprint_wrappers=1:nokey=1" "!argVec[%%i]!"') do echo [ Video length is: %%f
5252

53-
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 1M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a copy -y "!argVn[%%i]!%dscrName%.mp4"
53+
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -i "!argVec[%%i]!" -c:v h264_nvenc -b:v 1M -pix_fmt yuv420p -preset slow -force_key_frames 0:00:02 -c:a copy -y "!argVn[%%i]!%dscrName%.mp4"
5454
)
5555

5656
:End

Diff for: to CUDA h264 mp4 420 20Mbit aac192.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@ECHO OFF
22
REM SendTo_FFmpeg is a set of windows batches for effortless and free transcoding
3-
REM Copyright (c) 2018-2020 Keerah, keerah.com. All rights reserved
3+
REM Copyright (c) 2018-2021 Keerah, keerah.com. All rights reserved
44
REM More information at https://keerah.com https://github.com/keerah/SendTo_FFmpeg
55

66
setlocal enabledelayedexpansion
@@ -13,7 +13,7 @@ for %%x in (%*) do (
1313
)
1414

1515
ECHO [---------------------------------------------------------------------------------]
16-
ECHO [--- SendTo FFmpeg encoder v1.1 by Keerah.com ---]
16+
ECHO [--- SendTo FFmpeg encoder v2.2 by Keerah.com ---]
1717
ECHO [--- Multi MP4 h264 module has been invoked ---]
1818
ECHO [--- Preset: CUDA 420, slow, 20 Mbps, kf 2 sec, Audio aac192 ---]
1919

@@ -50,7 +50,7 @@ FOR /L %%i IN (1,1,%argCount%) DO (
5050

5151
for /F "delims=" %%f in ('call "%ffpath%ffprobe.exe" -v error -show_entries "format=duration" -of "default=noprint_wrappers=1:nokey=1" "!argVec[%%i]!"') do echo [ Video length is: %%f
5252

53-
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 20M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a aac -b:a 192k -y "!argVn[%%i]!%dscrName%.mp4"
53+
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 20M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a aac -b:a 192k -y "!argVn[%%i]!%dscrName%.mp4"
5454
)
5555

5656
:End

Diff for: to CUDA h264 mp4 420 20Mbit.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@ECHO OFF
22
REM SendTo_FFmpeg is a set of windows batches for effortless and free transcoding
3-
REM Copyright (c) 2018-2020 Keerah, keerah.com. All rights reserved
3+
REM Copyright (c) 2018-2021 Keerah, keerah.com. All rights reserved
44
REM More information at https://keerah.com https://github.com/keerah/SendTo_FFmpeg
55

66
setlocal enabledelayedexpansion
@@ -13,7 +13,7 @@ for %%x in (%*) do (
1313
)
1414

1515
ECHO [---------------------------------------------------------------------------------]
16-
ECHO [--- SendTo FFmpeg encoder v1.1 by Keerah.com ---]
16+
ECHO [--- SendTo FFmpeg encoder v2.2 by Keerah.com ---]
1717
ECHO [--- Multi MP4 h264 module has been invoked ---]
1818
ECHO [--- Preset: CUDA 420, slow, 20 Mbps, kf 2 sec, Audio Copy ---]
1919

@@ -50,7 +50,7 @@ FOR /L %%i IN (1,1,%argCount%) DO (
5050

5151
for /F "delims=" %%f in ('call "%ffpath%ffprobe.exe" -v error -show_entries "format=duration" -of "default=noprint_wrappers=1:nokey=1" "!argVec[%%i]!"') do echo [ Video length is: %%f
5252

53-
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 20M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a copy -y "!argVn[%%i]!%dscrName%.mp4"
53+
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 20M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a copy -y "!argVn[%%i]!%dscrName%.mp4"
5454
)
5555

5656
:End

Diff for: to CUDA h264 mp4 420 2Mbit aac96.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@ECHO OFF
22
REM SendTo_FFmpeg is a set of windows batches for effortless and free transcoding
3-
REM Copyright (c) 2018-2020 Keerah, keerah.com. All rights reserved
3+
REM Copyright (c) 2018-2021 Keerah, keerah.com. All rights reserved
44
REM More information at https://keerah.com https://github.com/keerah/SendTo_FFmpeg
55

66
setlocal enabledelayedexpansion
@@ -13,7 +13,7 @@ for %%x in (%*) do (
1313
)
1414

1515
ECHO [---------------------------------------------------------------------------------]
16-
ECHO [--- SendTo FFmpeg encoder v1.1 by Keerah.com ---]
16+
ECHO [--- SendTo FFmpeg encoder v2.2 by Keerah.com ---]
1717
ECHO [--- Multi MP4 h264 module has been invoked ---]
1818
ECHO [--- Preset: CUDA 420, slow, 2 Mbps, nokeyfr, Audio aac96 ---]
1919

@@ -50,7 +50,7 @@ FOR /L %%i IN (1,1,%argCount%) DO (
5050

5151
for /F "delims=" %%f in ('call "%ffpath%ffprobe.exe" -v error -show_entries "format=duration" -of "default=noprint_wrappers=1:nokey=1" "!argVec[%%i]!"') do echo [ Video length is: %%f
5252

53-
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 2M -pix_fmt yuv420p -c:a aac -b:a 96k -y "!argVn[%%i]!%dscrName%.mp4"
53+
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 2M -pix_fmt yuv420p -c:a aac -b:a 96k -y "!argVn[%%i]!%dscrName%.mp4"
5454
)
5555

5656
:End

Diff for: to CUDA h264 mp4 420 40Mbit aac320.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@ECHO OFF
22
REM SendTo_FFmpeg is a set of windows batches for effortless and free transcoding
3-
REM Copyright (c) 2018-2020 Keerah, keerah.com. All rights reserved
3+
REM Copyright (c) 2018-2021 Keerah, keerah.com. All rights reserved
44
REM More information at https://keerah.com https://github.com/keerah/SendTo_FFmpeg
55

66
setlocal enabledelayedexpansion
@@ -13,7 +13,7 @@ for %%x in (%*) do (
1313
)
1414

1515
ECHO [---------------------------------------------------------------------------------]
16-
ECHO [--- SendTo FFmpeg encoder v1.1 by Keerah.com ---]
16+
ECHO [--- SendTo FFmpeg encoder v2.2 by Keerah.com ---]
1717
ECHO [--- Multi MP4 h264 module has been invoked ---]
1818
ECHO [--- Preset: CUDA 420, slow, 40 Mbps, kf 2 sec, Audio aac320 ---]
1919

@@ -50,7 +50,7 @@ FOR /L %%i IN (1,1,%argCount%) DO (
5050

5151
for /F "delims=" %%f in ('call "%ffpath%ffprobe.exe" -v error -show_entries "format=duration" -of "default=noprint_wrappers=1:nokey=1" "!argVec[%%i]!"') do echo [ Video length is: %%f
5252

53-
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 40M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a aac -b:a 320k -y "!argVn[%%i]!%dscrName%.mp4"
53+
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 40M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a aac -b:a 320k -y "!argVn[%%i]!%dscrName%.mp4"
5454
)
5555

5656
:End

Diff for: to CUDA h264 mp4 420 40Mbit external wav aac256.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
@ECHO OFF
22
REM SendTo_FFmpeg is a set of windows batches for effortless and free transcoding
3-
REM Copyright (c) 2018-2020 Keerah, keerah.com. All rights reserved
3+
REM Copyright (c) 2018-2021 Keerah, keerah.com. All rights reserved
44
REM More information at https://keerah.com https://github.com/keerah/SendTo_FFmpeg
55

66
setlocal enabledelayedexpansion
77

88
ECHO [---------------------------------------------------------------------------------]
9-
ECHO [--- SendTo FFmpeg encoder v1.03 by Keerah.com ---]
9+
ECHO [--- SendTo FFmpeg encoder v2.13 by Keerah.com ---]
1010
ECHO [--- MP4 h264 module has been invoked, this preset is single file only ---]
1111
ECHO [--- Preset: CUDA 420, slow, 40 Mbps, kf 2 sec, External Audio to aac256 ---]
1212
ECHO [--- Using external audio source file: %~n1.wav
@@ -43,7 +43,7 @@ IF %1.==. (
4343

4444
for /F "delims=" %%f in ('call "%ffpath%ffprobe.exe" -v error -show_entries "format=duration" -of "default=noprint_wrappers=1:nokey=1" "!argVec[%%i]!"') do echo [ Video length is: %%f
4545

46-
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i %1 -i "%~n1.wav" -c:a aac -b:a 256k -shortest -c:v h264_nvenc -preset slow -b:v 40M -pix_fmt yuv420p -force_key_frames 0:00:02 -y "%~n1%dscrName%.mp4"
46+
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -i %1 -i "%~n1.wav" -c:a aac -b:a 256k -shortest -c:v h264_nvenc -preset slow -b:v 40M -pix_fmt yuv420p -force_key_frames 0:00:02 -y "%~n1%dscrName%.mp4"
4747
)
4848

4949
:End

Diff for: to CUDA h264 mp4 420 40Mbit external wav.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
@ECHO OFF
22
REM SendTo_FFmpeg is a set of windows batches for effortless and free transcoding
3-
REM Copyright (c) 2018-2020 Keerah, keerah.com. All rights reserved
3+
REM Copyright (c) 2018-2021 Keerah, keerah.com. All rights reserved
44
REM More information at https://keerah.com https://github.com/keerah/SendTo_FFmpeg
55

66
setlocal enabledelayedexpansion
77

88
ECHO [---------------------------------------------------------------------------------]
9-
ECHO [--- SendTo FFmpeg encoder v1.03 by Keerah.com ---]
9+
ECHO [--- SendTo FFmpeg encoder v2.13 by Keerah.com ---]
1010
ECHO [--- MP4 h264 module has been invoked, this preset is single file only ---]
1111
ECHO [--- Preset: CUDA 420, slow, 40 Mbps, kf 2 sec, External Audio to aac256 ---]
1212
ECHO [--- Using external audio source file: %~n1.wav
@@ -43,7 +43,7 @@ IF %1.==. (
4343

4444
for /F "delims=" %%f in ('call "%ffpath%ffprobe.exe" -v error -show_entries "format=duration" -of "default=noprint_wrappers=1:nokey=1" "!argVec[%%i]!"') do echo [ Video length is: %%f
4545

46-
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i %1 -i %~n1.wav -c:a aac -b:a 256k -shortest -c:v h264_nvenc -preset slow -b:v 40M -pix_fmt yuv420p -force_key_frames 0:00:02 -y %~n1%dscrName%.mp4
46+
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -i %1 -i %~n1.wav -c:a aac -b:a 256k -shortest -c:v h264_nvenc -preset slow -b:v 40M -pix_fmt yuv420p -force_key_frames 0:00:02 -y %~n1%dscrName%.mp4
4747
)
4848

4949
:End

Diff for: to CUDA h264 mp4 420 40Mbit.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@ECHO OFF
22
REM SendTo_FFmpeg is a set of windows batches for effortless and free transcoding
3-
REM Copyright (c) 2018-2020 Keerah, keerah.com. All rights reserved
3+
REM Copyright (c) 2018-2021 Keerah, keerah.com. All rights reserved
44
REM More information at https://keerah.com https://github.com/keerah/SendTo_FFmpeg
55

66
setlocal enabledelayedexpansion
@@ -13,7 +13,7 @@ for %%x in (%*) do (
1313
)
1414

1515
ECHO [---------------------------------------------------------------------------------]
16-
ECHO [--- SendTo FFmpeg encoder v1.1 by Keerah.com ---]
16+
ECHO [--- SendTo FFmpeg encoder v2.2 by Keerah.com ---]
1717
ECHO [--- Multi MP4 h264 module has been invoked ---]
1818
ECHO [--- Preset: CUDA 420, slow, 40 Mbps, kf 2 sec, Audio Copy ---]
1919

@@ -50,7 +50,7 @@ FOR /L %%i IN (1,1,%argCount%) DO (
5050

5151
for /F "delims=" %%f in ('call "%ffpath%ffprobe.exe" -v error -show_entries "format=duration" -of "default=noprint_wrappers=1:nokey=1" "!argVec[%%i]!"') do echo [ Video length is: %%f
5252

53-
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 40M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a copy -y "!argVn[%%i]!%dscrName%.mp4"
53+
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 40M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a copy -y "!argVn[%%i]!%dscrName%.mp4"
5454
)
5555

5656
:End

Diff for: to CUDA h264 mp4 420 4Mbit aac96.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@ECHO OFF
22
REM SendTo_FFmpeg is a set of windows batches for effortless and free transcoding
3-
REM Copyright (c) 2018-2020 Keerah, keerah.com. All rights reserved
3+
REM Copyright (c) 2018-2021 Keerah, keerah.com. All rights reserved
44
REM More information at https://keerah.com https://github.com/keerah/SendTo_FFmpeg
55

66
setlocal enabledelayedexpansion
@@ -13,7 +13,7 @@ for %%x in (%*) do (
1313
)
1414

1515
ECHO [---------------------------------------------------------------------------------]
16-
ECHO [--- SendTo FFmpeg encoder v1.1 by Keerah.com ---]
16+
ECHO [--- SendTo FFmpeg encoder v2.2 by Keerah.com ---]
1717
ECHO [--- Multi MP4 h264 module has been invoked ---]
1818
ECHO [--- Preset: CUDA 420, slow, 4 Mbps, no kf, Audio aac96 ---]
1919

@@ -50,7 +50,7 @@ FOR /L %%i IN (1,1,%argCount%) DO (
5050

5151
for /F "delims=" %%f in ('call "%ffpath%ffprobe.exe" -v error -show_entries "format=duration" -of "default=noprint_wrappers=1:nokey=1" "!argVec[%%i]!"') do echo [ Video length is: %%f
5252

53-
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 4M -pix_fmt yuv420p -c:a aac -b:a 96k -y "!argVn[%%i]!%dscrName%.mp4"
53+
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 4M -pix_fmt yuv420p -c:a aac -b:a 96k -y "!argVn[%%i]!%dscrName%.mp4"
5454
)
5555

5656
:End

Diff for: to CUDA h264 mp4 420 4Mbit.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@ECHO OFF
22
REM SendTo_FFmpeg is a set of windows batches for effortless and free transcoding
3-
REM Copyright (c) 2018-2020 Keerah, keerah.com. All rights reserved
3+
REM Copyright (c) 2018-2021 Keerah, keerah.com. All rights reserved
44
REM More information at https://keerah.com https://github.com/keerah/SendTo_FFmpeg
55

66
setlocal enabledelayedexpansion
@@ -13,7 +13,7 @@ for %%x in (%*) do (
1313
)
1414

1515
ECHO [---------------------------------------------------------------------------------]
16-
ECHO [--- SendTo FFmpeg encoder v1.1 by Keerah.com ---]
16+
ECHO [--- SendTo FFmpeg encoder v2.2 by Keerah.com ---]
1717
ECHO [--- Multi MP4 h264 module has been invoked ---]
1818
ECHO [--- Preset: CUDA 420, slow, 4 Mbps, keyfr 2 sec, Audio Copy ---]
1919

@@ -50,7 +50,7 @@ FOR /L %%i IN (1,1,%argCount%) DO (
5050

5151
for /F "delims=" %%f in ('call "%ffpath%ffprobe.exe" -v error -show_entries "format=duration" -of "default=noprint_wrappers=1:nokey=1" "!argVec[%%i]!"') do echo [ Video length is: %%f
5252

53-
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 4M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a copy -y "!argVn[%%i]!%dscrName%.mp4"
53+
"%ffpath%ffmpeg.exe" -v %vbl% -hide_banner -stats -i "!argVec[%%i]!" -c:v h264_nvenc -preset slow -b:v 4M -pix_fmt yuv420p -force_key_frames 0:00:02 -c:a copy -y "!argVn[%%i]!%dscrName%.mp4"
5454
)
5555

5656
:End

Diff for: to HQ Gif 120px 10fps.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@ECHO OFF
22
REM SendTo_FFmpeg is a set of windows batches for effortless and free transcoding
3-
REM Copyright (c) 2018-2020 Keerah, keerah.com. All rights reserved
3+
REM Copyright (c) 2018-2021 Keerah, keerah.com. All rights reserved
44
REM More information at https://keerah.com https://github.com/keerah/SendTo_FFmpeg
55

66
setlocal enabledelayedexpansion
@@ -12,7 +12,7 @@ for %%x in (%*) do (
1212
)
1313

1414
ECHO [---------------------------------------------------------------------------------]
15-
ECHO [--- SendTo FFmpeg encoder v1.15 by Keerah.com ---]
15+
ECHO [--- SendTo FFmpeg encoder v2.2 by Keerah.com ---]
1616
ECHO [--- Multi GIF module has been invoked ---]
1717
ECHO [--- Preset: 10 fps, 120px, 2 pass ---]
1818

0 commit comments

Comments
 (0)