Ok, I have AVFrame that is in JPEG PIX_FMT_YUVJ420P format (I used sws_scale
to convert it to that format) and I would like to save it to the disk as
.jpg

Now I found some thread with the saving code, but it requires me to set the
encoder, and then encode frame in the buffer and then save that buffer to
disk.

Is there a way to directly save the AVFrame (in the correct JPEG format)
directly to disk without unnecessary acrobatics with re-encoding?
-- 
View this message in context: 
http://www.nabble.com/saving-AVFrame-to-JPEG-tp23652229p23652229.html
Sent from the libav-users mailing list archive at Nabble.com.

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

Reply via email to