Usenet.com

www.Usenet.com

Group Index

Sci Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

mpeg to ppm in linux



Hi,

How can I convert an mpeg (or mpg) movie to ppm images, i.e. extract the frames of an mpeg movie as images (could be ppm, tiff, whatever - since I can convert it later from one format to another using image magik)? I understand that an avi can be converted to frames (or image matrices) in MATLAB. I am looking for a linux script solution, or even a C/C++ solution.

From google, I see that I can user 'convert' command to join ppm images into an mpeg movie. But couldn't find to do the reverse.

I need this method to use the frames of a movie as training images to a learning algorithm (to be used in background detection, for those who may be interested).

thanks,
->HS

--
(Remove all underscores from my email address to get the correct one. Apologies for the inconvenience, but this is to reduce spam.)





<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.