Hi,
I'm having some trouble filling up the AVFrame before using
"avcodec_encode_video( )". I've converted an image from RGB -> YUV420p using
the "sws_scale( )" function, so my YUV image is now stored in "uint8_t * *
dst*[ ]" and I also have a "int *dstStride*[ ]".
data = (uint8_t *)malloc (4*W*H);
uint8_t **dst[4]*= {data, data+W*H, data+W*H*2, data+W*H*3};
(W is width an H is Height)
Is there any function in ffmpeg with that purpose? i just couldn't find
anything...
If there isn't any function wich is the best and the usual way to do that?
João Viana
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user