original file too big? or different codec?

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
sasasamb
Posts: 7
Joined: Thu Sep 12, 2019 9:34 am
Has thanked: 1 time

original file too big? or different codec?

Post by sasasamb » Thu Sep 12, 2019 9:41 am

Hi everyone,

first of all thanks for this useful forum pages and for the whole Faceswap endeavour.

I am writing looking for some help.

I am experiencing this problem right now.

After being successfully able to convert one mp4 video into an other, I am now stuck into something I am not really able to understand. Using exactly the same settings, and after a successful training time, the convert process does not work.

The event windows keeps saying (for every single png): "no alignment found for [], skipping".

The first time I did it it was about a 63 Mb mp4 480p video file. Now I am using a video that I have personally recorded of about 2.8 Gb mp4 1080p video file. May this be an issue? I am trying to resize it to a smaller size.

Thanks for your help.

Alex

User avatar
bryanlyon
Site Admin
Posts: 89
Joined: Fri Jul 12, 2019 12:49 am
Answers: 9
Location: San Francisco
Has thanked: 3 times
Been thanked: 15 times
Contact:

Re: original file too big? or different codec?

Post by bryanlyon » Thu Sep 12, 2019 4:13 pm

It's saying that it doesn't have alignments for that file. Did you run the extract stage on that file and if so did you select the correct alignments file for the convert task?

User avatar
sasasamb
Posts: 7
Joined: Thu Sep 12, 2019 9:34 am
Has thanked: 1 time

Re: original file too big? or different codec?

Post by sasasamb » Thu Sep 12, 2019 5:50 pm

In fact I was waiting for this first post to be approved in order to give an update. To answer to your question I have discovered that it automatically spots the alignment file if not inserted. And that I found to be true. Talking about the size of the video in fact I reduced the video from 1080 (height) to 480 and it actually worked. So: case solved :)
Thanks!

User avatar
torzdf
Posts: 186
Joined: Fri Jul 12, 2019 12:53 am
Answers: 50
Has thanked: 8 times
Been thanked: 31 times

Re: original file too big? or different codec?

Post by torzdf » Sat Sep 14, 2019 10:18 am

Size of the input video shouldn't make a difference.
My word is final

User avatar
sasasamb
Posts: 7
Joined: Thu Sep 12, 2019 9:34 am
Has thanked: 1 time

Re: original file too big? or different codec?

Post by sasasamb » Sat Sep 14, 2019 10:25 am

Do you mean that it does not matter for extraction? Or you mean it does not matter for conversion too?

If for the conversion the size does not matter than I shall figure out why changing size (1080 to 480) makes the conversion process work.

User avatar
torzdf
Posts: 186
Joined: Fri Jul 12, 2019 12:53 am
Answers: 50
Has thanked: 8 times
Been thanked: 31 times

Re: original file too big? or different codec?

Post by torzdf » Sun Sep 15, 2019 4:03 pm

If you change the resolution between extract and convert, then the process will not be able to find the faces, as the hash will have changed, so the alignments file will no longer represent the original video.

The resolution you extract at (and subsequently convert at) has no direct impact on the ability to find alignments.
My word is final

Locked