[FFmpeg-trac] #515(ffmpeg:closed): Problem in video rotation in FFMPEG for IPhone video
FFmpeg
trac at avcodec.org
Tue Sep 23 03:37:29 CEST 2014
#515: Problem in video rotation in FFMPEG for IPhone video
------------------------------------+-----------------------------------
Reporter: Gagan | Owner:
Type: defect | Status: closed
Priority: normal | Component: ffmpeg
Version: git-master | Resolution: wontfix
Keywords: mov | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Changes (by llogan):
* status: open => closed
* resolution: => wontfix
Comment:
By default all stream metadata, including rotation, are copied to the
output. This can cause surprising results because:
* Some users are unaware that stream rotation metadata exists and that
their player is using it to orient the video (the ffmpeg console output
will display this metadata).
* Users will attempt to physically rotate the video with a filter, but the
stream rotation metadata will be preserved by default (if supported by the
output) unless the user modifies it appropriately.
* Some players ignore the stream rotation metadata and others do not.
In my opinion users are responsible for removing or modifying the metadata
with `-metadata:s:v rotate=""` or `-metadata:s:v rotate=0` or whatever
value they need if they decide to physically rotate the video.
Alternatively, maybe someone could add an option to a filter to use the
metadata to provide the rotation value while automatically removing or
modifying the rotation metadata. Perhaps something like `-vf
rotate=auto=1` (and in this case automatically add `bilinear=0` for angles
divisible by 90).
--
Ticket URL: <https://trac.ffmpeg.org/ticket/515#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list