SimSwap icon indicating copy to clipboard operation
SimSwap copied to clipboard

Is it possible to create the resulting video separately?

Open cloverthe opened this issue 3 years ago • 2 comments

Lets say I have \temp_results filled with frames and I want to build a video of it, is this possible?

cloverthe avatar May 24 '22 15:05 cloverthe

You have already that code (last few lines in video_swap.py)

kyugorithm avatar May 25 '22 14:05 kyugorithm

Go into your temp_result and use ffmpeg to convert into video.

ffmpeg -f image2 -framerate 25 -i frame_%07d.jpg -vcodec libx264 -crf 22 video.mp4

Just confirm how frame_ is written i cant remember from memory.

Fibonacci134 avatar May 28 '22 15:05 Fibonacci134