[FFmpeg-user] iphone auto-rotation?
Mark Hahn
mark at hahnca.com
Wed May 29 20:54:41 CEST 2013
I run a service that publishes videos. Amazon does the actual conversion
to h264 but I'm using ffmpeg to capture frames to make thumbnails. I have
a problem now where iPhone 4 videos have a weird rotation that amazon
handles properly but ffmpeg is ignoring. So i'm getting rotated thumbnails.
I checked the file with mediainfo and the metadata says there is a 90
degree rotation. What can I do to get ffmpeg to auto-rotate using this
information?
My version info is ...
> ffmpeg -version
ffmpeg version git-2013-01-17-b454c64
built on Jan 17 2013 05:46:15 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-libass --enable-libfaac
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-libx264 --enable-nonfree --enable-version3
libavutil 52. 15.100 / 52. 15.100
libavcodec 54. 89.100 / 54. 89.100
libavformat 54. 60.101 / 54. 60.101
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Any help would be greatly appreciated ...
More information about the ffmpeg-user
mailing list