{"id":376,"date":"2022-08-30T08:47:27","date_gmt":"2022-08-30T08:47:27","guid":{"rendered":"https:\/\/formatswap.com\/blog\/?p=376"},"modified":"2023-02-04T09:50:01","modified_gmt":"2023-02-04T09:50:01","slug":"how-to-create-a-deepfake-video-using-deepfacelab","status":"publish","type":"post","link":"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/","title":{"rendered":"How to Create a Deepfake Video Using DeepFaceLab"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"577\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/cover-1024x577.jpg\" alt=\"deep fake cover\" class=\"wp-image-445\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/cover-1024x577.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/cover-300x169.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/cover-768x433.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/cover-1536x865.jpg 1536w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/cover.jpg 1910w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In this tutorial you will learn how to create a<a href=\"https:\/\/en.wikipedia.org\/wiki\/Deepfake\"> deepfake<\/a> video using<a href=\"https:\/\/github.com\/iperov\/DeepFaceLab\"> DeepFaceLab<\/a>. This application uses machine learning to swap almost any face from a video for one that you choose.<a href=\"https:\/\/github.com\/iperov\/DeepFaceLab\"> DeepFaceLab<\/a> is currently the best software by far for making<a href=\"https:\/\/en.wikipedia.org\/wiki\/Deepfake\"> deepfakes<\/a>. In this tutorial we will be using the<a href=\"https:\/\/en.wikipedia.org\/wiki\/Windows_10\"> Windows 10<\/a> operating system. However the steps are pretty much the same if you are using Linux. So you should be able to utilize this tutorial with either operating system. It is advised that you have a powerful GPU such as a <a href=\"https:\/\/amzn.to\/3jvKmiI\">Nvidia GTX 1060<\/a> or better for creating<a href=\"http:\/\/en.wikipedia.org\/wiki\/Deepfake\"> deepfakes<\/a>. If you want the best experience possible I would recommend you use a<a href=\"https:\/\/amzn.to\/3jvNjjo\"> RTX 3080<\/a> or<a href=\"https:\/\/amzn.to\/3Y4d4X4\"> RTX 3090<\/a> graphics card. The software will still work with a low end GPU, but it could take multiple weeks to train your model. Having a high end GPU will also allow you to render the face swaps in a higher resolution. To learn how to create a deepfake continue reading below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Download DeepFaceLab<\/h2>\n\n\n\n<p>The first step is to download the latest version of <a href=\"http:\/\/github.com\/iperov\/DeepFaceLab\">DeepFaceLab<\/a>. You can do so by going to the <a href=\"https:\/\/github.com\/iperov\/DeepFaceLab\">DeepFaceLab Github<\/a> page and scrolling down to releases. Click on the <a href=\"https:\/\/mega.nz\/folder\/Po0nGQrA#dbbttiNWojCt8jzD4xYaPw\">Windows (Mega.nz)<\/a> link to download the correct release for your graphics card. If you are installing in Linux you will have to follow the instructions provided on the <a href=\"https:\/\/github.com\/nagadit\/DeepFaceLab_Linux\">Linux (github)<\/a> page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"416\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/dfl_releases-1024x416.jpg\" alt=\"deepfacelab releases\" class=\"wp-image-426\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/dfl_releases-1024x416.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/dfl_releases-300x122.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/dfl_releases-768x312.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/dfl_releases-1536x624.jpg 1536w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/dfl_releases.jpg 1659w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Choose Version<\/h2>\n\n\n\n<p>After navigating to the Mega.nz download link you will need to select a version of DeepFaceLab. This is based on which graphics card you have installed. In this tutorial I am using a GTX 1080 so I will download &#8220;DeepFaceLab_NVIDIA_up_to_RTX2080Ti_build_11_20_2021.exe&#8221;. Choose the version that is correct for your system.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"417\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/mega-nz-select-gpu-version-1024x417.jpg\" alt=\"deepfacelab choose version to download\" class=\"wp-image-859\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/mega-nz-select-gpu-version-1024x417.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/mega-nz-select-gpu-version-300x122.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/mega-nz-select-gpu-version-768x313.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2023\/01\/mega-nz-select-gpu-version.jpg 1119w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Open the Workspace<\/h2>\n\n\n\n<p>After downloading the application, extract the zip file and open the folder. Your folder should look similar to this.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"798\" height=\"1024\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/dfl_contents-798x1024.jpg\" alt=\"open the workspace\" class=\"wp-image-428\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/dfl_contents-798x1024.jpg 798w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/dfl_contents-234x300.jpg 234w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/dfl_contents-768x985.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/dfl_contents.jpg 1178w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Collect source videos<\/h2>\n\n\n\n<p>This is by far the most important step of getting a good result from the process. You need to select a video of your source (persons face you want to copy). As well as a destination video (where you want your source face copied to). You want to find a clip for each that is 5-10 minutes long with multiple angles of the faces. A good source for these videos are interviews on YouTube. Below are the two videos I am going to use. After you download the videos rename the source video to <strong>&#8220;data_src.mp4&#8221;<\/strong> and the destination video to <strong>&#8220;data_dst.mp4&#8221;<\/strong>. Then move both MP4 files into the <strong>&#8220;workspace&#8221;<\/strong> folder.<\/p>\n\n\n\n<p><strong>Source face:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Breaking Bad &quot;Yeah Mr. White! Yeah Science!&quot; Scene\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/io-t-bUkfY8?start=40&#038;feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><strong>Destination Face:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Tom Hanks on Going to Space, New Movie Finch &amp; the Passing of His Dear Friend Peter Scolari\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/0mTXbsQ0OGE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Extract images from source video<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"581\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_1-1024x581.jpg\" alt=\"step 1 enter src fps\" class=\"wp-image-385\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_1-1024x581.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_1-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_1-768x436.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_1.jpg 1350w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To start we will need to extract the image frames from the source video. Double click on <strong>&#8220;2) extract images from video data_src.bat&#8221;<\/strong>, you will then see the above window open. Type in 7 or 8 and press <strong>&#8220;Enter&#8221;<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"579\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_2-1024x579.jpg\" alt=\"enter source output format\" class=\"wp-image-386\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_2-1024x579.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_2-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_2-768x434.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_2.jpg 1346w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next type in <strong>&#8220;png&#8221; <\/strong>and press <strong>&#8220;Enter&#8221;<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"579\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_wait-1024x579.jpg\" alt=\"wait for source images to extract\" class=\"wp-image-388\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_wait-1024x579.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_wait-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_wait-768x434.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_wait.jpg 1348w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Wait for the extraction process to complete.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"581\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_complete-1024x581.jpg\" alt=\"source extraction complete\" class=\"wp-image-387\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_complete-1024x581.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_complete-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_complete-768x436.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/1_complete.jpg 1344w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Once you see this screen the process is complete and you can close the window.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Extract images from destination video<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"580\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_1-1024x580.jpg\" alt=\"select destination output image format\" class=\"wp-image-390\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_1-1024x580.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_1-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_1-768x435.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_1.jpg 1347w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next you need to extract every frame from the destination video as an image. Double click on <strong>&#8220;3) extract images from video data_dst FULL FPS.bat&#8221;<\/strong>. You will see the above window open.  Type in &#8220;png&#8221; and press <strong>&#8220;Enter&#8221;<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"578\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_wait-1024x578.jpg\" alt=\"wait for images to extract destination\" class=\"wp-image-392\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_wait-1024x578.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_wait-300x169.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_wait-768x434.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_wait.jpg 1346w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Wait for all of the destination images to be extracted.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"579\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_complete-1024x579.jpg\" alt=\"destination image extract complete\" class=\"wp-image-391\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_complete-1024x579.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_complete-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_complete-768x434.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/2_complete.jpg 1347w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Once you see this screen the process is complete and you can close the window.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Extract the source video&#8217;s faceset<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"583\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_1-1024x583.jpg\" alt=\"select gpu source video face extract\" class=\"wp-image-393\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_1-1024x583.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_1-300x171.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_1-768x437.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_1.jpg 1350w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next you will need to extract the source video&#8217;s faceset images. To begin double click on <strong>&#8220;4) data_src faceset extract.bat&#8221;<\/strong>. It will open the window you see above. Select your GPU device and press <strong>&#8220;Enter&#8221;<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"582\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_2-1024x582.jpg\" alt=\"select face extract type source\" class=\"wp-image-394\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_2-1024x582.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_2-300x171.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_2-768x437.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_2.jpg 1347w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Afterwards you will be asked which face type to use. Type in the default option <strong>&#8220;wf&#8221;<\/strong> (whole face) and press <strong>&#8220;Enter&#8221;<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"579\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_3-1024x579.jpg\" alt=\"extracted source face image size\" class=\"wp-image-395\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_3-1024x579.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_3-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_3-768x434.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_3.jpg 1344w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Then you will select the faces image size. Type in <strong>&#8220;512&#8221;<\/strong> and press <strong>&#8220;Enter&#8221;<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"584\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_4-1024x584.jpg\" alt=\"extracted source face jpeg quality\" class=\"wp-image-396\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_4-1024x584.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_4-300x171.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_4-768x438.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_4.jpg 1349w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next set the jpeg quality to <strong>&#8220;90&#8221;<\/strong>. Once you press <strong>&#8220;Enter&#8221;<\/strong> the face extraction process will start.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"582\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_wait-1024x582.jpg\" alt=\"wait for source faces to extract\" class=\"wp-image-398\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_wait-1024x582.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_wait-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_wait-768x436.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_wait.jpg 1350w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Wait for the extraction process to complete.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"576\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_complete-1024x576.jpg\" alt=\"source video face extraction complete\" class=\"wp-image-397\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_complete-1024x576.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_complete-300x169.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_complete-768x432.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_complete.jpg 1349w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You will see this screen once the source face extraction is complete. Press <strong>&#8220;any key&#8221;<\/strong> to exit and close the window.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Extract the destination video&#8217;s faceset<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"583\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_1-1024x583.jpg\" alt=\"select gpu source video face extract\" class=\"wp-image-393\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_1-1024x583.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_1-300x171.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_1-768x437.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_1.jpg 1350w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The destination video face extraction process will be similar to the source extraction. To begin double click on <strong>&#8220;5) data_dst faceset extract.bat&#8221;<\/strong>. Once the window opens, select the GPU device and press <strong>&#8220;Enter&#8221;<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"582\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_2-1024x582.jpg\" alt=\"select face extract type source\" class=\"wp-image-394\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_2-1024x582.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_2-300x171.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_2-768x437.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_2.jpg 1347w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Type in <strong>&#8220;wf&#8221;<\/strong> and press <strong>&#8220;Enter&#8221;<\/strong> to use the whole face.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"579\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_3-1024x579.jpg\" alt=\"extracted source face image size\" class=\"wp-image-395\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_3-1024x579.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_3-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_3-768x434.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_3.jpg 1344w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Set the face image size to <strong>&#8220;512&#8221; <\/strong>then press <strong>&#8220;Enter&#8221;<\/strong> to continue.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"584\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_4-1024x584.jpg\" alt=\"extracted source face jpeg quality\" class=\"wp-image-396\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_4-1024x584.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_4-300x171.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_4-768x438.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_4.jpg 1349w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Finally set the jpeg quality to <strong>&#8220;90&#8221;<\/strong> and press <strong>&#8220;Enter&#8221;<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"582\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_wait-1024x582.jpg\" alt=\"wait for source faces to extract\" class=\"wp-image-398\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_wait-1024x582.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_wait-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_wait-768x436.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_wait.jpg 1350w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Wait for the destination face extraction process to complete.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"576\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_complete-1024x576.jpg\" alt=\"source video face extraction complete\" class=\"wp-image-397\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_complete-1024x576.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_complete-300x169.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_complete-768x432.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/3_complete.jpg 1349w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>At completion you will see this screen. You can press <strong>&#8220;any key&#8221;<\/strong> to save and exit. At this point you have both of your videos faces extracted and ready for use in the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Deepfake\">deepfake<\/a> video.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sort the source and destination faceset&#8217;s<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"576\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_1-1024x576.jpg\" alt=\"run the sorting tool\" class=\"wp-image-403\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_1-1024x576.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_1-300x169.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_1-768x432.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_1.jpg 1350w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In this step we will be sorting the faces by similarity to make it easier to remove blurry and unwanted faces. To sort the source faces double click on <strong>&#8220;4.2) data_src sort.bat&#8221;<\/strong>. You will see the above screen. Type in <strong>&#8220;5&#8221;<\/strong> and press <strong>&#8220;Enter&#8221;<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"580\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_wait-1024x580.jpg\" alt=\"wait for sort tool\" class=\"wp-image-405\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_wait-1024x580.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_wait-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_wait-768x435.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_wait.jpg 1348w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Wait for the sorting process to complete.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"580\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_complete-1024x580.jpg\" alt=\"sort tool complete\" class=\"wp-image-404\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_complete-1024x580.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_complete-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_complete-768x435.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/4_complete.jpg 1348w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The source faces are now sorting by similarity. You now need to sort the destination faces. Double click on <strong>&#8220;5.2) data_dst sort.bat&#8221;<\/strong>. After the terminal window opens repeat the same steps above that you used to sort the source face.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Remove unwanted face images<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"697\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/bad_images-1024x697.jpg\" alt=\"bad faces examples\" class=\"wp-image-413\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/bad_images-1024x697.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/bad_images-300x204.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/bad_images-768x522.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/bad_images-1536x1045.jpg 1536w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/bad_images.jpg 1830w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This is the last step before beginning to train the model. It is very important to complete this step to obtain a good result. Open the <strong>&#8220;workspace&#8221;<\/strong> folder and navigate to the <strong>&#8220;data_src&#8221;<\/strong> folder. Finally open the <strong>&#8220;aligned&#8221;<\/strong> folder and delete all images that do not contain a face, are blurry, or have hands in front of the face. After you complete this step, repeat the same by navigating to the <strong>&#8220;data_dst&#8221;<\/strong> then the <strong>&#8220;aligned&#8221;<\/strong> folder. Above are some examples of bad photos that I would remove. Use your best judgement when deciding which photos to remove.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Train the deepfake model<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"581\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_1-1024x581.jpg\" alt=\"set model name\" class=\"wp-image-406\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_1-1024x581.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_1-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_1-768x436.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_1.jpg 1342w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now you will need to train the model. There are a few training batch files to choose from. If you are new to making deepfakes I would recommend the Quick96 model. To get started double click on <strong>&#8220;6) train Quick96.bat&#8221;<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"581\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_2-1024x581.jpg\" alt=\"select gpu for training\" class=\"wp-image-407\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_2-1024x581.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_2-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_2-768x435.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_2.jpg 1344w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Select the GPU device to use for training. If you have multiple GPU&#8217;s you will see them here. Unfortunately you are currently only able to use one GPU at a time. Once you press <strong>&#8220;Enter&#8221;<\/strong> the model training will begin. Now you will need to wait for the model to train. Within 24 hours you should start to see the faces in the preview window. I recommend you train the model for at least 7 days to get high quality results. If you need to use your computer for something else you can press <strong>&#8220;CTRL+C&#8221;<\/strong> to save and exit. The next time you open the Quick86 trainer it will resume from the last saved iteration.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"630\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_1-1024x630.jpg\" alt=\"train it 1\" class=\"wp-image-408\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_1-1024x630.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_1-300x185.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_1-768x473.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_1.jpg 1352w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Preview at 1 iteration.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"639\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_650-1024x639.jpg\" alt=\"train it 650\" class=\"wp-image-409\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_650-1024x639.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_650-300x187.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_650-768x479.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_650.jpg 1352w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Preview at 643 iterations.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"636\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_2500-1024x636.jpg\" alt=\"train it 2500\" class=\"wp-image-410\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_2500-1024x636.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_2500-300x186.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_2500-768x477.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_2500.jpg 1359w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Preview at 2,569 iterations.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"636\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_400000-1024x636.jpg\" alt=\"train it 400000\" class=\"wp-image-411\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_400000-1024x636.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_400000-300x186.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_400000-768x477.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/7_train_400000.jpg 1349w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Preview at 403,891 iterations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Merge the deepfake video<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"580\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_1-1024x580.jpg\" alt=\"select model\" class=\"wp-image-415\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_1-1024x580.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_1-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_1-768x435.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_1.jpg 1348w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next you will need to merge the faces into each frame of the video. This replaces the destination face with the source face for each frame. The merging process will also allow you to adjust the blur, erode mask, and color matching profile. This will allow you to get a more realistic final result. <strong>&#8220;Double click on &#8220;7) merge Quick96.bat&#8221;<\/strong>. Then type <strong>&#8220;0&#8221;<\/strong> and press <strong>&#8220;Enter&#8221;<\/strong> to load the model.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"580\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_2-1024x580.jpg\" alt=\"select gpu\" class=\"wp-image-416\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_2-1024x580.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_2-300x170.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_2-768x435.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_2.jpg 1342w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Select the GPU device to use for the merging process.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"584\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_3-1024x584.jpg\" alt=\"use interactive merger\" class=\"wp-image-417\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_3-1024x584.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_3-300x171.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_3-768x438.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_3.jpg 1350w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Type <strong>&#8220;y&#8221;<\/strong> and press <strong>&#8220;Enter&#8221;<\/strong> to use the interactive merger tool. The interactive merger allows you to visualize the changes you are making.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"584\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_4-1024x584.jpg\" alt=\"select amount of workers\" class=\"wp-image-418\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_4-1024x584.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_4-300x171.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_4-768x438.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_4.jpg 1340w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Set the number of workers to <strong>&#8220;16&#8221;<\/strong> and press <strong>&#8220;Enter&#8221;<\/strong>. If you have any issues with the interactive merger opening you should reduce the number of workers.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"864\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_5-1024x864.jpg\" alt=\"controls\" class=\"wp-image-419\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_5-1024x864.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_5-300x253.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_5-768x648.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_5.jpg 1420w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The above screen will open. These are the different shortcut keys for the merge tool. You are able to adjust many parameters, but we will be changing just a few of them. To begin click anywhere in the gray box and press <strong>&#8220;Tab&#8221;<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_6-1024x517.jpg\" alt=\"set erode and blur\" class=\"wp-image-420\" width=\"846\" height=\"427\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_6-1024x517.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_6-300x151.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_6-768x388.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_6-1536x775.jpg 1536w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_6-2048x1034.jpg 2048w\" sizes=\"auto, (max-width: 846px) 100vw, 846px\" \/><\/figure>\n\n\n\n<p>You will then see the videos first frame as well as different values in the terminal. If you just see a black screen use the less than symbol <strong>&#8220;&gt;&#8221;<\/strong> until you get to the first frame to show the face. Now you will have to change the erode_mask_modifier as well as the blur_mask modifier. This will help the face seem more realistic during scenes with heavy movement. To do this press the <strong>&#8220;W&#8221;<\/strong> key 20 times. Then press the <strong>&#8220;E&#8221;<\/strong> key 100 times. After doing this your values will be set. To start the merge press shift plus forward slash <strong>&#8220;SHIFT+\/&#8221;<\/strong>, then press shift plus the less than key <strong>&#8220;SHIFT+&gt;&#8221;<\/strong>. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_complete-1024x450.jpg\" alt=\"wait until merge is 100%\" class=\"wp-image-421\" width=\"846\" height=\"372\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_complete-1024x450.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_complete-300x132.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_complete-768x337.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_complete-1536x675.jpg 1536w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_complete-2048x900.jpg 2048w\" sizes=\"auto, (max-width: 846px) 100vw, 846px\" \/><\/figure>\n\n\n\n<p>You will see the <strong>&#8220;merging&#8221;<\/strong> progress bar fill up. Once it gets to 100% the merge is complete.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"920\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_press_esc-1024x920.jpg\" alt=\"press esc to save\" class=\"wp-image-422\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_press_esc-1024x920.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_press_esc-300x270.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_press_esc-768x690.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/8_press_esc.jpg 1349w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>After the video has finished merging click on the video output window and press <strong>&#8220;Escape&#8221;<\/strong> to save and close the merge.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Export the video file<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"584\" loading=\"lazy\" src=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/9_complete-1024x584.jpg\" alt=\"export deepfake mp4\" class=\"wp-image-414\" srcset=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/9_complete-1024x584.jpg 1024w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/9_complete-300x171.jpg 300w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/9_complete-768x438.jpg 768w, https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/9_complete.jpg 1339w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The final step is to export the video as a MP4 file. Double click on <strong>&#8220;8) merged to mp4 lossless.bat&#8221;<\/strong> to begin the process. Once you see the above screen you have completed the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Deepfake\">deepfake<\/a> tutorial. Navigate to &#8220;workspace&#8221; to find your video file. It will be saved as &#8220;result.mp4&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Breaking Bad - Yeah Science! (Tom Hanks Deepfake)\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/1HI4aST_VZ8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>This is the result of the process after training for 1,000,000 iterations. If you want a better result you can train for longer, use a <a href=\"https:\/\/amzn.to\/3xe4OrP\">RTX 3090 graphics card<\/a>, and or provide more source video material to improve the models quality.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Questions?<\/h2>\n\n\n\n<p>If you have any questions or comments feel free to leave them below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related Resources<\/h2>\n\n\n\n<p>View our <strong><a href=\"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/deep-learning-image-style-transfer-tutorial-using-neural-style-pt\/\">Deep Learning Image Style Transfer Tutorial Using Neural Style Pt<\/a>.<\/strong><\/p>\n\n\n\n<p>Check our our <strong><a href=\"https:\/\/formatswap.com\/blog\/product-guides\/the-best-mechanical-gaming-keyboards-to-purchase-in-2023\/\">The Best Mechanical Gaming Keyboards to Purchase in 2023<\/a><\/strong> article.<\/p>\n\n\n\n<p>Learn <a href=\"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-veracrypt-and-encrypt-a-flash-drive-on-ubuntu-22-04\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Install Ubuntu Server 22.04 [Step by Step]<\/strong><\/a>.<\/p>\n\n\n\n<p>Click here to learn <a href=\"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-install-mysql-on-ubuntu-server-22-04-lts\/\"><strong>How to Install MySQL on Ubuntu Server 22.04 LTS.<\/strong><\/a><\/p>\n\n\n\n<p>View our other <a href=\"https:\/\/formatswap.com\/blog\/category\/machine-learning-tutorials\/\"><strong>Machine Learning Tutorials<\/strong><\/a>.<\/p>\n\n\n\n<p>Learn <strong><a href=\"https:\/\/formatswap.com\/blog\/linux-tutorials\/how-to-mount-an-smb-samba-share-in-linux-with-cifs-utils\/\">How to Mount an SMB (Samba) Share in Linux with cifs-utils<\/a>.<\/strong><\/p>\n\n\n\n<p>View all of our available online tools and converters at <strong><a href=\"https:\/\/formatswap.com\" target=\"_blank\" rel=\"noreferrer noopener\">Formatswap.com<\/a>.<\/strong><\/p>\n\n\n\n<p><em><strong>Affiliate Disclaimer:<\/strong><\/em><\/p>\n\n\n\n<p><em>This website may contain affiliate links. This means we may receive a small commission if you purchase through our links. However, this does not impact our reviews and comparisons, as we only promote products we personally believe in. We are independently owned and the opinions expressed here ar<\/em>e our own.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial you will learn how to create a deepfake video using DeepFaceLab. This application uses machine learning to swap almost any face from a video for one that you choose. DeepFaceLab is currently the best software by far for making deepfakes. In this tutorial we will be using the Windows 10 operating system. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"categories":[7,3],"tags":[34,9,14,25],"class_list":["post-376","post","type-post","status-publish","format-standard","hentry","category-machine-learning-tutorials","category-windows-tutorials","tag-deep-fake","tag-deep-learning","tag-tutorial","tag-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Create a Deepfake Video Using DeepFaceLab - Format Swap - Tech Tutorials<\/title>\n<meta name=\"description\" content=\"In this tutorial you will learn how to create a deepfake video using DeepFaceLab. You can make any deepfake on Microsoft Windows.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a Deepfake Video Using DeepFaceLab - Format Swap - Tech Tutorials\" \/>\n<meta property=\"og:description\" content=\"In this tutorial you will learn how to create a deepfake video using DeepFaceLab. You can make any deepfake on Microsoft Windows.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/\" \/>\n<meta property=\"og:site_name\" content=\"Format Swap - Tech Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-30T08:47:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-04T09:50:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/cover-1024x577.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"17 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/machine-learning-tutorials\\\/how-to-create-a-deepfake-video-using-deepfacelab\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/machine-learning-tutorials\\\/how-to-create-a-deepfake-video-using-deepfacelab\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d01ee8e1e4f3718cfcc57eeb8ad6188\"},\"headline\":\"How to Create a Deepfake Video Using DeepFaceLab\",\"datePublished\":\"2022-08-30T08:47:27+00:00\",\"dateModified\":\"2023-02-04T09:50:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/machine-learning-tutorials\\\/how-to-create-a-deepfake-video-using-deepfacelab\\\/\"},\"wordCount\":1777,\"commentCount\":2,\"image\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/machine-learning-tutorials\\\/how-to-create-a-deepfake-video-using-deepfacelab\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/cover-1024x577.jpg\",\"keywords\":[\"deep fake\",\"deep learning\",\"tutorial\",\"windows\"],\"articleSection\":[\"Machine Learning Tutorials\",\"Windows Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/formatswap.com\\\/blog\\\/machine-learning-tutorials\\\/how-to-create-a-deepfake-video-using-deepfacelab\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/machine-learning-tutorials\\\/how-to-create-a-deepfake-video-using-deepfacelab\\\/\",\"url\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/machine-learning-tutorials\\\/how-to-create-a-deepfake-video-using-deepfacelab\\\/\",\"name\":\"How to Create a Deepfake Video Using DeepFaceLab - Format Swap - Tech Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/machine-learning-tutorials\\\/how-to-create-a-deepfake-video-using-deepfacelab\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/machine-learning-tutorials\\\/how-to-create-a-deepfake-video-using-deepfacelab\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/cover-1024x577.jpg\",\"datePublished\":\"2022-08-30T08:47:27+00:00\",\"dateModified\":\"2023-02-04T09:50:01+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d01ee8e1e4f3718cfcc57eeb8ad6188\"},\"description\":\"In this tutorial you will learn how to create a deepfake video using DeepFaceLab. You can make any deepfake on Microsoft Windows.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/machine-learning-tutorials\\\/how-to-create-a-deepfake-video-using-deepfacelab\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/formatswap.com\\\/blog\\\/machine-learning-tutorials\\\/how-to-create-a-deepfake-video-using-deepfacelab\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/machine-learning-tutorials\\\/how-to-create-a-deepfake-video-using-deepfacelab\\\/#primaryimage\",\"url\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/cover.jpg\",\"contentUrl\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/cover.jpg\",\"width\":1910,\"height\":1076},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/machine-learning-tutorials\\\/how-to-create-a-deepfake-video-using-deepfacelab\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create a Deepfake Video Using DeepFaceLab\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/\",\"name\":\"Format Swap - Tech Tutorials\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d01ee8e1e4f3718cfcc57eeb8ad6188\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/55cb3548d8c931eac3f2facbca246c6bde86082f48ca304906d7da2214191b72?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/55cb3548d8c931eac3f2facbca246c6bde86082f48ca304906d7da2214191b72?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/55cb3548d8c931eac3f2facbca246c6bde86082f48ca304906d7da2214191b72?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/formatswap.com\\\/blog\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCsIPLkRPTbbTaT8YX0Dh2-A\"],\"url\":\"https:\\\/\\\/formatswap.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create a Deepfake Video Using DeepFaceLab - Format Swap - Tech Tutorials","description":"In this tutorial you will learn how to create a deepfake video using DeepFaceLab. You can make any deepfake on Microsoft Windows.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/","og_locale":"en_US","og_type":"article","og_title":"How to Create a Deepfake Video Using DeepFaceLab - Format Swap - Tech Tutorials","og_description":"In this tutorial you will learn how to create a deepfake video using DeepFaceLab. You can make any deepfake on Microsoft Windows.","og_url":"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/","og_site_name":"Format Swap - Tech Tutorials","article_published_time":"2022-08-30T08:47:27+00:00","article_modified_time":"2023-02-04T09:50:01+00:00","og_image":[{"url":"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/cover-1024x577.jpg","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"17 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/#article","isPartOf":{"@id":"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/"},"author":{"name":"admin","@id":"https:\/\/formatswap.com\/blog\/#\/schema\/person\/3d01ee8e1e4f3718cfcc57eeb8ad6188"},"headline":"How to Create a Deepfake Video Using DeepFaceLab","datePublished":"2022-08-30T08:47:27+00:00","dateModified":"2023-02-04T09:50:01+00:00","mainEntityOfPage":{"@id":"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/"},"wordCount":1777,"commentCount":2,"image":{"@id":"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/#primaryimage"},"thumbnailUrl":"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/cover-1024x577.jpg","keywords":["deep fake","deep learning","tutorial","windows"],"articleSection":["Machine Learning Tutorials","Windows Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/","url":"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/","name":"How to Create a Deepfake Video Using DeepFaceLab - Format Swap - Tech Tutorials","isPartOf":{"@id":"https:\/\/formatswap.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/#primaryimage"},"image":{"@id":"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/#primaryimage"},"thumbnailUrl":"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/cover-1024x577.jpg","datePublished":"2022-08-30T08:47:27+00:00","dateModified":"2023-02-04T09:50:01+00:00","author":{"@id":"https:\/\/formatswap.com\/blog\/#\/schema\/person\/3d01ee8e1e4f3718cfcc57eeb8ad6188"},"description":"In this tutorial you will learn how to create a deepfake video using DeepFaceLab. You can make any deepfake on Microsoft Windows.","breadcrumb":{"@id":"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/#primaryimage","url":"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/cover.jpg","contentUrl":"https:\/\/formatswap.com\/blog\/wp-content\/uploads\/2022\/08\/cover.jpg","width":1910,"height":1076},{"@type":"BreadcrumbList","@id":"https:\/\/formatswap.com\/blog\/machine-learning-tutorials\/how-to-create-a-deepfake-video-using-deepfacelab\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/formatswap.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Create a Deepfake Video Using DeepFaceLab"}]},{"@type":"WebSite","@id":"https:\/\/formatswap.com\/blog\/#website","url":"https:\/\/formatswap.com\/blog\/","name":"Format Swap - Tech Tutorials","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/formatswap.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/formatswap.com\/blog\/#\/schema\/person\/3d01ee8e1e4f3718cfcc57eeb8ad6188","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/55cb3548d8c931eac3f2facbca246c6bde86082f48ca304906d7da2214191b72?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/55cb3548d8c931eac3f2facbca246c6bde86082f48ca304906d7da2214191b72?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/55cb3548d8c931eac3f2facbca246c6bde86082f48ca304906d7da2214191b72?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/formatswap.com\/blog","https:\/\/www.youtube.com\/channel\/UCsIPLkRPTbbTaT8YX0Dh2-A"],"url":"https:\/\/formatswap.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/posts\/376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/comments?post=376"}],"version-history":[{"count":4,"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/posts\/376\/revisions"}],"predecessor-version":[{"id":1067,"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/posts\/376\/revisions\/1067"}],"wp:attachment":[{"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/media?parent=376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/categories?post=376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/formatswap.com\/blog\/wp-json\/wp\/v2\/tags?post=376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}