Posts: 142
Joined: Jun 2011
Reputation:
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.....
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
everyone knows the drill, xbmc.log or no soup.
Posts: 31,445
Joined: Jan 2011
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.
Posts: 16,946
Joined: Feb 2011
Reputation:
256
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?
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 16,946
Joined: Feb 2011
Reputation:
256
i want to have an example clip which shows the problem ... upload it somewhere and post the link here please ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 31,445
Joined: Jan 2011
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.
Posts: 16,946
Joined: Feb 2011
Reputation:
256
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 ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 31,445
Joined: Jan 2011
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.
Posts: 31
Joined: Jan 2011
Reputation:
0
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.
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
None for this cycle, there's a atom in mov containers that indicate the orientation, ffmpeg does not detect nor pass this atom up.