Airplay to XMBC videos not rotating - it's upside down!!

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ajerazzor Offline
Member
Posts: 71
Joined: Jun 2011
Reputation: 1
Post: #1
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.....
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,479
Joined: Feb 2008
Reputation: 64
Post: #2
everyone knows the drill, xbmc.log or no soup.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 19,891
Joined: Jan 2011
Reputation: 247
Location: Arizona, USA
Post: #3
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.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,657
Joined: Feb 2011
Reputation: 112
Location: germany
Post: #4
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?

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
ajerazzor Offline
Member
Posts: 71
Joined: Jun 2011
Reputation: 1
Post: #5
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....
find quote
ajerazzor Offline
Member
Posts: 71
Joined: Jun 2011
Reputation: 1
Post: #6
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?
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,657
Joined: Feb 2011
Reputation: 112
Location: germany
Post: #7
i want to have an example clip which shows the problem ... upload it somewhere and post the link here please ...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 19,891
Joined: Jan 2011
Reputation: 247
Location: Arizona, USA
Post: #8
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.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,657
Joined: Feb 2011
Reputation: 112
Location: germany
Post: #9
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 ...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,289
Joined: Jun 2006
Reputation: 57
Location: Earth
Post: #10
Seems like a fairly common problem with iOS http://www.google.com.au/search?gcx=c&q=...tation+tag

Also seems like its in the spec sheet as well
http://developer.apple.com/library/ios/D...rientation
Quote:Available in iOS 4.0 and later.
find quote
ajerazzor Offline
Member
Posts: 71
Joined: Jun 2011
Reputation: 1
Post: #11
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
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 19,891
Joined: Jan 2011
Reputation: 247
Location: Arizona, USA
Post: #12
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.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,657
Joined: Feb 2011
Reputation: 112
Location: germany
Post: #13
not my area...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Robikonobi Offline
Junior Member
Posts: 22
Joined: Jan 2011
Reputation: 0
Post: #14
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.
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,479
Joined: Feb 2008
Reputation: 64
Post: #15
None for this cycle, there's a atom in mov containers that indicate the orientation, ffmpeg does not detect nor pass this atom up.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Post Reply