[PSVITA] PSVita USB Streaming Released (UVC – USB Video Class) V1.3 R

From xerpi comes a new update of UVC (USB Video Class) in version 1.3. The plugin is, a project started a few months ago using reverse engineering on the PSvita OS taking advantage of the recharge connector of PSVITA and the SceUdcd module, already enough used by the developer TheFloW. Setting up the PSVita as a USB Video Class device (it is a class of USB devices that describes devices capable of streaming video such as webcams, digital video cameras, transcoders, analog video converters and still image cameras). it is a small matter, obviously it is in the initial stages of development and some bugs or reproduction problems are always present. Genetic, who knows in the future what the developer will reserve for us

From xerpi

So this is a project I had in mind for some months and finally I decided to put some effort into it.

Let me explain: the Vita system has a module (  SceUdcd  ) that allows you to set up the basic Vita USB port (fat and slim) like any USB device by setting customized USB descriptors.

In the past I have already used SceUdcd to make Life as a standard USB HID Gamepad (check  this  ) so I asked myself: why not take advantage of the power of that module and write a plugin that sets PSVita as  a USB Video Class device  (like a webcam or a USB video capture card) and send screen data to the PC?

And here we are, Life OS (especially the SceDisplay and SceUdcd modules) has done a bit of reverse engineering for me to have a lot of proof of the skprx concept that works.

As I said it’s a PoC, so don’t expect it to work at all: the code is currently very inefficient and I’m not taking advantage of Vita’s colorful hardware color converters and image encoders, it’s all done by the CPU. Also, for now, this version will only capture movies in LiveArea.

Although it’s not very useful in its current phase, I’m releasing this so I can try it on different operating systems and report back if it’s working or not (I’m developing on Linux, so it’s my test platform).

Installation  :

  1. Copy  udcd_uvc.skprxto your PSVita
  2. Add  udcd_uvc.skprxto the taiHEN ( ur0:/tai/config.txto  ux0:/tai/config.txt) configuration  : *KERNEL ur0:tai/udcd_uvc.skprx
  3. Restart your PSVita.

Or just use my Autoplugin homebrew

Video Test by  NanospeedGamer

Changelog

v1.3

Fix detection of system apps thanks to @ u3shit

v1.2

List of supported video modes:

  • 960 × 544 @ 30 FPS and (less than) 60 FPS

  • 896 × 504 @ 30 FPS and (almost) 60 FPS

  • 864 × 488 @ 30 FPS and 60 FPS

  • 480 × 272 @ 30 FPS and 60 FPS

If the video looks glitchato, try changing the video player configuration to use the NV12 format   or switch to another player (like PotPlayer, KMPlayer or OBS). If you are using Windows 10, you may need to change the access permissions of the camera in the privacy settings. On Linux, I recommend using  mplayer  (  mplayer tv:// -tv driver=v4l2:device=/dev/videoX:width=960:height=544).

v.1.1

  • Video modes 896 × 504 and 480 × 272 added

  • Added support for 30 FPS

  • The VitaShell USB mode should work (starting from VitaShell 1.95) but a reboot will be required after disabling the USB to make this plugin work again

List of supported video modes:

  • 960 × 544 @ 30 FPS and (less than) 60 FPS

  • 896 × 504 @ 30 FPS and (approximately) 60 FPS

  • 480 × 272 @ 30 FPS and 60 FPS

If the video has any problems, try changing the video player configuration to use the NV12 format   or switch to another player (like PotPlayer or OBS). If you are using Windows 10, you may need to change the access permissions of the camera in the privacy settings.

Download :

udcd_uvc.skprx

Source
Reddit