[Ffmpeg-devel] How to convert a RGB buffer to AVFrame?

Tran Huu Tri huutribk2001
Sat Sep 9 10:26:38 CEST 2006


Hi,

I need to write the program that capture buffer from webcam
in RGB format and use ffmpeg codecs library to convert to
mpeg video file with the codecs as CODEC_ID_MPEG1VIDEO or
CODEC_ID_H263,


 

But I don?t know how to convert RGB buffer to AVFrame
structure.

 

Please help me with this? 

Thank in advance!

 

Tri



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the ffmpeg-devel mailing list