Giter Site home page Giter Site logo

Comments (3)

quantombone avatar quantombone commented on June 25, 2024

It is definitely possible. If you take a look at youtube.sh, you'll see the following line:

ffmpeg -i /tmp/video.mp4 -r 1 -t 100 -f image2 /tmp/images/image-%05d.jpg

These options extract a frame every second for the first 100 seconds, but FFmpeg can do a whole lot more.

You can take a look at the FFmpeg tutorial to see how to change this to get 30fps:
https://trac.ffmpeg.org/wiki/Create%20a%20thumbnail%20image%20every%20X%20seconds%20of%20the%20video

The CPU version of Caffe might not be fast enough to do this if you want to process every frame. Depending on the sizes of the frames and the total number of frames, it might take a few days to process a medium-length video.

from clouddream.

TrebuhD avatar TrebuhD commented on June 25, 2024

Thanks! There are videos less than 5 seconds long that I'm sure would look pretty interesting. I'll try rendering some overnight.

from clouddream.

quantombone avatar quantombone commented on June 25, 2024

Awesome, I'd love to see the final result.

from clouddream.

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.