I am implementing a program and i need to ''break'' an MPEG video to jpeg frames and then back to an MPEG video. It is also needed that the application for the ''breaking''can be opened through my initial program. Any ideas?
ImageMagick convert
does the job very easily.
H:\temp\mpeg to frames>convert "SNL - Christopher Walken Cowbell.mpeg" x.jpg H:\temp\mpeg to frames>dir /b x*.jpg | find /c /v "" 10540 H:\temp\mpeg to frames>_
The second command counts the number of result files, i.e. number of frames.
Frame number 2419 (the images are numbered by default):