On Saturday, January 09, 2010 at 4:05 AM Makc wrote:

can you point me to sample code (or suggest proper search terms) that
would record video in any format from bitmap in memory using ffmpeg?

I did it and I started from the api-example.c, located within libavcodec subdirectory. The only trick is how to convert from RGB to YUV. It can be found by Googling.

Though your words "...in any format.." must be changed to "in a format, supported by FFMPEG encoders".

Best regards,
Alexander

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to