Giter Site home page Giter Site logo

360videosmetadata.py about spatial-media HOT 48 CLOSED

google avatar google commented on June 29, 2024
360videosmetadata.py

from spatial-media.

Comments (48)

jacalo avatar jacalo commented on June 29, 2024 2

Hi, I just dowload the last version of the Spatial Media Metadata injector for mac (8.5.9).
Try to write on a H264 (.mp4) file edited and exported from after fx.
It let me load the file and select (spherical) but when I hit save in the destination window, just shows saving the file, but won't do anything. Any files came up, and just see the same interface.
Running Mac OS 10.10.5
Please help.
Thanks in advance.

JC
screen shot 2016-04-22 at 11 48 02 pm
screen shot 2016-04-22 at 11 48 33 pm

screen shot 2016-04-22 at 11 47 01 pm
screen shot 2016-04-22 at 11 42 08 pm

from spatial-media.

jprouty avatar jprouty commented on June 29, 2024

That is indeed confusing! Sorry for the hassle. You can run the script as
per the instructions on this page
https://github.com/google/spatial-media/tree/master/spatialmedia. We'll
be sure to update the help article you linked. Thanks for bringing it to
our attention.

On Mon, Nov 30, 2015 at 4:34 PM AsrielLewis [email protected]
wrote:

I was directed here by this page:
https://support.google.com/youtube/answer/6178631?hl=en
and told to download the zip and run the 360videosmetadata.py script, but
it is no longer included in the zip and I can't figure out how to make the
current script(s) work. I am new to python, and trying to inject 360
metadata into a equirectangular 360 video for youtube. Any help appreciated.


Reply to this email directly or view it on GitHub
#48.

from spatial-media.

mrjoshuak avatar mrjoshuak commented on June 29, 2024

Those instructions also do not seem to work.

from spatial-media.

suderman-google avatar suderman-google commented on June 29, 2024

If you are not in the current folder as the "spatialmedia" folder you will need to provide the entire path.

e.g. python ~/Desktop/spatial-media/spatialmedia -i ...

Alternatively we have an easier to use standalone application.
https://github.com/google/spatial-media/releases/tag/v2.0

from spatial-media.

arpu avatar arpu commented on June 29, 2024

hello

how can i inject mkv web videos (vp9) ?

i use old 360videosmetadata.py i can set metadata , but youtube does not show the 360 degree player :(

from spatial-media.

suderman-google avatar suderman-google commented on June 29, 2024

Support for webm was removed for our current tooling due to some platform issues. We plan to reintroduce support however for now you will need to use an mp4 file.

from spatial-media.

AsrielLewis avatar AsrielLewis commented on June 29, 2024

When I download the standalone application to Downloads folder on MacBookPro/OS10.11.1 and open the injector tool, all the boxes are disabled, and when I highlight the equirectangular mp4 file on my desktop and select open, the app displays "No metadata found."

What am I doing wrong?

from spatial-media.

suderman-google avatar suderman-google commented on June 29, 2024

No metadata found is fine as the file likely does not contain any spherical metadata. Once loaded you will be able to select checkboxes and save the file with new metadata. So no worries, everything is working fine 👍

from spatial-media.

AsrielLewis avatar AsrielLewis commented on June 29, 2024

Ok - that worked. How do I preview the injected clip? Thanks

from spatial-media.

suderman-google avatar suderman-google commented on June 29, 2024

There are a few options:

1 - You can use the metadata tool to verify the correct data is injected. If you open the save file it will state metadata is present and update checkboxes to match the contained metadata.

2 - Use KolorEyes to inspect the content. It does not parse metadata at this point but it does provide playback for the video and you can toggle mono/stereo.

3 - If you want to test the full set (metadata and playback) the best method at this point is to uploaded to YouTube as an unlisted video and playback the video.

from spatial-media.

AsrielLewis avatar AsrielLewis commented on June 29, 2024

Thanks for all the help.

from spatial-media.

suderman-google avatar suderman-google commented on June 29, 2024

No problem, happy to help!

from spatial-media.

ako515 avatar ako515 commented on June 29, 2024

Hey guys! Any news in webm support? Or is there a solution for 8K video? Thanks.

from spatial-media.

suderman-google avatar suderman-google commented on June 29, 2024

We do not have an implementation for webm at the moment however there are some alternative solutions. One suggestion is to save as a prores .mov file, change the extension to .mp4, inject metadata, and restore the mov extension.

This should work in most cases and we will be releasing an updated version with mov support shortly.

from spatial-media.

dahnovka avatar dahnovka commented on June 29, 2024

Is there a standalone application for working with spatial audio? How to properly add it to the 360 video?

from spatial-media.

henrynho avatar henrynho commented on June 29, 2024

sorry I have a question I have a problem, I lower the 360 Video Metadata Tool.app of goolgle , but after using it in two videos, no longer works for me porq I get opened file,

any help please thanks

from spatial-media.

xxraymoxx avatar xxraymoxx commented on June 29, 2024

Hi team

Ive been trying to use the standalone file for windows "360.Video.Metadata.Tool.win.exe"

I get the error message: "This app can't run on your PC. To find a version for your PC, check with the software publisher"

I've scoured the internet results and it looks like there are no posts or suggestions anywhere on this issue. Any ideas?

Many thanks in advance for your help.

from spatial-media.

suderman-google avatar suderman-google commented on June 29, 2024

The current version is not compatible with Windows 10. Are you using a windows 10 PC?

from spatial-media.

henrynho avatar henrynho commented on June 29, 2024

suderman-google:
friend a query when I open a video in Video Metadata Tool.app 360 Opened file tells me that means or where I find the file, can you help me please , Greetings

from spatial-media.

dcower avatar dcower commented on June 29, 2024

Hi @henrynho and @xxraymoxx,

Could you please re-download the latest Spatial Media Metadata Injector release and let us know if you are still having issues?

Thanks,
Dillon

from spatial-media.

henrynho avatar henrynho commented on June 29, 2024

when I open the video in the program tells me Opened file , I abjunto same image , I hope you can help me greetings
captura de pantalla 2016-04-20 a las 5 09 06 p m
)

from spatial-media.

dcower avatar dcower commented on June 29, 2024

Hi @henrynho,

After you open a file, you must check Spherical for a 360 video and 3D Top-bottom if the video is stereoscopic (in a top-bottom/over-under layout). Finally, you must click Save as and save the injected video, which you can then upload to YouTube or other 360 video services.

Dillon

from spatial-media.

henrynho avatar henrynho commented on June 29, 2024

thanks and what I mean is that now I get opened file before he left me the option to save as, but now I get that message , greetings

from spatial-media.

henrynho avatar henrynho commented on June 29, 2024

because I get "Opened File" and how to fix it because I can not do save as the video, I hope you can understand , Greetings

from spatial-media.

kotabelud avatar kotabelud commented on June 29, 2024

Hi guys. I keep getting "Fatal Error! Gui returned -1" when I tried running "Spatial Media Metadata Injector.exe". What could be the problem?
error

from spatial-media.

dcower avatar dcower commented on June 29, 2024

Hi @kotabelud,

Could you share what version of Windows you're running, and whether your Windows is 32-bit or 64-bit?

from spatial-media.

dcower avatar dcower commented on June 29, 2024

@henrynho: If I understand correctly, the file opens but you're unable to check the boxes? Could you either attach a sample video here that exhibits the issue or email it to me ([myusername]@google.com)?

from spatial-media.

soursquid avatar soursquid commented on June 29, 2024

I'm running on windows 7 64-bit and having the same issue as @kotabelud , when i run the Spatial Media Metadata Injector app it says "Fatal Error! gui returned -1" and closes immediately.

from spatial-media.

dcower avatar dcower commented on June 29, 2024

Hi @kotabelud and @soursquid,

Thanks for reporting and sorry about the inconvenience. I believe the issue should be fixed now. Could you please re-download the latest release and let me know if the issue is fixed? Thanks!

from spatial-media.

elotrosaulo avatar elotrosaulo commented on June 29, 2024

@dcower Hi! I just signed in to tell you that the latest release works perfectly!.

I wasn't able to open the app this morning (same issue described by @soursquid) , but now with the last update it works without any problem.

Thanks!!!

from spatial-media.

dcower avatar dcower commented on June 29, 2024

@elotrosaulo: Excellent! Very glad to hear that. Thanks for letting us know!

from spatial-media.

elotrosaulo avatar elotrosaulo commented on June 29, 2024

I wanted to tell you something too @dcower (I dont know if it's normal of not). I tried this morning the Mac app (on a mac pro tower) and in more than 1 hour it couldn't do the encoding process (it has still the "Saving as..." message), but in Windows it took only 30 seconds to process the exactly same video.

from spatial-media.

soursquid avatar soursquid commented on June 29, 2024

@dcower Thanks for the fix, it's working perfectly fine now!

from spatial-media.

Splash62 avatar Splash62 commented on June 29, 2024

Hi All. Running into similar problem as @jacalo @elotrosaulo I believe - File is permanently stuck on "saving file to...." even when run overnight on a small file.

Working on a .mp4 video
Running on OSX 10.9.5

Also - The file is 180 degrees only (half a sphere). Do I need to do anything different for that?

Thanks in advance
E

from spatial-media.

Ahurtado12 avatar Ahurtado12 commented on June 29, 2024

hi, i have a pixpro 360 4k camera that i have recorded videos on. When I try to run it trough the new metadata program it will not mix right. the top gets distorted and it shows a black hole when it shouldn't. i'm wondering if I download the old version of metadata (if i can find it) my videos will convert right without the blackhole on top. any suggestions on how i can fix this problem will be much appreciated. i should add that when i am edditing video on software it does not mix down with sound.

from spatial-media.

dcower avatar dcower commented on June 29, 2024

@jacalo @Splash62 Could you try deleting the old version and re-downloading the latest release of the Spatial Media Metadata Injector to see if the issue still occurs? We've made a couple changes to the .zip downloads.

from spatial-media.

dcower avatar dcower commented on June 29, 2024

@Ahurtado12 I believe the PIXPRO software (click "PIXPRO Software" on the top right of the page) should convert it to the YouTube-friendly format.

from spatial-media.

Ahurtado12 avatar Ahurtado12 commented on June 29, 2024

@dcower thanks but I am talking about after that step before uploading them to youtube, I was trying to put two different footage together into one in my video editor but once I've done that I cannot upload into youtube with pixpro program but when I save it trough Metadata a black hole appears on top of my video, why does this happen with the new Metadata software? Is there a link to the older vertigo where it was literally one click of a button?

from spatial-media.

mrdeerwhale avatar mrdeerwhale commented on June 29, 2024

@dcower Thanks. - I was having the same issue as @jacalo with the injector hanging while trying to save the injected file. It is working for me again when using the latest release you linked. I'm adding Spherical metadata to Equirectangular projection, without spatial audio on Mac. Thanks for your help.

from spatial-media.

Splash62 avatar Splash62 commented on June 29, 2024

@dcower thanks! Re-downloading worked, the video saved (and quite quickly).

As an aside, is anyone else trying to view home-made 360 video on iOS? With Kolor Eyes recently purchased by GoPro, I really don't see any good solutions. How are others watching their 360 video on an iPhone?

from spatial-media.

Splash62 avatar Splash62 commented on June 29, 2024

To clarify, I mean viewing 360 video in a VR viewer such as Cardboard using an iphone.

from spatial-media.

smasmonium avatar smasmonium commented on June 29, 2024

Not sure if this is quite the right thread for this question, but I took a 360 degree video with a Ricoh Theta S and am now trying to upload it to YouTube. Following these instructions, I downloaded the Spatial Media Metadata Injector for Mac, but first had to convert the camera's raw .m4v file into a .mov file using QuickTime in order for the Injector to process the file. I then did the injection and uploaded it to YouTube, but the orientation was wrong -- it thinks the "ground" is on the horizon line.

So the question is: Is there some way to use the Metadata Injector to correct the orientation? Or is there some other way to get correctly oriented data into a .m4v file taken using a Ricoh Theta S camera?

from spatial-media.

dcower avatar dcower commented on June 29, 2024

@smasmonium Just to check, did you use Ricoh Theta's software to convert the video into an equirectangular projection first, or does it look like this image?

from spatial-media.

smasmonium avatar smasmonium commented on June 29, 2024

from spatial-media.

rengelmann avatar rengelmann commented on June 29, 2024

@smasmonium I think the only path Ricoh has given to convert their video files from fisheye to equirectangular is to import them from the camera into their mobile app first. Then transfer that resulting movie from your phone to your computer, and finally upload that to Facebook or YouTube. I just tested it again now and YouTube recognized it as a 360 video without running it through the metadata injector.

Unless you are in live mode and using the THETA UVC Blender capture. That works well with OBS or XSplit and YouTube.

from spatial-media.

Splash62 avatar Splash62 commented on June 29, 2024

Running into the most frustrating issue, I feel like I'm not totally understanding the overall process.

I have video recorded on a PixPro SP360 4K. Goal is to view footage on Cardboard using an iPhone.

Do you have to inject metadata to view any video in 360 (not just on youtube)?

The Pixpro app even uploaded a new VR viewer function, but it doesn't seem to work to be selectable.

Anyone else facing the same problem?

from spatial-media.

dcower avatar dcower commented on June 29, 2024

Hi everyone, I'm closing this issue since it has devolved to cover a variety of issues, many of which are now fixed. :) Please open separate issues if you have any additional problems/questions. Thanks!

from spatial-media.

Boscop avatar Boscop commented on June 29, 2024

@jprouty @dcower I've been looking at this doc, but it's still not quite clear to me which CLI flags I have to use when I have an equirectangular video. Can you please tell me which flags I should use? :)
(To automate the process / not using the GUI)

Should it be --stereo=none?


Btw, does the function inject_mpeg4 load the whole video into RAM?

mpeg4_file = mpeg.load(in_fh)

I need to use this on video files that are much larger than my available RAM..

from spatial-media.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.