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

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Nov 17 11:41:08 CET 2012

Michael Bradshaw <mjbshaw at ...> writes:

> 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.

Could you prepare a small test-case for trac?

Thank you, Carl Eugen

More information about the Libav-user mailing list