steveseguin / raspberry_ninja

Publish or capture VDO.Ninja streams with Python (Raspberry Pi, Linux, Mac, Windows WSL)
https://raspberry.ninja
151 stars 30 forks source link

Audio support on HDMI to USB 2.0 adapter? #9

Closed edinsof closed 3 years ago

edinsof commented 3 years ago

Hi. I fully run it on raspberry pi model 3 B v1.2 If connect a gopro with HDMI to USB 2.0 adapter will work with audio ? raspberryimage2 raspberryimage

steveseguin commented 3 years ago

nice!

There are some instructions on how to get audio working. Myself and others have audio working, though you need to tweak the gstreamer pipeline a small bit depending on your device. It shouldn't be hard to get working.

I think a GoPro has audio out over HDMI; you might want to confirm that first.

edinsof commented 3 years ago

raspberry_ninja don't works with self hosted version ?

steveseguin commented 3 years ago

It should be compatible with self-hosted website deployments of VDO.Ninja; you'll need to point the wss:// url to wss13.obs.ninja:443, instead of the backup wss one that is set by default.

If you deployed a private wss server, it might work, but I haven't tried yet with that yet. This project is still quite young and I have pretty limited free time, but I can add it to my list of things to test/add if that's what you are referring to.

edinsof commented 3 years ago

I have tried changing wss server to my hosted version but the image does not work

steveseguin commented 3 years ago

okay. I'll update the code and will let you know when I have it working. thank you for letting me know it isn't working for you.

steveseguin commented 3 years ago

https://github.com/steveseguin/raspberry_ninja/blob/self-hosted-server-patch/nvidia_jetson/server.py

Here is a version that works with the Jetson using gstreamer 1.18

if you're using gstreamer 1.14, I'll need to probably make a version for that, although my hope is to release a raspberry pi version that is 1.18 friendly sometime in the coming week or two.

edinsof commented 3 years ago

I tried the self-hosted patch and it works fine, but if I restart the raspberry it won't work again.

wss request raspberrypi

steveseguin commented 3 years ago

I'll investigate. thank you

edinsof commented 3 years ago

Solved reinstalling raspberry image on sd