Skip to content

a simple application written in python to export a frame of video to jpeg

License

Notifications You must be signed in to change notification settings

blackavec/mp4-frame-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mp4-frame-extractor

a simple application written in python to export a frame of video to jpeg

install

First of all, you need to set up virtualenv

# create new env
virtualenv env

# activate the environment
source ./env/bin/activate

# install dependencies
pip install -r requirement.txt

running

python main.py -h

python main.py --video <path-to-video> --frame <frame-number> --out <output-dir>

example:

# this will take a shot from frame 4000 and export to the same directory as source code
python main.py --frame 4000 --video sample.mp4 --out ./

About

a simple application written in python to export a frame of video to jpeg

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages