google / spatial-media

Specifications and tools for 360º video and spatial audio.
Other
1.86k stars 429 forks source link

stretching 360x180 degree spherical videos #136

Open ghost opened 8 years ago

ghost commented 8 years ago

Hi, pulling my hair out at the minute with all this but google says to use this program to inject spherical videos for 360 degree playback in you tube...however when in youtube it stretches it as though its treating it as a 360x360 degree sphere heres an example: https://www.youtube.com/watch?v=yzlzuhRjVfc its driving me a little nuts trying to find a solution to this for uploading 360x180 degree vids (the default software does it sort of but the video it makes is Equirectangular, its also uneditable and really low volume example here: https://www.youtube.com/watch?v=OAbJciN_qXA ) and trying to convert that video to one thats editable with the audio gain up then wont display in youtube correctly : see https://www.youtube.com/watch?v=E9Qa7eKecoQ I swear i am going to have two bald patches either side of my head if i cant solve this soon lol In theory your program should take that spherical mp4 (360 degree by 180 degree) and make it so google plays it correctly yes? if so this is a bug if its looking for a 360x360 sphere then please make this a feature request (with the abundance of cheap 360x180 degree cameras its something that is likely to be a major issue sooner then later either way)

AndrewHazelden commented 8 years ago

Hi. Your video is in a fisheye format. You have to stitch it using another tool into an equirectangular projection before it can be used with YouTube 360.

The spatial media metadata injector simply adds tags to your media file and does not perform any image projection remapping.

ghost commented 8 years ago

Stitch it? Don't fully understand, the only results I could find seem to talk about stitching two camera views together to make 360x360 this ofcourse is not the case with a single camera, though the third video I linked is definitely not in fish eye

On 1 Nov 2016 3:56 p.m., "Andrew Hazelden" notifications@github.com wrote:

Hi. Your video is in a fisheye format. You have to stitch it using another tool into an equirectangular projection before it can be used with YouTube 360.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/google/spatial-media/issues/136#issuecomment-257605418, or mute the thread https://github.com/notifications/unsubscribe-auth/ACNP2A1uc4U89_TxWEte_zq33y-LBy5Uks5q52EsgaJpZM4KmPor .

sphericvr commented 8 years ago

@mrgreaper Your second video (https://www.youtube.com/watch?v=OAbJciN_qXA) is the correct way to upload, you would need to use a video editing software to change the focus point. Your camera is pointing up in that video. If you point the camera horizontally you should be able to edit it to upload as a half sphere. wrong right

sphericvr commented 8 years ago

Also, as a correction to your previous post, 360 video is 360x180, what you need to upload is a 180x180 aspect ratio centered in a 360x180 ratio video.

ghost commented 8 years ago

Sadly that is from the cameras app, and uses some wierd codes that can not be edited, the third video is a converted version of that video, which YouTube then does not like. The intended function will be to record a tabletop game weekly, so the camera will be above the table recording the table and all participants (so the ceiling which it can't record should be irrelevant to all but the most weirdest of viewers who will forever debate "plastered" or "artexed") So here's the question, what do I need to do to the second video to make YouTube see it as a 360 video like the second video?

On 1 Nov 2016 5:32 p.m., "sphericvr" notifications@github.com wrote:

Also, as a correction to your previous post, 360 video is 360x180, what you need to upload is a 180x180 aspect ratio centered in a 360x180 ratio video.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/google/spatial-media/issues/136#issuecomment-257633535, or mute the thread https://github.com/notifications/unsubscribe-auth/ACNP2EGS2OMHz5GGlnH0Efb39KSVzlJXks5q53ekgaJpZM4KmPor .

sphericvr commented 8 years ago

In premiere or another video editing software, cut your video in half and rotate, export and inject: right2

ghost commented 8 years ago

Ah cool, I'll grab premiere after work (assuming free, if not I'll find an alternative) and give it a try thank you

On 1 Nov 2016 6:35 p.m., "sphericvr" notifications@github.com wrote:

In premiere or another video editing software, cut your video in half and rotate, export and inject: [image: right2] https://cloud.githubusercontent.com/assets/11526559/19902251/59439d98-a040-11e6-9576-11dd4e7cc3c9.jpg

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/google/spatial-media/issues/136#issuecomment-257654235, or mute the thread https://github.com/notifications/unsubscribe-auth/ACNP2E04p82u58OFQKnVz93aNWs6Q502ks5q54ZzgaJpZM4KmPor .

Bnaya commented 7 years ago

I'm having the same issue with 220x360 video The camera is some generic Chinese generic thing called pano view