Git Product home page Git Product logo

Comments (3)

DonBraulio avatar DonBraulio commented on May 31, 2024

Hi @collabnix,
thanks for your question! I see it's not covered in the README (although there are other input examples here)
You need to set MASKCAM_INPUT=file:///absolute/path/to/file. Note that it needs to be the full (not relative) path as seen from the container. You'll probably need to mount a docker volume binding the folder where the video is located. For example:

docker run ... -v /host/path/to/video/folder:/videos --env MASKCAM_INPUT=file:///videos/video.mp4 ...

Then copy the generated video file in the container, back to the /videos folder to see it from the host machine.
Hope this is useful!

from maskcam.

prabhd33ps avatar prabhd33ps commented on May 31, 2024

It might be a silly question but the docker terminates as it completes the process. How to copy back the processed video back to host?

from maskcam.

DonBraulio avatar DonBraulio commented on May 31, 2024

Actually it's a good question! I can think of two options for that:

  • Run in development mode so that you can run the script manually as explained there, and then you can copy the resulting output_...mp4 video to the host volume.
  • Change the default output path to a shared volume. Unfortunately there's not yet a config param to set the output folder, but you can change this line in the code.

from maskcam.

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.