[Ffmpeg-devel] attribute_deprecated img_convert

Michel Bardiaux mbardiaux
Wed Mar 21 13:55:52 CET 2007


Vlad GURDIGA wrote:
> On 21/03/07, Michel Bardiaux <mbardiaux at mediaxim.be> wrote:
[snip]

>>
>> That's not 'convert', that's 'encode'. img_convert *never* was for
>> producing JPEG images.
> 
> OK, I got it, my knowledge of this industry is almost empty, I've
> started working with this stuff only a week or two ago. Thanks for the
> tip, but could you please specify which functions should I use to save
> a frame to a JPEG file?
> 
avcodec_encode_video (the codec would be CODEC_ID_MJPEG). The output 
buffer can be written to file as such (ie, open/write/close).

Greetings,
-- 
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