-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for streaming capture cards #164
Comments
I don't have exposure to these VR devices so I didn't understand what you're trying to achieve by this. But, to answer your question: No, right now we can't use USB capture card as video source. |
I'm trying to get the output of a game console (HDMI output) to stream remotely. Are there any projects or tools that you can recommend to achieve this? |
This is a very tricky use case that was raised in #103. Few resources: For this, two things would have to be implemented:
While the first is trivial, the second is multitudes trickier than the first and likely requires a certain implementation for every single console one wants to use. This is why I am hesitant to put this into the scope of our project. The best way would be to create an interface that connects a PC to the device, and an interface to control the device if needed, without remote streaming, and instead use a remote desktop like Sunshine or Selkies to control or view from the PC which the console connects to into a client. If you don't need remote controlling, latency is much less important, so something like OBS works. |
For VR, I recommend using WiVRn, ALVR, Virtual Desktop, etc. to stream from PC to VR. Anyways, in order to "play", it is critical that some API to relay a virtual controller from PC to console is implemented (we cannot do this for you because of the wide variance in the scope of our project). Else, you are much better off with an emulator instead. |
Now I understand what this #103 is all about, back then I didn't understand it a bit. |
In your case @alexmi256 If your objective is to use the VR device as just the display, close to the console device, and use a real controller to the console device yourself, you can surely use Selkies, Sunshine, or better, WiVRn or ALVR, after connecting a capture card into a PC. If the controller is directly connected to the console device, the second component can be worked around. |
Thanks @ehfd for the detailed resources and alternative options, I will start looking those. The main part I'm trying to see is if I can re-stream whatever a capture card gives (50ms latency) which is usually MJPEG or YUY2 without re-encoding if possible since it will further degrade picture quality and potentially add more latency. For this I found webrtc-streamer but I didn't get to try it out. |
@alexmi256 WebRTC doesn't typically support MJPEG or raw video, so it needs re-encoding. |
Please post here or reopen if there are addition questions or suggestions. |
Is your enhancement request related to a problem? Please describe.
No
Describe the solution you'd like
I'd like to know if I can use a USB capture card as the video source instead of the current desktop.
Describe alternative implementation you have seen
I know I could use OBS or similar to display the capture card on the desktop and then have selkies-gstreamer transmit the desktop but this seems inefficient (since cheap capture cards already encoded the video) and could introduce additional latency.
Additional context
The reason why I want to do this is so that I can play console content on my VR device. Thus, having the controller not connected to the PC is fine since it will be connected directly to the console.
The text was updated successfully, but these errors were encountered: