jakedowns / Into3D

Into3D for Nreal AR Devices
https://poweredonsoftware.com
4 stars 0 forks source link
android lib-vlc nreal unity vlc vlc-for-unity

into3D Media Player For Nreal

Download the Latest APK here

Features

Coming Soon

How to use with Jellyfin

Install Jellyfin Server on your PC and set up your Movie Library

Then, install the Jellyfin android app and connect to the server (or use the web UI)

click the ... next to the movie you want to watch in 3D and click "Copy Stream URL"

then, open nrealDemo (will rename it soon) and paste the URL into the Input field (Click the Globe Icon, then the SMALL play icon)

BOOM you're streaming 3D video from your computer

Known Issues:

  1. Android Build Fails
    • Need to figure out a way to distribute binaries without including them in source control
  2. VLC not loading youtube urls - Issue #2
  3. File picker not working - Issue #3 SOLVED
  4. "Open In..." not wired up. The app appears in the share sheet, but I need to wire up receiving the file path
  5. The code for Over/Under || Top/Bottom videos isn't set up correctly, will fix this soon.
  6. Video is often too bright. I need to add some brightness/contrast/gamma sliders for adjustment. Coming Soon!
  7. Subtitle Support is not complete (partially implemented)
  8. Selecting Alternative Audio Tracks is not yet complete (partially implemented)
  9. the "lock screen" icon is supposed to be setting screen brightness to 0.1, it also could be Pausing controller tracking. looking into that...

Building

NOTE: you must reimport the following packages (i'll figure out how to distrubte binaries outside of git later)

i was having a hard time getting it to build in Unity directly,

i ended up having to Export it to the nested Android folder

each time i run "Export" i have to then delete any changes that unity makes to the manifests

from there i open it in android studio and perform the build.

it's kind of a pain, i just haven't been able to figure out how to solve building it directly in unity yet.

The main scene is "Assets/JakeDowns/Scenes/MVP_002 - SBS Test.unity"

Unity_SkSJVaT9gc

studio64_6oeY0ZeMBj

Updates

11/29/22

Found VLC Unity Plugin Project. Opting to use this instead of MPV

Bonus Goal: how thin of a unity layer can we get?

really, there's so many helpful things in the NRSDK, it kind of makes sense to just use Unity. I don't really want to deal with the custom glue code and setting up Activities and Android Layout Views for the Phone vs the Virtual display. It would be fun at some point to see if I could get a Unity-less or almost-Unity-less demo set up, but someone will probably beat me to that.

Q: why make a video player if Nreal is releasing an official one soon?

A: I'm mostly doing this for fun / dipping my toes into Android & Unity development and publishing. Seemed like a nice, straight-forward path to start with. Before I venture off into more exploratory areas.

MVP Todos:


Short-Term

Mid-Term

Long-Term

(nice to haves / feature parity)