[FFmpeg-user] Can the video orientation be adjusted for part of an Mp4 ?

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Jan 27 09:30:10 EET 2017


2017-01-26 23:13 GMT+01:00 Peter <peter777 at users.sourceforge.net>:
> On Thursday, 26 January 2017 9:13:42 AM AEDT Carl Eugen Hoyos wrote:
>> 2017-01-25 23:51 GMT+01:00 Peter <peter777 at users.sourceforge.net>:
>> > We have a video that was taken from a mobile phone. The first part of the
>> > video is not orientated properly, and needs to be moved anti-clockwise 90
>> > degress.
>> (That surprises me but may be related to the last comment below.)
>
> The mobile phone operator, at approx. 4:30 , turned the phone 90 degress, so
> the remaining portion of the video is fine.

The expected behaviour would be that the first 4:30 minutes would be played
correctly, the remaining part rotated 90 degrees.

>> > At approximately 4:30 , the video orientation is corrected.
>> >
>> > Is there a method with ffmpeg to adjust the video orientation for the
>> > first
>> > 4:40 minutes ?
>>
>> I suspect mov doesn't support this.
>> (If it would, your phone would have used the feature I guess.)
>>
>> > ffmpeg version 2.8.10-0ubuntu0.16.04.1
>>
>> For future questions: Please remember that on this mailing list,
>> only current FFmpeg git head is supported.
>
> Please advise what version that is.

Atm, it is N-83254-gf28299d but latest static builds are ok.

> Obviously there are people in this mailing
> list who may have an answer, relevant to other versions.

Obviously.

Carl Eugen


More information about the ffmpeg-user mailing list