Video to gif for 1 frame every X seconds -- 2
Budget: $30 – $250 USD
Write a python script which does the following:
-Inputs
- MOV video file path
- Output directory
- how many seconds before another frame
- output
- gif file
- size-optimized gif file
- 1 frame every X seconds based on input
- saved as same name as input but as .gif e.g. video.mov becomes video.gif
- Usage: python script.py /path/to/video.mov /path/to/output-dir 5
- Possible tools
- FFMPEG
- imageio
- [iterate over frames in a movie](https://imageio.readthedocs.io/en/stable/examples.html#iterate-over-frames-in-a-movie)
- [optimize gif with pygifsicle](https://imageio.readthedocs.io/en/stable/examples.html#optimizing-a-gif-using-pygifsicle)
Description:
Given a video file in MOV format, get one frame every X seconds. (For a 60 second video and 1 frame every 5 seconds, take 12 frames/screenshots total at second 0, 5, 10, 15, etc). Join the frames together into a gif
Output file saved as same name as input but as .gif e.g. video.mov becomes video.gif
-Inputs
- MOV video file path
- Output directory
- how many seconds before another frame
- output
- gif file
- size-optimized gif file
- 1 frame every X seconds based on input
- saved as same name as input but as .gif e.g. video.mov becomes video.gif
- Usage: python script.py /path/to/video.mov /path/to/output-dir 5
- Possible tools
- FFMPEG
- imageio
- [iterate over frames in a movie](https://imageio.readthedocs.io/en/stable/examples.html#iterate-over-frames-in-a-movie)
- [optimize gif with pygifsicle](https://imageio.readthedocs.io/en/stable/examples.html#optimizing-a-gif-using-pygifsicle)
Description:
Given a video file in MOV format, get one frame every X seconds. (For a 60 second video and 1 frame every 5 seconds, take 12 frames/screenshots total at second 0, 5, 10, 15, etc). Join the frames together into a gif
Output file saved as same name as input but as .gif e.g. video.mov becomes video.gif