Re: [Libav-user] Extract frames in raw RGB formats

2013-10-11 Thread Carl Eugen Hoyos
Amir Hossein Rouhi 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 R

Re: [Libav-user] Extract frames in raw RGB formats

2013-10-10 Thread Amir Hossein Rouhi
Hi Carl 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. Would you please give advice? f

Re: [Libav-user] Extract frames in raw RGB formats

2013-10-09 Thread Carl Eugen Hoyos
Amir Hossein Rouhi 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,

[Libav-user] Extract frames in raw RGB formats

2013-10-09 Thread Amir Hossein Rouhi
Hi I am wondering if anyone can help me how can i use ffmpeg to extract frames in raw RGB image forma. The following code does not work: ffmpeg -i foo.mp4 -r 1 -s 320x240 -f image2 foo-%03d.rgb ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmp