Giter VIP home page Giter VIP logo

vita-udcd-uvc's People

Contributors

u3shit avatar xerpi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vita-udcd-uvc's Issues

PSVita USB streamingMOD offers 320 mbps over usb and 57 fps all the time

I tested a mod of this and it works better. It pushes the usb bandwidth to up to 320 mbps and 57 fps all the time
in comparisson this uses only up to 309 mbps and at 896 x 504 it gets up to 54 (some 56 peaks, most of the time below 54) fps.

in summary: @896x504 on usb 2.0

PSVita USB streaming(original 1.2)
bandwidth: (up to) 309mbps
fps: (below) 54

PSVita USB streamingMOD
https://gbatemp.net/threads/mod-60-...ing-uvc-usb-video-class-limit-to-504p.514185/
bandwidth: (up to) 320mbps
fps: 57

Please, can you update to run 896x504@60fps using beyond 320mbps over usb?
That MOD almost did it.

doesnt work on system apps

NPXSXXXXX range titleids dont work. and just freeze the video on the start button covering the entire screen

Cant get video to show

I can get the pc to see the vita in obs but it wont actually give me any video. I have tried a few versions of udcuc-uvc and I have seen the video flash where it almost worked once. I was wondering if anyone might have an idea what might be the problem. It's a slim running 3.65 with sd2vita if that matters.

Since I installed udcd_uvc_lcd_ off Vita shut down after caution note popped-up.

Greetings. I leave an issue that I want to talk you with.

After I installed your plugin named "udcd_uvc_lcd_off.skprx", I can't turn on my vita properly.
When I turn on my vita, it boots CFW ver. 3.65 with enso and warning note pops-up. However, after few seconds systems are shut-down automatically.

Since it doesn't work properly, I can't fix ur0:tai/config.txt to solve this problem.

--
Sorry, I found the answer of this problem. Please delete this issue.

issue

my vita died using this

No PSVITA OSD events ingame

Hi, I'm using UDCD-UVC-LCD for my ps vita 2000 and I encountered this issue: when playing games if I unlock a Trophy it didn't show up on the pc screen and also when I try to write using my dualshock 4 it only shows the OSK on the vita but not on the PC screen This happens also with if I press the ps button longer and the system menu, or try to change volume, basically all the PSVITA osd events in game, I want to know if is an issue and if it will be addressed soon, so I can play my PS Vita like a PS VITA TV, ist annoying but not game breaking, everything else I tested works fine.

LCD Off Version Doesn't Work for Me

On a 3.65 Enso Vita 2000.

Upgraded to this version and now the plugin no longer works.

When I plug in the USB cable to my PC, the Vita screen goes black for a second or two, then displays again and nothing shows up on my computer screen. Seems like the plugin is loading fine since it actually does something when I plug it in.

Prior version worked fine.

Any idea what the problem could be?
By the way, I've disabled all plugins except storage manager and Henkaku.

Also, thanks for the plugin. I use it all the time!

the plugin isn't working properly

i have already installed the plugin via autoplugin and it's in
(*KERNEL ur0:tai/udcd_uvc.skprx)
but no matter where i put the plugin at it's not running in the video applications like vlc or vita dock.
idk if this is an problem but i need help.

It's not working for me

I have deleted all other plugins, but it still did not work for me.

I am on FW 3.60. I connected my vita to my Surface 3. But the Sufrace 3 only recognized my vita as MTP or type B.

Is it a working plugin? I am just really fruatrated from wasting my time trying to get this thing to work.

I wonder if it's the Surface 3 that has a problem. After all it is a low profile PC. My Surface 3 is on Windows 10.

Screen Tearing and other issues

I'm using the 1.4 release and I was testing it capturing Final Fantasy I running Adrenaline and I had a ton of screen tearing and I also had some issues with portals flickering weirdly, messing around with V-Sync and De-interlacing didn't fix it.

way to reduce latency?

I already use the 864x488 60fps resolution I tried ps vita play v4 but the latency is very high, OBS is a little better but the input lag makes it difficult to play some games, is there a better alternative?

Compiling error

Always getting undefined reference to ksceDisplayGetFrameBufInfoForPid error, tested on Windows 7, Windows 10, Ubuntu and Debian.

Works fine for a few seconds then freezes

It connects to my pc fine, and works for approximately 30 seconds before the video output freezes on my pc, and the game is still running on the vita. The audio is still going through as well, but the video just freezes. I'm running 3.60 enso on a 2000 series vita. the game is running of of an sd2vita memory card if that matters.

IMG_20200408_191400
IMG_20200408_191318
(Images of issue)

didnt work on mplayer anymore (newest udcd plugin + ds3vita)

Hello,

i had worked on a dock for psvita and used a raspberry pi 3 b+ for this! After some trying it seems to work flawless (besides the audio issues, but thats not the problem)!

mplayer seems to work the best for me and put everything together to dock looking block of plastic, so i thought this was very nice...

After installing ds3vita things are getting worse! After using both plugins, mplayer try but dropped 0 frames of 0 after some seconds. So i rollback the installation of ds3vita and the udcd plugin wouldnt work anymore! Now it appears, that udcd plugin works only if i put it in ur0:tai (i use sd2vita as ux0 and have storageman on top of the KERNEL* list)

Automatically the udcd plugin shows up in both config.txt (in ur0 and ux0 with the correct ur0.tai path, please tell me if this is not an issue?!)
So i tried it on my raspberry with mplayer again, not working, switching usb port, work flawlessly! After shutdown and boot it works fine again...

after installing ds3vita and messing with the config.txt (didnt work on first reboot), so i change the order) it works... now mplayer try, but fails again!

Maybe its a random bug in mplayer, but this seems getting started with the use of ds3vita!?! Try it on PC with this psvita dock tool and there was no trouble at all!

Even try my raspberry image backup on 2 other micro sd cards, but there was no luck too :-(

Iam tired of trying, maybe someone can get me an advice, maybe there is an mplayer option i have to use!

this line gave me best results for several trys before using ds3vita plugin:

mplayer -sws 1 -fstype layer,stays_on_top,above,fullscreen -fs -aspect 16:9 -tv driver=v4l2:device=/dev/video0:width=960:height=544 tv://

Please help and Thank you

kante01

vita screen turns back on after short while.

version of plugin: 1.4
Os: Linux
Streaming program: Mplayer
vita model: LCD
Detailed description: When connecting the vita the screen turns off but after a short while it turns back on and stays on.

Does this plugin support the Playstation TV ?

Hello,
I have been trying to get this plugin to work with a PSTV and I could not get it to work. Maybe the PSTV is not supported (it lacks some of the usb descriptors as it has no camera ?) ? Could you please clarify this issue ?

OSK does not show in VitaShell

With the 1.3 update of this plugin it is now possible to see on a monitor the Seetings, Browser amognother bubbles. We can even see the on-screen-keyboard (OSK) in those bubbles. However, when editing a plain .txt file, for example, in VitaShell this OSK does not appear. Any insight?

love this plugin btw.

v1.4 doesn't work for me

PS Vita fat with H-Encore on 3.68.
Neither normal or OLED off versions work.
Version 1.2 does work, but crashes H-Encore when I start it right after disabling the plugin.
Didn't try v1.3.

Vita doesn't show up on OBS or Win10's camera app.

I installed the plugin and put it in the config.txt file in ur0, but it doesn't show up in OBS or the camera app, OBS only shows with the screen capture when creating a new view, and the camera app says there's no camera available. What should I do?

v1.5 oled off doesn't work

I have a PSV2000 and tried the OLED off plugin of version 1.5, and OBS doesn't recognize it in the program. Using the normal version works, though.

Crash After Boot

Using Vita 2000 Slim firmware 3.60 enso. Tried the normal udcd plugin and the no-LCD plugin. Whenever the system reboots after installing it will crash after the warning message. I've tried moving the line for the plugin inside the config file in my ur0 tai folder as others have suggested but no matter where I put it nothing changes.

Any suggestions are all would be appreciated. I'd love to have this up and running; already got the Vita Dock on my pi setup but the wall I hit is trying to get the plugin to work.

Resolution options that match some game's internal resolutions?

Just curious if it would be possible for the plugin to be set to some resolutions like 720x408, 704x448, 640x384, and others mentioned over here: https://github.com/Electry/VitaGrafixPatchlist#supported-games

This would allow for better image quality I would imagine since you would be upscaling on your PC only once, rather than twice, assuming you opted for 864x488 to maintain 60fps.

Of course we could also use the VitaGraphics plugin to modify the game resolutions ourselves to match 864x488, I assume, but I have run into issues with some games not mentioned on that compatibility list...

Any app on SMART TV

Hi Xerpi, congrats and thx for the pluggin!!!
Any app for Samsung SMART TV to get the streaming?
If not, do you think it would be possible to program, I mean, the android layer for tvs offers such capability?
Thx again
@jmpuk

audio buzzing when recording.

hello. I was streaming to obs and the recording works great. thank you lots to the creator.

however I have this problem with the audio. I run an aux cable hub/aux splitter from my ps vita so I can listen to the game through headphones and record audio at the same time. when I play back the recording, its very quiet, which I can easily fix, but there's this loud buzzing in the background. I was wondering if it was the hub that is causing the issue or if that's just the drawback to using the plugin.

now this isn't the hub I actually used but its just so you may know what im talking about- https://www.amazon.com/gp/product/B07RYV3TWC/ref=ox_sc_act_title_3?smid=AKXVBT49GGF3B&psc=1

the hub I have is cheaply made and splits off into 5 different ports, so I feel that my be causing the problem, but im not too sure.

thanks for the help!

Cannot get the vita to be recognized by OBS/VLC/Win10 Camera app

i cannot get this to work, i have been trying for hours, and i've tried many things like reinstalling the drivers using zadig and swapping which line this uvc_udcd plugin is on. the vita does not have a pop and say "connecting...". the pc recognizes it but doesnt show it as a usb camera.

This P.O.S plugin doesn't WORK

Like everyone else, this piece of crap doesn't work. I can only start my Vita using the L to not load plugins, meaning I'm likely going to have to freaking re-hack my Vita using the Vita Mem-Card, to get back to my SD2Vita functionality.

You should remove the download for this piece of crap before it screws up someone else's Vita.

Turning off the screen and fixing audio

This plugin works amazing, I use it with the DS4vita.

I want to know (and ask) for a method to turn off the screen while playing.
Also, I turn off the power charge by USB and I still having audio issues, any idea to fix it?

Being able to turn off the screen + DS4vita + audio fix = Vita turning into a Switch.
Thx.

Programs to use on Linux (not an issue)

Hi,
I'm a Linux user, specifically Slackware 14.2.
I successfully installed the plug in you implemented, but had problems making it work with programs like vlc, mvp etc... on Linux.
Then I tried a program called guvcview, and managed to make it work flawlessly.
I wrote this issue, even it is not an issue, because I thought I could share my experience in case others had problems setting it up like me.

The interface is really simple and user-friendly, but I'll attach an image with the correct settings needed to properly display the ps vita screen.
First of all, plug in the ps vita (with the plugin already installed, of course), then open guvcview and select the video device to "ps vita" (it's auto-detected thanks to the plugin). After this set the video options like the image, and that's all.

Thanks again for this plugin.

image1

USB Power Supply / Charging

Can anybody confirm that the usb power supply feature does not work with vita-udcd-uvc loaded?

I think vita-udcd-uvc also interferes with battery charging, at least according to the percentage display of vita-shellbat.

Remote Play

Why, when logging in to the remote play application, it stops broadcasting to the computer?

[offtopic] Need to skip initial setup screen because my touch doesn't work

Hello

I'm requiring help about my vita 1000 on 3.65 with plugins/hacks in the internal memory (don't know if they are still there after full reset but I have copies of the folder on an sd card)

Recently I tried to take out the 3g module and the drill screwdriver I used chipped some traces on the circuit board now the touch capability doesn't work (tried a new screen as well).

At first I thought it was a software issue so I full reset everything. Now much to my dismay, initial setup screen requires touch capability but I can't go past it. I usually play emulators so touch is something I don't need.

Is there any way to bypass this? I have sd2vita as well as an official 4GB memory card. I also have an external usb chip flasher and my backups (I think) from the Q/CMA PC app.

Could there be a premade preconfigured firmware to put in the root of the SD/or CMA app to trigger the flashing etc.? Or maybe external nand flashing type like Xbox rgh? Tried DS4 but bluetooth doesn't autoconnect :(

Please help me go past the initial setup screen

Thank you

Vita not recognising as a USB video device

Hi all,

I set up this just like all the guides told me to but no matter what happens it doesn't seem to count as a webcam device. Sounds doesn't really like to work a lot but I can deal with that in due course.

I am a novice to this kind of thing, PS VITA 2000 is 3.65, H-Encore, VitaShell and Enso installed. Put the plugin as instructed in the ur0:tai folder but it doesn't seem to be working. Doesn't bring up anything to do with content manager so assume it is running but really I have no idea.

Any help you can supply would be great.

Thanks in advance

Is it possible to connect Vita to the host PC as a Composite Device?

What I mean is, I'd like to try writing audio streaming support (no idea how yet โ€” I'm thinking of emulating a USB Audio Class device with either as many channels as there are open ports, or a fixed number of channels since not many games would use 8+ ports anyway).

However that means the plugin will need to emulate 2 devices โ€” USB Video and USB Audio. From what I know any generic webcam solves that by presenting a "Composite Device" to the host with 2 descendant devices: one for video, and one for audio.

Is there any way to make the Vita run multiple USB drivers concurrently in a similar way?

Testing latest commits and test with MacOS.

Hello xerpi,

I have compiled your latest commits to see if it could work on my Mac but it doesn't work either :(
If I can help you solve the problem for Mac, tell me where to look and I will help you.

Thanks for your time and your great work.

udcd_uvc bug that needs to be fixed

when ever this plugin is enabled my ps vita has a booting problem I turn my system off then reboot it an then it acts like its booting like normal an then it shuts down without saying anything, then I try again with turning it back on an then the second try the system works but gives an error message saying the ps vita system has not turned off properly would you like to send the report an gives two choices click send report or cancel, then the system works fine but sometimes the system will freeze outta no where as in if I am just not using the system but its on stand by like the screen live area is on an the screens on once in awhile as in sometimes the system will just freeze an nothing works but for some reason the system acts like its functioning fine as in the screens on but the screen will dim acting like its working if I hit a button or touch the screen It stops fading the display but the controls are non functioning an if I hit the power button like tap it the screen turns off but if I tap the power button again the system screen is still frozen an comes on but nothing is functioning still at times it will do this an at times it doesnt also another thing to is sometimes if I plug the system into my pc along with the headphone jack wire to pc to ps vita an the systems off if I turn it on the system shuts down on first booting process,

now if I try again it does the same now if I take the wires out of the system an try booting it again itll function correctly but it does the shut down on first boot process every time only the second booting process try works but at times as I said it ll be frozen an at times it works Im not sure what the issue is but maybe you should look into fixing this issue an maybe making better compatibility with plugins, this is my ps vitas config.txt file
does any of these plugins not work correctly with your plugin an if not can you make a fix or a patch for this please because all my plugins work but yours, yours works but causes my ps vita to act strangely an at times makes me want to disable your plugin whats weird is if its disabled my vita works no issues when its enabled this whole issue arises an then makes my ps vita just act very strange ive tried placing your plugin in different areas on the kernel section on my config.txt like the first one an it did the same issue then I placed it in the middle to see what happens well the issue still happens then at bottom still the same then I placed it all the way to the bottom of my config.txt file an it did the same so what ever your plugin is doing it doesnt seem to want to function correctly with the plugins im using it seems so please fix this
my config.txt

For users plugins, you must refresh taiHEN from HENkaku Settings for
changes to take place.
For kernel plugins, you must reboot for changes to take place.
*KERNEL ur0:tai/vitabright.skprx ur0:tai/noled.skprx ur0:tai/storagemgr.skprx ur0:tai/nonpdrm.skprx ur0:tai/nopsmdrm.skprx ur0:tai/noavls.skprx ur0:tai/repatch.skprx ur0:tai/ds3vita.skprx ur0:tai/ds4vita.skprx ux0:app/PSPEMUCFW/sce_module/adrenaline_kernel.skprx ur0:tai/kuio.skprx
ur0:tai/udcd_uvc.skprx
henkaku.skprx is hard-coded to load and is not listed here
*main ur0:tai/download_enabler.suprx ur0:tai/custom_warning_v2.suprx ur0:tai/shellsecbat.suprx ur0:tai/pngshot.suprx
main is a special titleid for SceShell
*!PSPEMUCFW *ALL ur0:tai/vsh.suprx ur0:tai/FuckPSSE.suprx ur0:tai/PSMPatch.suprx *NPXS10004 ur0:tai/sceShutterSoundPlayDisable.suprx

Crashing after warning screen

Once warning screen pops up, the blue light blinks then shuts down. I've tried putting the skprx both in the beginning and end of the kernel, and boots up when it's at the end, but doesn't work. Any help would be wonderful. Thank you!

[lcd_off v1.4] Suspend bug

Summary:

At least on the LCD plugin version the Vita will not output to its screen anymore even after unplugging if you try to suspend the console while the plugin its active. Only solution is reboot. Video stream over USB keeps working fine.

Console is not able to fully suspend though

Replication:

The bug presents itself when you try to suspend the Vita while it's streaming (i.e. using lolicon menus), for example to not have to get up from your couch

Streaming will pause, green LED will start blinking, video stream and LCD will go off as expected (if it was on before due to #30), then green LED will stay lit forever. Upon resuming, the video will play properly as usual on the USB stream, but if you unplug the console the LCD will never come back on.

Replugging doesn't help, only solution is reboot

P.S. Thanks for the plugin :)

Latency with raspberry pi

Hello,

Thank you for your incredible work. But I have a problem with it. I managed to make it work whitout issues on a windows computer with OBS. The latency was very low and the games were playable.

Unfortunately, when I try using my raspberry pi 3b, there is a very noticeable lag which make the streaming feature unusable. This is what happens when I run the following command

$ mpv tv:// --tv-device=/dev/video0 --tv-width=864 --tv-height=488 --tv-fps=30

Playing: tv://
[tv] Selected driver: v4l2
[tv] name: Video 4 Linux 2 input
[tv] your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
[tv] Selected device: PSVita
[tv] Capabilities: video capture read/write streaming
[tv] supported norms:
[tv] inputs: 0 = Input 1;
[tv] Current input: 0
[tv] Current format: NV12
libv4l2: error set_fmt gave us a different result then try_fmt!
[tv] tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
[tv] ioctl enum norm failed: Inappropriate ioctl for device
[tv] Error: Cannot set norm!
[tv] Selected input hasn't got a tuner!
[tv] ioctl set mute failed: Invalid argument
[tv] ioctl query control failed: Invalid argument
[tv] ioctl query control failed: Invalid argument
[tv] ioctl query control failed: Invalid argument
[tv] ioctl query control failed: Invalid argument
(+) Video --vid=1 (rawvideo)
[vo/sdl] Using opengles2
Using conversion filter.
VO: [sdl] 864x488 yuv420p
[osd/libass] PlayResX undefined, setting to 960
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
libv4l2: error dequeuing buf: Invalid argument
[tv] VIDIOC_DQBUF failed: Invalid argument
[tv] ioctl set mute failed: Invalid argument
[tv] 4165 frames successfully processed, -1720 frames dropped.
Exiting... (Quit)

Thank you for your help !

Update readme

The new version is out, the texts at the resolution and fps part here on github should get updated as well, considering that 544p now reaches real 60fps.

That's all, other than that, everything it's working extremely well and even better after 1.5 update, thank you for your time and excellent job @xerpi ! I love your work XD

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.