[Libav-user] Detecting image orientation in pictures from a camera?

Michael Bradshaw mjbshaw at gmail.com
Sat Nov 17 02:22:39 CET 2012


I've got a series of images taken with a camera that I need to process with
libav*. Is there any way to check the EXIF data to determine
rotation/orientation for the image (so that I can rotate it in my program)?

When I print out the metadata for the AVFormatContext, AVStream, and
AVFrame, they're all empty, and beyond that I'm not sure where to look.

Thanks,

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20121116/9df8db97/attachment.html>


More information about the Libav-user mailing list