Allow alternate player app from DVR web UI

I added a VLC button in the latest prerelease. Please try it out and lmk if it works

2 Likes

Hmm, I couldn't get this working on macOS. I tried with Safari and Chrome. I do have VLC as well as my preferred IINA installed on this Mac but I'm not sure if macOS is able to handle "vlc://" links in that way. I also tried manually pasting the URL into VLC's File -> Open Network dialog (both with the VLC:// prefix as well as it removed, and the https// part fixed to be https://) but those attempts failed too.

Doesn’t work for me either. It does work in iOS.

Ditto not working on Windows 10 in Firefox and Chrome, as well as pasting the link directly in VLC.

image

If it helps at all in troubleshooting, I have a desktop shortcut like this that does work:

"C:\Program Files\VideoLAN\VLC\vlc.exe" "https://dvr-nexus-media-01.local:8089/devices/ANY/channels.m3u?format=ts"

Not working on Windows 10 in Firefox, Brave or Edge.
Firefox gives this error, other browsers do nothing.

The address wasn’t understood
Firefox doesn’t know how to open this address, because one of the following protocols (vlc) isn’t associated with any program or is not allowed in this context.
    You might need to install other software to open this address.

Appears the URI Scheme vlc has to have a protocol handler registered with the browser?
It's not an officially recognized scheme Uniform Resource Identifier (URI) Schemes

Okay I found out it only works on iOS. For Mac/Windows, you have to install a helper: https://github.com/stefansundin/vlc-protocol

I'm not sure why this isn't built into VLC already.

1 Like

VLC long ago had a mozilla plugin I used. When you installed VLC it was an option. Been missing for ages.

I tried VLC-protocol.app (from https://github.com/stefansundin/vlc-protocol/releases) on my mac, but it doesn't appear to work anymore: https://github.com/stefansundin/vlc-protocol/issues/12

I will try to convince/help VLC add this feature directly: VLC on desktop will not open vlc:// urls (#26581) · Issues · VideoLAN / VLC · GitLab

1 Like

After installing the helper app, I got the windows version working playing a live channel.
Recordings also work.
Working in Brave, Edge and Firefox now.

I takes awhile for live tv to appear in vlc this way.
14-38 seconds to start.
When you stop and close vlc it takes awhile for Channels DVR to close the tuner.
Recordings start instantly.

If we just want to paste the URL into a media player like VLC or IINA on macOS, and launch it manually, what's the proper format to use? Because these attempts are failing:

CleanShot 2022-02-02 at 20.16.18
CleanShot 2022-02-02 at 20.16.57
CleanShot 2022-02-02 at 20.17.14

It doesn't work remotely yet. It's on my todo list.

2 Likes

OK, cool, thanks.

Everything @chDVRuser said is exactly my experience. Also, when I try to jump back and forth on the timeline there is the same many seconds delay before it starts playing again.

Earlier, I had tried the "Launch in VLC" add-ons for Firefox that were available, but none of them had worked for me. The one @tmm1 found works, though is convoluted to set up for sure! The only real issue I have is that when you select to play in VLC it opens a new tab and doesn't close it.

This worked for me and I am able to use VLC with a couple clicks to watch my recordings.
https://github.com/stefansundin/vlc-protocol 5

On Windows.

2 Likes

It's also transcoding for HDHR sources when it shouldn't since VLC can handle mpeg2 video and AC-3 audio.

Transcodes both video and audio with source mpeg2 video/AC-3 audio and says it's transcoding.

Transcodes audio with source H.264 video/AC-3 audio but says it's just remuxing.

I get that in Firefox, but not Brave or Edge.

I also found you don't need to make this config change in Firefox. Works with or without it.
"To get this working in Firefox, you have to open about:config. Once there, enter network.protocol-handler.expose.vlc in the search field and create it as a boolean. Once created, set the value to false."

I might be missing something, but the Play with VLC option has went missing from the web player drop down.

Still there for me in 2002.02.03.2057

Maybe not shipped in the stable build. Did you update prerelease or update stable release?
And yes, I know the stable and latest prerelease are the same version number, but there is a difference.
I know in the past some new features were only available when running a prerelease version.