S
S
saanneekk2019-11-20 03:49:28
Video
saanneekk, 2019-11-20 03:49:28

How to speed up mmpeg processing?

Given a batch file, which collects with the help of ffmpeg from slideshow pictures.
Video card Intel HD 5000
Question how to speed up compilation.
PS I found this article, but I do not understand how to apply this method in the current version of the batch file.

@echo off

ffmpeg -y  -f concat  -safe 0 -r {r} -i {list.txt} -s 1280x720 -c:v libx264 -pix_fmt yuv420p -y -r 20 {middle}
ffmpeg -y  -i {middle} -i {audioFile} {middle2}



ffmpeg -y  -i {start} -c copy -bsf:v h264_mp4toannexb -f mpegts {parentdir}f1.ts
ffmpeg -y  -i {middle3} -c copy -bsf:v h264_mp4toannexb -f mpegts {parentdir}f2.ts
ffmpeg -y  -i {finish} -c copy -bsf:v h264_mp4toannexb -f mpegts {parentdir}f3.ts

ffmpeg -y -f concat -i {parentdir}list.txt -bsf:a aac_adtstoasc {parentdir}RESULT.mp4

del /f {parentdir}f1.ts
del /f {parentdir}f2.ts
del /f {parentdir}f3.ts

exit

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Radjah, 2019-11-20
@Radjah

Okay Google! "ffmpeg dxva2 encoding"
https://trac.ffmpeg.org/wiki/HWAccelIntro
https://trac.ffmpeg.org/wiki/Hardware/QuickSync

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question