c# - how to convert avi file to an jpg's images array using .net -


how convert avi file jpg's images array using .net , need develop task take avi file , save jpg images on folder

you can command line ffmpeg. see this part of documentation. example,

ffmpeg -i infile.avi -f image2 image-%03d.jpg 

will save frames infile.avi numbered jpegs (image-001.jpg, image-002.jpg,...). can use other command line options frames want or other post processing resizing or deinterlacing.

you create program in .net calls ffmpeg executable right command line , moves resulting files correct place. easier trying use video library directly.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -