Giter VIP home page Giter VIP logo

Comments (5)

xerpi avatar xerpi commented on August 17, 2024

Yes that would be possible but it's not easy to implement. You have to change the USB descriptors to simulate a composite device and then implement the code that sends the audio data through the endpoints. Also, this will reduce the available bandwidth for the image streaming so either the resolution or the FPS would have to go down.

That's why it's easier to stream audio via bluetooth or the jack cable.

from vita-udcd-uvc.

vladkorotnev avatar vladkorotnev commented on August 17, 2024

Is the image bandwidth already maxing out the USB channel?

The cables are indeed the easiest way, but that means either it's necessary to split the cable or to bear with lags introduced by bluetooth which is not good for playing rhythm games.

Or am I missing something out and there is already a plugin which allows to connect a 3.5 cable and use the built in speakers at the same time? (I just got the vita yesterday so didn't really yet do any proper reading on what it can do)

from vita-udcd-uvc.

xerpi avatar xerpi commented on August 17, 2024

Basically 864x488 is about the highest resolution that can go at 60FPS: https://www.reddit.com/r/vitahacks/comments/aci8cf/ucdc_resolution/edad2oe/

What do you mean with split the cable? And I don't think the Bluetooth lag would be noticeable.

from vita-udcd-uvc.

vladkorotnev avatar vladkorotnev commented on August 17, 2024

Split the cable, as in, make it so that one end goes to the Vita, the other to the capture card, and the third one to the headphones.

Bluetooth lag is already noticeable on headphones, yet bearable (I have to press the controls about 20-40ms in advance but that's it). It's already at the edge of playablity when using Adrenaline. However in case the signal will go first to the PC and only then to the headphones... I suspect at least a 100-200ms delay.

Or does the Vita support playback to multiple Bluetooth devices at once?

That's unfortunate with the bandwidth, probably adding some kind of compression could free up some, but that would just kill the whole point of all the hardware acceleration implemented.

from vita-udcd-uvc.

xerpi avatar xerpi commented on August 17, 2024

At first I tried to compress the framebuffer to MJPEG via hardware and it was too slow (it took 100ms to compress the frame), that's why I use NV12, it takes 2-3ms to "compress" via hardware.

More info here: https://www.reddit.com/r/vitahacks/comments/7c1uge/poc_v2_psvita_as_a_uvc_usb_video_class_device/

I'm not sure about the Bluetooth playback tbh.

from vita-udcd-uvc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.