Hi,
i'm working on a screencast application which simply takes a screenshot
each n milliseconds, and adds the picture to a video_stream.
As i'm get the screenshots in RGB24 pixel_format, i would like to try to
avoid converting each picture from RGB24 to YUV420p.
right now, when setting up the video stream i have the following code:
AVCodecContext *c = video_stream->codec;
...
c->pix_fmt = PIX_FMT_YUV420P;
When i encode the video in MGEG4, and change the pix_fmt i get
[mpeg4 @ 0x804d800]only YUV420 is supported
So rather than randomly trying out codecs/pix_fmts, is there any way i
can find out
which codecs support which kind of pixel formats ?
thanks !
-robert
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user