google / spatial-media

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

How to use it on Linux? #248

Open ProgrammingLife opened 4 years ago

ProgrammingLife commented 4 years ago

How to use it on Linux? Can you provide me with a little example?

iwanttobefreak commented 4 years ago

git clone https://github.com/google/spatial-media cd spatial-media/spatialmedia ./gui.py

It opens gui application. Select video with open button and then select if your video is spherical (360º) or stereoscopic (top/bottom) and then "inject metadata" button

EndeavourAccuracy commented 3 years ago

git clone https://github.com/google/spatial-media cd spatial-media/spatialmedia ./gui.py

It opens gui application. Select video with open button and then select if your video is spherical (360º) or stereoscopic (top/bottom) and then "inject metadata" button

It's unclear to me why @atrauzzi gave your post a thumbs down. It works for me. One additional step that might be necessary for some is: sudo apt install python-tk

ambein commented 3 years ago

Works, had to run it in pyhton2 on my system (after installation of python-tk). So the solution for me was:

sudo apt install python-tk
git clone https://github.com/google/spatial-media
cd spatial-media/spatialmedia
python2 gui.py

Thanks everyone!

clort81 commented 2 years ago

No text except "Inject metadata" displayed.

on debian using python-tk (2.7.18-1) ... python2 gui.py metadata_injector

Moilleadoir commented 1 year ago

Is globally installing python-tk really best practice? Is this still Python 2?

jamiesonpepper commented 1 year ago

There are a few forks that have added support to 3.9 and later, and I believe there is an outstanding merge/pull to add GUI support for Python 3 GUI as well https://github.com/google/spatial-media/pull/227 fork is here.

Moilleadoir commented 1 year ago

Thanks!

aruku7230 commented 1 year ago

This worked for me on Ubuntu 20.04

# python3-tk is installed. python-tk is not installed.
git clone https://github.com/google/spatial-media
cd spatial-media/spatialmedia
python3 ./gui.py
jamiesonpepper commented 1 year ago

I've recently merged a bunch of community fixes into master which added support for Python3. Hoping to kick off a release sometime in the next couple of weeks once I have some VMs setup for testing.

allegfede commented 6 months ago

ubuntu 22.04

i can confirm that: sudo apt install python-tk git clone https://github.com/google/spatial-media cd spatial-media/spatialmedia python2 gui.py

worked perfectly.

Only bug i noticed, the extention of the files have to be lowercase, or thay are not show in the open dialog interface :-)