vita-udcd-uvc icon indicating copy to clipboard operation
vita-udcd-uvc copied to clipboard

Is there a compatible video player for vanilla Android tv?

Open juicypop opened this issue 6 years ago • 14 comments
trafficstars

What I tried so far: VLC MXplayer

juicypop avatar Apr 07 '19 22:04 juicypop

That's a good question, I haven't tried the plugin on Android. Make sure the video player supports regular USB UVC cameras (maybe V4L2?).

xerpi avatar Apr 09 '19 10:04 xerpi

thanks for the hint "uvc camera"

Just stumbled upon this thread according my android tv box: https://www.google.com/amp/s/amp.reddit.com/r/AndroidTV/comments/751mls/mi_box_3_videoconferencevideocalling_working/

Will reboot my device while vita is plugged in and play around with different apps and report back whether it works, would be awesome!

juicypop avatar Apr 10 '19 06:04 juicypop

Looks like I have no luck :( I tested 2 more apps, special for uvc webcams: Open webcam Webcamfi

When I plug the vita into my android box both apps ask to open but the screen stays black :(

I wonder if maybe vlc could be able to open the uvc stream, but I have no clue how to achieve this

juicypop avatar Apr 10 '19 19:04 juicypop

I just made android app to show uvc video. But it not smooth to show nv12 video

wjchen avatar Apr 18 '19 06:04 wjchen

Wow that's really great to hear wjchen

Are you going to improve it further and release it somewhere? I would be thankful to give it a shot and report you my feedback

juicypop avatar Apr 18 '19 06:04 juicypop

@wjchen If you use OpenGL ES I think you can sample directly from a NV12 texture.

xerpi avatar Apr 18 '19 06:04 xerpi

You can try my apk here https://github.com/wjchen/AndroidUvcCameras/blob/master/psvcam.apk?raw=true

wjchen avatar Apr 18 '19 12:04 wjchen

@wjchen I finally found some time to give your app a shot. I'm beeing asked to allow usb access but the screen stays black no matter what I try, so still no luck with it :(

juicypop avatar May 05 '19 11:05 juicypop

@wjchen

I tried you APK on a rooted Fire TV Box 2nd Gen. and it worked successfully, where other UVC apps have failed.

Only issue I have with the APK is, that there is some input lag (Probably from my TV) and the video has some framedrops. I dont know if the Fire TV is too weak to process the video input or if it is an issue with the Vita.

Edit:

Had the same kind of issue ob my Laptop with max resolution (Project Diva X is not playable, even OC to Max.) As soon I lowered the resolution, the video was much better. I assume the cable or the Vita is not fast enough zo transmit everything without hiccups. (Vita 1000) Is it possible to add the resolution option to the APK?

RaZoRNo1 avatar May 12 '19 12:05 RaZoRNo1

@RaZoRNo1 I tried 864x488,still framedrop. I think it caused by the wrong way to show NV12 video

wjchen avatar May 13 '19 01:05 wjchen

@wjchen Did you tried what Xerpi suggested? To directly use open gl?

May I ask you if your apk only works on rooted devices? As RaZoRNo1 had luck with your apk and my device won't show anything

juicypop avatar May 13 '19 16:05 juicypop

@juicypop

The app did not ask for any root permissions.

Have you checked if the plugin works without any issues on Windows?

@wjchen

Did you checked the framedrops on Android or Windows? On Windows with 864x488 and 60 FPS it was playable very fine (Project Diva X had nearly no lags/framedrops)

RaZoRNo1 avatar May 13 '19 17:05 RaZoRNo1

Also tried a bunch of UVC apps on play store, unfortunately, most of them do not give proper information if they support nv12 or not. Most give a black screen but some china one's recognized its a vita connected but gave a uvc error.

wjchen apk also gives a black screen on me, making me think maybe these UVC apps requires ROOT acces to properly display the vita? tested on a Mibox S and Oppo F9 pro.

Nonetheless, it works great on windows BTW

froid-san avatar May 24 '19 17:05 froid-san

Maybe you guys just need this: USB Camera - Connect EasyCap or USB WebCam @juicypop @xerpi @froid-san @RaZoRNo1

debuggerx01 avatar Oct 21 '19 07:10 debuggerx01