[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bino-list] MOV Rotation tags being ignored?
From: |
Peter Andrews |
Subject: |
Re: [Bino-list] MOV Rotation tags being ignored? |
Date: |
Sun, 30 Sep 2012 15:51:07 -0400 |
Thank you for the quick reply.
I can supply small test files if needed but all you need are iPhone videos shot
in portrait mode.
By the way, does Bino support any sort of saving/exporting?
Thanks,
Peter
On Sep 30, 2012, at 12:48 PM, Martin Lambers wrote:
> Hi!
>
> On Sun, 30 Sep 2012 12:36:09 -0400, Peter Andrews wrote:
>> I recorded two side by side portrait mode videos on two iPhones. The
>> videos look fine and are oriented as expected in Quicktime player.
>> Bino shows the videos rotated on their sides (i.e. landscape mode).
>> Even though they already looked correct in Quicktime, I tried
>> rotating the video but Bino did not change its display.
>>
>> My understanding is that quicktime videos have orientation bits such
>> that when you rotate a video it only marks the orientation bit rather
>> than re-encoding everything. Is it possible that Bino is not honoring
>> the orientation bit in .mov files?
>
> Yes, that is possible.
>
> Bino uses FFmpeg to decode video data. Apparently, FFmpeg is able to
> extract Apple's orientation bit; it is stored in a metadata tag named
> "rotate". Bino should probably read that tag and rotate the video
> accordingly (probably by manipulating texture coordinates when
> displaying the video).
>
> Is anyone interested in working on this? (I currently don't have the
> time and I also don't have example data.)
>
> Patches are welcome!
>
> Martin