n00mkrad / flowframes

Flowframes Windows GUI for video interpolation using DAIN (NCNN) or RIFE (CUDA/NCNN)
GNU General Public License v3.0
1.46k stars 114 forks source link

Documentation on how to make ffmpeg extract hq jpg images faster with hw de/encode #268

Closed jensdraht1999 closed 1 year ago

jensdraht1999 commented 1 year ago

Documentation Not A Issue, So I Close Again.

The command should be changed to something like this on laptop with a igpu and dedicated gpu:

ffmpeg -hwaccel qsv -qsv_device 1 -c:v h264_qsv -i inputvideo.mp4 -threads 12 -vcodec mjpeg_qsv -qscale:v 2 output\%6doutput.jpeg

It was increasing from 30-32x to 37x extracting images on a 720p video. Need to lookup this info here later.

jensdraht1999 commented 1 year ago

Here was the help I needed "https://www.reddit.com/r/ffmpeg/comments/100a8mf/error_thrown_when_trying_to_decode_with_qsv/"

jensdraht1999 commented 1 year ago

Documentation 2: only for me..

jensdraht1999 commented 12 months ago

Tested out, if QSV with CPU (two scripts running ffmpeg frame extract) is faster or not. It's not faster, qsv alone is much faster.