[Ffmpeg-devel] Fwd: How to encode video?

Michel Bardiaux mbardiaux
Wed Feb 14 12:11:14 CET 2007


Cool_Zer0 wrote:
[snip]
> 
> So...
> To encode a frame I need to:
> 
> - Convert RGB24 frame to YUV420P (probably using img_convert())

Should even be done automatically if needed.e

> - Encode the YUV420P frame with avcodec_encode_video()
> 
> Right?
> 
> 
> So... I suppose that I only will have the problem to feed the RGB24
> AVFrame...


-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/




More information about the ffmpeg-devel mailing list