Comments (3)
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.
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.
Awesome, I'd love to see the final result.
from clouddream.
Related Issues (20)
- Add a better way of pushing images to the server. HOT 8
- Only works on some input images HOT 3
- GPU support? HOT 1
- Errors running youtube.sh HOT 10
- Docs for using clouddream locally with boot2docker? HOT 8
- How to Continue Iterations HOT 1
- Conversion failed - boot2docker + youtube.sh HOT 1
- Is it possible to do guided dreams in this build ? HOT 2
- Consider adding instructions on how to increase boot2docker memory limit HOT 2
- root password on scp image upload HOT 2
- Adding models to the docker container HOT 1
- Add link to gallery of example outputs HOT 1
- My fork might be of interest HOT 3
- AWS IP Does not show images or video.
- Youtube Video Processing Does Not Work? HOT 4
- Is it possible enable multithreading in deepdream function? HOT 4
- when try to stop get an error:
- Followed digitalocean instructions, getting No such file or directory
- get it running on Windows HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clouddream.