Vita:UDCD Video Streaming Plugin

The UDCD Video streaming plugin is a kernel plugin that allows you to stream the Vita screen over a USB cable. The Vita appears as a USB class camera and is accessible from VLC and OBS on a PC or on any other device that supports the USB Video class (such as Androids).

The plugin uses the SceUdcd module of the PSVita OS to setup the necessary USB descriptors to simulate and behave as an USB Video class device, similar to a webcam or a USB video capture card. The hardware color space converter of the PSVita's SoC is used to perform the conversion to the destination pixel format; then the USB controller directly performs a DMA transfer from the physical address of the resulting converted framebuffer, saving CPU usage and and reducing power consumption.

Supported Formats and Resolutions

 * 960x544 @ 30 FPS and (less than) 60 FPS
 * 896x504 @ 30 FPS and (almost) 60 FPS
 * 864x488 @ 30 FPS and 60 FPS
 * 480x272 @ 30 FPS and 60 FPS
 * 1280x720 @ 30 FPS

Download and installation
Download:


 * udcd_uvc.skprx - GitHub releases page

Compilation


 * vitasdk is needed.

Installation:


 * 1) Copy   to your PSVita
 * 2) Add   to taiHEN's config (  or  ):
 * *KERNEL
 * ur0:tai/udcd_uvc.skprx
 * 1) Reboot your PSVita.
 * 1) Reboot your PSVita.

Troubleshooting

 * Not working on Windows 10
 * You might have to change the Camera access permissions on the Privacy Settings.


 * Not working on Linux
 * Try using mplayer.


 * Video looks glitched
 * Try to change the video player configuration to use the NV12 format or switch to another player (like PotPlayer or OBS). If the colors look wrong, set color range to full and color space to BT.601 (Rec. 601).


 * Audio is noisy
 * Disable USB power supply (Settings > System)

Turning the screen off during streaming
These 2 modified projects are not on GitHub and are quite hard to find. They are included in Autoplugin 2


 * udcd_uvc OLED - For OLED screens model 1000 - Turns the screen black, turning it off
 * udcd_uvc LCD - For LCD screens model 2000+ - Turns the screen off while streaming