[Libav-user] Write raw RGB frames to file

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Nov 22 11:33:51 CET 2011


 <=?iso-8859-1?Q?Max_G=F6ttner_-_d.stream?=> writes:

> >I read frames from input files, use swscale to have raw rgb images. I would
> >like to write these images to a Mkv container, keeping the frames in raw rgb.
> >How can this be obtained?
> >What codec do I have to use?
> >I tried CODEC_ID_BMP but I couldn't find any ressource that tells me what
> >settings go together with a specific codec.

I suspect you are searching for CODEC_ID_RAWVIDEO.

Carl Eugen



More information about the Libav-user mailing list