Edwin van der Horst wrote:

In my case the MJPEG encoder of lavc did indeed perform better,
but I think that's because I was able to compile it with the arm5
optimizations (using a pxa270 processor).

If I understand correctly, you compared the performance of libjpeg and lavc for JPEG compression? And, in your setup, lavc performed better?

Best way to find out is to try it yourself...

You're right :-)

Open the file, provide the data in the right format to the codec,
use the MJPEG encoder to encode a single frame (you can of course
provide the buffer where to encode to yourself).

I'm not sure how to convince avcodec_decode_video() to output an uncompressed picture to a user-supplied buffer.

avctx.get_buffer is set to avcodec_default_get_buffer() by default.
Do I need to provide my own function? Do I also need to provide release_buffer? reget_buffer? get_format? other?

--
Regards.

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

Reply via email to