this post was submitted on 05 Oct 2023
18 points (84.6% liked)

Selfhosted

39238 readers
310 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

(I deeply apologize if this isn't the right community. It felt like the closest match.)

I like to keep all the menus and extras exactly as-is. So I just copy the whole DVDs into ISO files. These are then nicely playable in VLC.
However, wouldn't it be convenient to just have them in one location available over network? Just using NGINX with autoindex on sounded like a simple solution as VLC can stream from HTTP.

However, this doesn't seem to work with desktop version of VLC.
On Android VLC app, it works as I expected. I click on "New stream", enter e.g. http://192.168.44.1:8080/interstellar.iso, hit enter, and it opens the "DVD" with menus and everything (only works if the DVD has intro before menu, which is most DVDs anyway).
But on desktop, it tries to play it as video, which obviously fails since that's not what it is. It just tries to play the first video in the file, and gives it some false timestamp, e.g.: 82 hours.

The only ideas I had was to try vlc dvd://"http://192.168.44.1:8080/interstellar.iso" which unsurprisingly couldn't load anything. Then I tried the --dvd= option which should set default DVD device or file, like so: vlc dvd:// --dvd=http://192.168.44.1:8080/interstellar.iso but that also didn't find anything.

Is there some way to force VLC to play the fed network stream as a DVD? If the Android app can do it, there's probably some way to do the same on desktop.
Thanks.

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 11 months ago (1 children)

Try vlc http/dvdnav://192.168.44.1:8080/interstellar.iso.

If that doesn't work, you probably also need to install CSS decryption support (ie libdvdcss2). Apparently the Android version of VLC comes with this built-in.

[–] [email protected] 2 points 11 months ago

Thanks, that works. Especially with --no-dvdnav-menu which won't skip things before menu.

[–] [email protected] 5 points 11 months ago (1 children)

If the file itself is shared, you can probably mount the iso as a drive on the client computer and play it as a dvd.

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago)

I usually mount with virtual clone drive fwiw. At the very least you can then access the videoTS files and drag/drop them into vlc.

ETA: I don't read good, this won't keep the menus

[–] [email protected] -5 points 11 months ago (1 children)
[–] [email protected] 3 points 11 months ago

That discusses creating a video stream in VLC to play on another computer where the source is a DVD. A different problem.