[MPlayer-users] how to convert video to pgm images

Nick Rout nick at rout.co.nz
Sun May 27 13:07:54 CEST 2007


Himadri Sarkar wrote:
> hello
>
> how to convert video to pgm images
>
> by using mplayer -vo pnm <filename> the image gets converted to ppm format
>
> what all files do i need to include in my c program to just do the task of
> converting
> the video file to pgm format.
>
>   
once you have the ppm files you should be able to do

convert file.ppm file.pgm

convert is in the imagemagick package




More information about the MPlayer-users mailing list