.mov from iPhone upside down

njw's icon

Hi All,

Does anyone know why a .mov from my iPhone is playing upside down in jit.mov?

It is the right way up when played on my phone, VLC and Mac Preview. Load it into jit.mov however and it plays upside down?

Many thanks,

Nick

Rob Ramirez's icon

orientation detection is not currently supported by jit.movie, and there is a ticketed feature request to support this.

if you want to know how to flip it, jit.gl.slab @rect 1 1 0 0 does the trick easily:

Max Patch
Copy patch and select New From Clipboard in Max.

njw's icon

Does this mean that Mac photo, VLC, and Preview all have orientation detection and play the .mov right-way up but jit.mov doesn‘t So doesn’t correct it if it was shot upside down?

if so, when I shoot the video on my iPhone and and can see it is right way up as I shoot, my phone is lying to me and actually creating an upside down source file or is there some other trickery at work here?!

Roman Thilenius's icon

did you try that already? what happens when you record upside down? :)

Roman Thilenius's icon

erm, "save in" using movieplayer should fix it i think. that should make the orientiation value a permanent value.

njw's icon

Hey Roman,

Yes, I flipped my phone and made a recording and yes, the movie played correctly in jit.mov. However, for the project I am working on, users are submitting films that they have shot on their iPhones so I don't have control over which way up they hold their phone.

Which "movie player" are you talking about? Do you mean, If I open a film in VLC and save it then that should save the orientation?

Thanks for your help.

Roman Thilenius's icon

i was thinking quicktime player but vlc might work, too. yes if the source is unknown this is not a very sexy solution (and turning it inside the max patch would be less work)

njw's icon

Alright, I'll experiment with saving in VLC/Quicktime as well. Thanks for your thoughts Roman.

Rob Ramirez's icon

you could also just use vlc/quicktime as a player app, and use the applecscript osascript command along with the shell external to control file loading and playback:

Max Patch
Copy patch and select New From Clipboard in Max.