[FFmpeg-trac] #515(FFmpeg:open): Problem in video rotation in FFMPEG for IPhone video
FFmpeg
trac at avcodec.org
Thu Nov 15 11:13:27 CET 2012
#515: Problem in video rotation in FFMPEG for IPhone video
------------------------------------+----------------------------------
Reporter: Gagan | Owner:
Type: defect | Status: open
Priority: normal | Component: FFmpeg
Version: git-master | Resolution:
Keywords: mov | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Changes (by cehoyos):
* status: new => open
* component: avformat => FFmpeg
* reproduced: 0 => 1
Comment:
out.avi is not rotated correctly. ffmpeg should honor the "rotate"
metadata set by the mov demuxer and automatically insert the transpose
filter.
{{{
$ ffmpeg -i sample-in-issue-505.mov -an out.avi
ffmpeg version N-46747-ga1b5c96 Copyright (c) 2000-2012 the FFmpeg
developers
built on Nov 15 2012 09:06:47 with gcc 4.7 (SUSE Linux)
configuration:
libavutil 52. 6.100 / 52. 6.100
libavcodec 54. 72.100 / 54. 72.100
libavformat 54. 36.100 / 54. 36.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 23.100 / 3. 23.100
libswscale 2. 1.102 / 2. 1.102
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample-in-issue-505.mov':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2011-09-25 10:10:07
encoder : 4.3.5
encoder-deu : 4.3.5
date : 2011-09-25T12:09:54+0200
date-deu : 2011-09-25T12:09:54+0200
Duration: 00:00:03.49, start: 0.000000, bitrate: 794 kb/s
Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, s16,
63 kb/s
Metadata:
creation_time : 2011-09-25 10:10:07
handler_name : Core Media Data Handler
Stream #0:1(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p,
480x272, 712 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc
Metadata:
rotate : 90
creation_time : 2011-09-25 10:10:07
handler_name : Core Media Data Handler
Output #0, avi, to 'out.avi':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
date-deu : 2011-09-25T12:09:54+0200
ICRD : 2011-09-25T12:09:54+0200
encoder-deu : 4.3.5
ISFT : Lavf54.36.100
Stream #0:0(und): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 480x272,
q=2-31, 200 kb/s, 30 tbn, 30 tbc
Metadata:
rotate : 90
creation_time : 2011-09-25 10:10:07
handler_name : Core Media Data Handler
Stream mapping:
Stream #0:1 -> #0:0 (h264 -> mpeg4)
Press [q] to stop, [?] for help
frame= 106 fps=0.0 q=7.4 Lsize= 146kB time=00:00:03.53 bitrate=
338.0kbits/s
video:138kB audio:0kB subtitle:0 global headers:0kB muxing overhead
5.898211%
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/515#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list