Hello,
I Just bought a new Nvidia GPU to use rendering videos and want to join 2 videos with ffmpeg. I have a code which joins all videos in input folder with outro.mp4. But when i run it, Computer uses just CPU and not GPU. How can i edit my code to join 2 video files with ffmpeg Using GPU
P.s: i'm newbie found this code on stackoverflow, What i want is just Join 2 video files, using gpu, it dont need to be batch code it can work for single video as well.
Thanks
Here is my code:
SET RESOLUTION="1280:720"
SET INPUT_FOLDER="input"
SET OUTRO="outro.mp4"
SET OUTPUT_FOLDER="output"
for %%a in ("%INPUT_FOLDER%\*.*") do ffmpeg -i %OUTRO% -i "%%a" -filter_complex "[1:v]scale=1280:720,setdar=16/9 [vmain]; [1:a]volume=1.6 [amain]; [0:v]scale=1280:720,setdar=16/9 [voutro]; [vmain][amain][voutro][0:a]concat=n=2:v=1:a=1" -vcodec libx264 -pix_fmt yuv420p -r 30 -g 60 -b:v 1400k -profile:v main -level 3.1 -acodec libmp3lame -b:a 128k -ar 44100 -preset superfast "%OUTPUT_FOLDER%\%%~na.mp4"
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
Best H265 gpu accelerated video conversion software
By Wolluf in forum Newbie / General discussionsReplies: 32Last Post: 18th Jul 2024, 13:13 -
How to join Videos Ffmpeg?
By albfullsoft in forum Video ConversionReplies: 4Last Post: 30th Jan 2020, 17:59 -
GPU Accelerated AV Converter multi-formats for nVidia CUDA Hardware.
By sev7en in forum Newbie / General discussionsReplies: 0Last Post: 21st Oct 2019, 02:29 -
FFMPEG: How do I join multiple videos into 25GB chunks?
By slax65 in forum Video ConversionReplies: 6Last Post: 3rd Oct 2017, 08:43 -
ffmpeg nvidia-gpu-accelerated encoding using NVENC - commandline settings
By hydra3333 in forum Video ConversionReplies: 3Last Post: 7th Sep 2016, 09:11