PDA

View Full Version : [ubuntu] Anyone heard of an avi frame grabber?


kaspar_silas
July 14th, 2008, 04:13 PM
Hi All,

Im looking a way to convert a specific frame on a gray scale uncompressed ".avi" file to a ".csv" file (or a table of numbers).

I can't use "non-loopable" solutions like screen capture as, all in all, I have about 10,000 frames to do.

My google ponderings have been tremendously unproductive. So any help or nods in the right direction is very greatly appreciated.

Kaspar

kaspar_silas
July 15th, 2008, 05:20 AM
Just in case anyone else comes up to the same problem. My solution was to install the great program ffmpeg then use the command

ffmpeg -i [name].avi frame%d.bmp

Then I wrote a small program to read in the bmp files and spit out csv. Im sure there is a pre packaged program for this last step but I don't know it.