[Libav-user] Extract frames in raw RGB formats

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Oct 11 10:14:24 CEST 2013

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

> What the bellow command line generate is a raw image 
> but in YUV 4:2:0 format. what i want is RGB raw image. 
> I know there is a formula to convert YUV to RGB but i 
> need pure RGB in the file. even i tried to use 
> -pix_fmt but could not find any parameter for RGB.

Try "ffmpeg -pix_fmts", there are several rgb formats, 
among them rgb24.

Please understand that top-posting is not welcome here 
and that you are expected to always post your failing 
command line together with the complete, uncut console 

Carl Eugen

More information about the Libav-user mailing list