[Libav-user] Extract frames in raw RGB formats

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Oct 10 08:48:22 CEST 2013


Amir Hossein Rouhi <amir.rouhi at ...> writes:

> I am wondering if anyone can help me how can i use 
> ffmpeg to extract frames in raw RGB image format. 
> The following code does not work:
> ffmpeg -i foo.mp4 -r 1 -s 320x240 -f image2 foo-%03d.rgb

This is at least missing -vcodec rawvideo

Please add the complete, uncut console output 
when asking for help here.

Carl Eugen



More information about the Libav-user mailing list