Comments (8)
Great thought....
Is it possible to have a little script which connects to a streaming source, and just throws packets into the USB endpoint?
from psvrframework.
First I would like to contact the people what I worked on that project as they have more knowledge on RTP packaging, I have no idea on how to make the RTP packets as I only manipulated them to feed a video player on web, I hope they can help me a bit on this.
Maybe looking at VLC streaming server can help, will check it this week as I know VLC or GStreamer can be used for this. Once we got the stream correctly encoded and encapsulated is just a matter to send the packets as-is.
from psvrframework.
I'm guessing based on some of this discussion that you seem to have made most of your discoveries using the morpheus bridge source code along with some trial and error to see what various commands do?
Have you done any USB traffic sniffing using something like USBProxy - https://github.com/dominicgs/USBProxy - If not I can try to get that set up later. It should be much easier to figure out what the PSVR wants to see by looking at a traffic capture, the H.264 headers should be recognizable making it easy to recognize the encapsulation. This assumes that USBProxy doesn't degrade performance to the point where things just crap out
from psvrframework.
@Entropy512 Do you have a PS4, the PS VR and a board with OTG? If yes then that would give us a lot of info, not just on this interface but also with all the missing bits of protocol on the rest of the reports.
I didn't knew about USBProxy, I was asking in other issue if someone kew about a cheap USB analyzer, and this can be what I need. Do you know if this will work with a Raspberry Zero? I don't have one but are extremely cheap, so if this work I will buy one for sure.
Please, test if this works and share your results. I think at least for commands will work, they're reporting speeds about 15 reports per second, for real time video this is insufficient, but we don't need a working stream, just the first packets to the interface. A big problem I can see is the sensor report, it updates a thousand times per second with two sensor reports inside to achieve the 2Khz sensor frequency required for the fusion algorithms, so that will saturate the device. But, if the tests are done with the headset off that report is not sent, so may be it will work for some things and not for others.
from psvrframework.
I have a PS4 and PSVR.
I don't believe the Pi family of devices has USB Gadget support - the MicroUSB port is only for power I'm fairly certain. Most USBProxy development appears to be done on the BeagleBone Black which I do have (although I'm not quite sure exactly where it is right now) - I'm going to attempt to get it set up sometime in the next few days.
from psvrframework.
The Zero module does have OTG and is used precisely to create gadgets.
from psvrframework.
That might work - both gadget and host, although USBProxy would obviously need some massaging to work with the Zero. I'm at least going to focus on the BBBlack initially as it has an Ethernet interface that is not hung off of the USB controller, which would help for getting the captured data off the device. It also happens to be what the USBProxy guys are developing against. :) Well, there's also the fact that I don't have a Zero but I have a Black. :)
from psvrframework.
Perfect :)
from psvrframework.
Related Issues (20)
- Singleton Implementation HOT 2
- Flickering when using Framework HOT 2
- Gimbal Lock with Euler Angels
- Maybe usefull info about psvr
- Port to OS X
- Notification should appear on first run.
- Issue with display in VR mode HOT 1
- Status of PSVR on PC ? HOT 1
- It seems like it doesn't support the ps vr framework 2.5 since ps4 v4.5 HOT 1
- Enable mouse tracking with the movement of the PS VR HOT 1
- sound problem on vr mode HOT 1
- PSVR 65,70 and 75Hz mode? Video routing and EDIDs
- Requires Run As Administrator to save settings?
- Feature? A perma-Shutdown option would go a long way on Windows
- Brightness actually works independent of Cinema Mode
- Release binaries report impossible values for SIXAXIS on Windows?
- DELETED HOT 1
- is not recognized as an internal or external command, operable program or batch file.
- Installation Help HOT 2
- Drift is not properly set
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psvrframework.