[Libav-user] Write raw RGB frames to file
Carl Eugen Hoyos
cehoyos at ag.or.at
Wed Nov 23 12:55:16 CET 2011
Carl Eugen Hoyos <cehoyos at ...> writes:
> <=?iso-8859-1?Q?Max_G=F6ttner_-_d.stream?=> writes:
> > Is there any reference or example that tells me, which attributes of the
> > AVCodecCtx have to be set in order to get the rawvideo-encoding work?
> Assuming you are only interested in mkv: Did you look into matroskaenc.c?
> I suspect you have to set an appropriate codec_tag for the pix_fmt.
> (And since I did not find a documentation for KaxCodecColourSpace on
> matroska.org, it is possible that not all applications will support all tags
> FFmpeg uses.)
Looking at http://fourcc.org/rgb.php at least RGBA should work fine.
More information about the Libav-user