How to combine pictures into video?

Got questions or tips about the Conversion process? This is the place to discuss them.


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for discussing tips and understanding the process involved with Converting faces from your trained model.

If you are having issues with the Convert process not working as you would expect, then you should post in the Convert Support forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
didys
Posts: 2
Joined: Mon Aug 05, 2019 6:07 pm
Has thanked: 1 time

How to combine pictures into video?

Post by didys »

Please tell me how to combine pictures into video?

by bryanlyon » Mon Aug 05, 2019 9:24 pm

The easiest way will be to use the "FFmpeg" writer in the Convert tab. But you can also use the Effmpeg tab in Tools if you have images already done. If you want to do it outside of FaceSwap you can use ffmpeg such as from here: http://hamelot.io/visualization/using-f ... o-a-video/ or any number of other tools.

Go to full post
User avatar
bryanlyon
Site Admin
Posts: 793
Joined: Fri Jul 12, 2019 12:49 am
Answers: 44
Location: San Francisco
Has thanked: 4 times
Been thanked: 218 times
Contact:

Re: How to combine pictures into video?

Post by bryanlyon »

The easiest way will be to use the "FFmpeg" writer in the Convert tab. But you can also use the Effmpeg tab in Tools if you have images already done. If you want to do it outside of FaceSwap you can use ffmpeg such as from here: http://hamelot.io/visualization/using-f ... o-a-video/ or any number of other tools.

User avatar
didys
Posts: 2
Joined: Mon Aug 05, 2019 6:07 pm
Has thanked: 1 time

Re: How to combine pictures into video?

Post by didys »

Thanks so much!

User avatar
Sangui
Posts: 7
Joined: Mon Aug 19, 2019 11:28 am
Has thanked: 1 time

Put swap faces in video ?

Post by Sangui »

Hello, I follow the guide for using faceswap until the "Converting video" part (https://github.com/deepfakes/faceswap/b ... ng-a-video). I have now my folder with swaped faces (only faces not the entire image with swaped faces). Now I need to put these swaped faces in the original video but I can't find the steps of how to proceed in the tutorial.
It seems that I have to use the Effmpeg convert tool but I don't find the rights settings, can someone show me the settings in GUI ?

User avatar
torzdf
Posts: 2651
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 129 times
Been thanked: 622 times

Re: Put swap faces in video ?

Post by torzdf »

You don't want to swap the "faces" at the convert stage..... You need to swap the faces in the frames....

For converting:

Select the video that you want to swap the faces onto as your "input"
Select a location for output.
Select "ffmpeg" as writer.

This will swap the faces straight onto the video.

My word is final

User avatar
Sangui
Posts: 7
Joined: Mon Aug 19, 2019 11:28 am
Has thanked: 1 time

Re: Put swap faces in video ?

Post by Sangui »

Hum I don't really understand your answer, my video only has 1 person face and I want to replace it with an another person face from a trained model.

I have already trained my model. So now I have :
1) my extracted/sorted faces A from divers data videos / images
2) my extracted/sorted faces B from divers data videos / images
2) my trained model from A to B
3) my converted faces from A with my model (so I have a set of mix faces from A to B)
4) ???

I suppose the 4 is putting these faces in the original video ? But I can't find the settings. Or did I do something wrong ?

User avatar
torzdf
Posts: 2651
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 129 times
Been thanked: 622 times

Re: Put swap faces in video ?

Post by torzdf »

3) my converted faces from A with my model (so I have a set of mix faces from A to B)

This is wrong. You should not have converted faces.

You convert THE VIDEO, not THE FACES.

My word is final

User avatar
Sangui
Posts: 7
Joined: Mon Aug 19, 2019 11:28 am
Has thanked: 1 time

Re: Put swap faces in video ?

Post by Sangui »

You convert THE VIDEO, not THE FACES.

Alright thanks ! I can see clearer now.

Select the video that you want to swap the faces onto as your "input"
Select a location for output.
Select "ffmpeg" as writer.

You just have to also add the Model Dir

User avatar
torzdf
Posts: 2651
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 129 times
Been thanked: 622 times

Re: Put swap faces in video ?

Post by torzdf »

Exactly :)

My word is final

Locked