So I seemed to have found a bug and I haven't seen this in any of the other posts, but feel free to correct me if wrong. From time to time, whenever I go over an alignments file, I get this error "ERROR There is a mismatch between the number of frames found in the video file (44735) and the number of frames found in the alignments file (44736).
09/27/2021 18:24:25 ERROR This can be caused by a number of issues:
09/27/2021 18:24:25 ERROR - The video has a Variable Frame Rate and FFMPEG is having a hard time calculating the correct number of frames.
09/27/2021 18:24:25 ERROR - You are working with a Merged Alignments file. This is not supported for your current use case.
09/27/2021 18:24:25 ERROR You should either extract the video to individual frames, re-encode the video at a constant frame rate and re-run extraction or work with a dedicated alignments file for your requested video."
Usually its just a frame or two off, but the videos are not variable frame rate, and I don't have merged alignment files. It will convert the files fine, but it won't allow manual editing of the alignments. I think I have pinpointed this to files with frame rates that are decimals, like 23.98 frame/second as opposed to whole number frame rates like 24 frames/second. This is probably not a faceswap bug and probably has to do with ffmpeg, but until it can be fixed it seems that files where you are wanting to correct alignments need to be converted to a whole number frame rate before extraction, or we won't be able to manually correct the alignments. If this has been noted before, please forgive, but I couldn't find it anywhere.