convert to video

Converting source frames into swapped frames
Forum rules
Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.
Locked
User avatar
buggy
Posts: 3
Joined: Tue Mar 24, 2020 8:38 am

convert to video

Post by buggy » Tue Mar 24, 2020 10:01 am

Hi!

Total noob here!
Can you please explain how do I convert to video? I extracted the face, trained a model. Now in convert part I input the video that I want the face to be in, model dir, reference video and output folder. I run it and in result folder I see only pictures with replaced faces. How can I get the video?

All the best,
by torzdf » Wed Mar 25, 2020 2:59 pm
Remove the reference video (not required as the input is a video). Change the "writer" plugin to ffmpeg
Go to full post

User avatar
torzdf
Posts: 447
Joined: Fri Jul 12, 2019 12:53 am
Answers: 77
Has thanked: 14 times
Been thanked: 98 times

Re: convert to video

Post by torzdf » Tue Mar 24, 2020 10:33 am

Hit the "Generate" button in the GUI and post the generated command
My word is final

User avatar
buggy
Posts: 3
Joined: Tue Mar 24, 2020 8:38 am

Re: convert to video

Post by buggy » Tue Mar 24, 2020 12:33 pm

C:\Users\agami\MiniConda3\envs\faceswap\python.exe F:\faceswapp\faceswap\faceswap.py convert -i "F:/faceswap resources/data_dan.mp4" -o "F:/faceswap resources/result" -ref "F:/faceswap resources/data_dan.mp4" -m "F:/faceswap resources/model" -c avg-color -M extended -sc none -w opencv -osc 100 -l 0.4 -j 0 -g 1 -L INFO

User avatar
torzdf
Posts: 447
Joined: Fri Jul 12, 2019 12:53 am
Answers: 77
Has thanked: 14 times
Been thanked: 98 times

Re: convert to video

Post by torzdf » Wed Mar 25, 2020 2:59 pm

Remove the reference video (not required as the input is a video). Change the "writer" plugin to ffmpeg
My word is final

User avatar
buggy
Posts: 3
Joined: Tue Mar 24, 2020 8:38 am

Re: convert to video

Post by buggy » Wed Mar 25, 2020 7:54 pm

Thank you!

Locked