Giter VIP home page Giter VIP logo

Comments (9)

Clorr avatar Clorr commented on April 29, 2024

Hello,

I don't understand the request. Can you provide more info please ?

from faceswap.

Jack29913 avatar Jack29913 commented on April 29, 2024

He asks a plugin which converts frames into the video and adds original audio from source video into fake video.

from faceswap.

Clorr avatar Clorr commented on April 29, 2024

:-D Frame, not flame!

I currently have in mind the @shaoanlu method with moviepy, but I have not much time to work on it. There is a draft pull request if you want to have a look

from faceswap.

Jack29913 avatar Jack29913 commented on April 29, 2024

In my view this can be archived with FFMPEG easily. So it's not a priority. I'm waiting for GAN with masking it will be a game changer if its like in those gifs

from faceswap.

Clorr avatar Clorr commented on April 29, 2024

Can you provide some guidelines to @ruah1984 , if he needs some ?

from faceswap.

Clorr avatar Clorr commented on April 29, 2024

For the gan plugin, the classes are somewhat ready in https://github.com/shaoanlu/faceswap-GAN/blob/master/temp/faceswap_GAN_keras.ipynb I have to merge them, hopefully later today

from faceswap.

ruah1984 avatar ruah1984 commented on April 29, 2024

sorry for the typo.
no hurry i think i can wait until GAN plugin ready in deepfakes/faceswap.
thanks.

from faceswap.

Jack29913 avatar Jack29913 commented on April 29, 2024

sure. i use these commands.

frames to video
ffmpeg -f image2 -framerate <fps_of_source_video> -i "img (%d).jpg" -vcodec libx264 -profile:v high444 -refs 16 -crf 0 -preset ultrafast input_0.mp4

adding sound
ffmpeg -i input_0.mp4 -i source.mp4 -c copy -map 0:0 -map 1:1 -shortest out.mp4

before using these commands, you should copy source frames to merged folder and say NO when it asks if it should overwrite existing files. You should do thing step because there might be some frames without faces in them or algorithm may have failed to detect faces for specific frames. If you fail to do this step correctly final video and audio won't sync.

from faceswap.

Clorr avatar Clorr commented on April 29, 2024

I'm closing this as I consider it to be handled in #10

from faceswap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.