I\'d like to grab the last frame in a video (.mpg, .avi, whatever) and dump it into an image file (.jpg, .png, w
One thing I have not seen mentioned is that the expected frame count can be off if the file contains dupes. If your method of counting frames is causing your image extraction command to come back empty, this might be what is mucking it up.
I have developed a short script to work around this problem. It is posted here.