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

Ivo ivop at euronet.nl
Mon May 28 13:22:59 CEST 2007


On Sunday 27 May 2007 11:34, 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.

Use the pgm suboption of -vo pnm.

mplayer -vo pnm:pgm fubar.avi

--Ivo



More information about the MPlayer-users mailing list