ottokiksmaler / gear360_modding

Repository for Samsung Gear 360 (2017) modding
59 stars 12 forks source link

How to get live video from camera? #15

Open ivent opened 2 years ago

ivent commented 2 years ago

Hi congratulations you did an amazing job, I was wondering if you could create a solution to get the live video from the camera? there are thousands of people who would like to transform this camera into a webcam, if you can display the camera video via html it would be a big step towards being able to make a webcam using the obs software or even our own software in the future and we would give these an extra life amazing cameras that unfortunately samsung abandoned the project.

ChasonDeshotel commented 1 year ago

I worked on this at one point. I made good progress, looking back now I think with a bit of rest and WireShark I would have had it.

I'll be messing around with this again in the near future, especially since we have new goodies :]

It's been years but there's a live preview on the Gear 360 application, so the camera already is able to stream live output. I might plug it in, run WireShark on the USB connection, then hit the live preview and see what commands are being sent to the camera

Also inspect the network for the video traffic, might be able to grep the port camera-side and figure something out that way

ChasonDeshotel commented 1 year ago

So I refreshed my memory with a few googles, ran into some purple links and I remember setting up an RTMP server to accept the video stream from the Gear 360 Live Broadcast softwareh

Looks like this might be an easier way if you're not comfortable with Nginx, https://github.com/sallar/mac-local-rtmp-server

Ideally we'd stream directly from the camera but I'm betting the camera doesn't have the horsepower to do the stitching

I wanna say I had this working but it's been a few years

Unrelated but how do I connect with adb to the Gear 360?

MichaelJmad commented 1 year ago

What app are you using to get the feed in the first place? the sam app is no longer supported and the mod version I found seems to be dead as well the last update was 2021. the camera connects but will not stream to the phone.

mrallanodreman commented 1 year ago

its really posible?