Airplay to XMBC videos not rotating - it's upside down!! - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Kodi General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: iOS support (/forumdisplay.php?fid=137)
+---- Thread: Airplay to XMBC videos not rotating - it's upside down!! (/showthread.php?tid=110553)
Pages: 1 2
Airplay to XMBC videos not rotating - it's upside down!! - ajerazzor - 2011-09-20 05:45
I recently recorded a video on my iphone, and when airplayed to the ATV lowtide, it auto rotated it fine. When airplaying to XBMC the video shows upside down.
Might be a rare occurrence but it happens.
Not sure where to log this hope a dev sees it.....
- davilla - 2011-09-20 05:48
everyone knows the drill, xbmc.log or no soup.
- Ned Scott - 2011-09-20 08:29
in addition to posting your xbmc.log file, I would try transferring the movie to your computer and playing it from a network share and see if it does the same thing.
- Memphiz - 2011-09-20 13:43
wtf should that be? ... i don't think we need to rotate movies in xbmc do we davilla? disgusting stuff ... maybe hold your camera in another angle when recording your movie?
- ajerazzor - 2011-09-21 08:50
Memphiz Wrote:wtf should that be? ... i don't think we need to rotate movies in xbmc do we davilla? disgusting stuff ... maybe hold your camera in another angle when recording your movie?
I could do that - I could also just play it in ATV lowtide - it is one of those things that doesnt bother me but thought it might be something that is either not implemented yet or has not been considered - if it did the same in atv lowtide I would just say bad luck....
- ajerazzor - 2011-09-21 08:51
davilla Wrote:everyone knows the drill, xbmc.log or no soup.
Is a log going to be of any use - it is probably operating as expected - there is no crash - it just plays upside down?
If it is of use, I will do if anyone is going to have a look at it?
- Memphiz - 2011-09-21 13:33
i want to have an example clip which shows the problem ... upload it somewhere and post the link here please ...
- Ned Scott - 2011-09-21 15:59
It's not an airplay problem, it's a Quick Time problem. I just tried it myself. I recorded 4 videos at every possible rotation of the iPhone, and only one plays correctly in XBMC (locally played, not over airplay). I'm guessing the .mov file has rotation data that is read when you play it in a native Apple/QT player, but isn't read by XBMC. I'll upload samples in a moment here.
- Memphiz - 2011-09-22 00:26
learned somthing then ... didn't know that such crap even exists. With all the motion and orientation sensors the iphone just should now where the top and where the bottom is. And just record that in a correct orientation imho ...
- Jezz_X - 2011-09-22 01:02
Seems like a fairly common problem with iOS http://www.google.com.au/search?gcx=c&q=quicktime+video+orientation+tag
Also seems like its in the spec sheet as well
Quote:Available in iOS 4.0 and later.
- ajerazzor - 2011-09-22 08:49
Ned Scott Wrote:It's not an airplay problem, it's a Quick Time problem. I just tried it myself. I recorded 4 videos at every possible rotation of the iPhone, and only one plays correctly in XBMC (locally played, not over airplay). I'm guessing the .mov file has rotation data that is read when you play it in a native Apple/QT player, but isn't read by XBMC. I'll upload samples in a moment here.
OK Thanks Ned - if you can do that, then I wont do the same....appreciate everyone's responses
- Ned Scott - 2011-09-22 10:09
Maybe Apple didn't want to try processing the rotation on the fly while recording? I know the screen shows the view rotated, but that's hardly the full quality of the actual video (both in resolution and possibly frame rate). In any case it's something I remember being in QuickTime for a while, and I actually think it's neat. You can rotate or flip a video (or a bunch of other post-prossesing type stuff) and not have to re-encode the video. Basically making it a lossless process.
I don't know if on-the-fly rotation of .mov files is something you guys want to try or not, or is even possible right now with XBMC. The .mov container supports all kinds of stuff (including stylized subs way before mkv's were around, multiple video tracks, even some basic sprite animation), so that might be opening pandora's box. Granted the rotation thing is probably the only one of those features people will probably notice.
- Memphiz - 2011-09-22 13:02
not my area...
- Robikonobi - 2011-10-16 18:22
Has anyone found a solution for this yet? When displaying home video via the photo app, the videos are showing on the tv upside down via AirPlay. Pictures are displaying properly and the same video plays fine locally in xbmc. I am using a iPhone 4 on ios5 with a windows based xbmc running the latest nightly build.
- davilla - 2011-10-16 19:23
None for this cycle, there's a atom in mov containers that indicate the orientation, ffmpeg does not detect nor pass this atom up.