Streaming multiple-movie DVDs using VOD

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
rjmx
New Cone
New Cone
Posts: 3
Joined: 10 Jun 2013 02:13

Streaming multiple-movie DVDs using VOD

Postby rjmx » 10 Jun 2013 02:30

If I try to play a DVD that has multiple items on it with VLC, I get a menu which allows me to select which item I want to play. (By "item", I'm not talking about chapters of a movie; items may be different episodes of a series, or even separate movies on the same DVD). When I'm streaming a DVD using VOD, as far as I can see, only the first item on the menu (or disk???) is available. Is there a way to select which item I'm streaming?

Thanks,

.....Ron

rjmx
New Cone
New Cone
Posts: 3
Joined: 10 Jun 2013 02:13

Re: Streaming multiple-movie DVDs using VOD

Postby rjmx » 10 Jun 2013 04:04

After I posted this, I found http://wiki.videolan.org/Documentation: ... Use_of_VLC, which, among other things, says that the dvdsimple MRL goes like this:

% vlc dvdsimple://[device][@raw_device][@[title][:[chapter][:angle]]]

which, apart from the abomination that is C-shell, seems fair enough. You'd say something like

$ vlc dvdsimple://dev/dvd0@2:1

and it should play the first chapter of the second title. I think.

Unfortunately, doing this in VOD does not seem to work, at least under Linus (haven't tried it with Windows yet). If i say

> setup VOD input dvdsimple:///dev/dvd0@2:1

it doesn't work, and I get this on the console:
[0x7fda000587f8] [Media: VOD] main input error: open of `dvdsimple:///dev/dvd0@2:1' failed
[0x7fda000587f8] [Media: VOD] main input error: Your input can't be opened
[0x7fda000587f8] [Media: VOD] main input error: VLC is unable to open the MRL 'dvdsimple:///dev/dvd0@2:1'. Check the log for details.
Looks like it's trying to open the device "/dev/dvd0@2:1" rather than title 2, chapter 1 of device "/dev/dvd0".

Has anyone got this to work? Or is this a bug? If the latter, I'm willing to work on it.

Update: It doesn't work from the command line either, at least in Linux. Perhaps it really is a bug.

rjmx
New Cone
New Cone
Posts: 3
Joined: 10 Jun 2013 02:13

Re: Streaming multiple-movie DVDs using VOD

Postby rjmx » 12 Jun 2013 04:29

Found VLC v2.0 release notes, which say, among other things:
* Start/end titles/chapters are now specified with # rather than @ to fix
conflicts with some URLs and file names. For instance, this plays a DVD
from the 2nd chapter of the 1st title up to the 4th chapter of the 3rd
title: vlc dvd://#1:2-3:4
(Looks like the documentation needs updating to show the change from '@' to '#' as the seperator.)

This works correctly on the command line: saying

$ vlc "dvdsimple:///dev/dvd1#3:1"

works as I'd expect.

With VOD, it causes the server to segfault. I use

> setup VOD input dvdsimple:///dev/dvd1#3:1

but when I do

> setup VOD enabled

the server segfaults. Here's a gdb backtrace:

Code: Select all

[Thread 0x7fffd9f3c700 (LWP 26502) exited] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe9024700 (LWP 26498)] 0x00007fffd0c2c5c5 in x264_encoder_delayed_frames () from /usr/lib/x86_64-linux-gnu/libx264.so.123 (gdb) bt #0 0x00007fffd0c2c5c5 in x264_encoder_delayed_frames () from /usr/lib/x86_64-linux-gnu/libx264.so.123 #1 0x00007fffca5f3f63 in ?? () from /usr/lib/vlc/plugins/codec/libx264_plugin.so #2 0x00007fffe8b1c6d5 in ?? () from /usr/lib/vlc/plugins/stream_out/libstream_out_transcode_plugin.so #3 0x00007fffe8b183cd in ?? () from /usr/lib/vlc/plugins/stream_out/libstream_out_transcode_plugin.so #4 0x00007fffe8b184c7 in ?? () from /usr/lib/vlc/plugins/stream_out/libstream_out_transcode_plugin.so #5 0x00007ffff797fb50 in ?? () from /usr/lib/libvlccore.so.5 #6 0x00007ffff791865b in ?? () from /usr/lib/libvlccore.so.5 #7 0x00007ffff791d511 in ?? () from /usr/lib/libvlccore.so.5 #8 0x00007ffff791faa8 in ?? () from /usr/lib/libvlccore.so.5 #9 0x00007ffff791f555 in ?? () from /usr/lib/libvlccore.so.5 #10 0x00007ffff7924518 in ?? () from /usr/lib/libvlccore.so.5 #11 0x00007ffff7924f26 in ?? () from /usr/lib/libvlccore.so.5 #12 0x00007fffe8910153 in ?? () from /usr/lib/vlc/plugins/access/libdvdread_plugin.so #13 0x00007fffe8911c1f in ?? () from /usr/lib/vlc/plugins/access/libdvdread_plugin.so #14 0x00007ffff792760c in ?? () from /usr/lib/libvlccore.so.5 #15 0x00007ffff792bffd in ?? () from /usr/lib/libvlccore.so.5 ---Type <return> to continue, or q <return> to quit--- #16 0x00007ffff792ce15 in ?? () from /usr/lib/libvlccore.so.5 #17 0x00007ffff792db25 in ?? () from /usr/lib/libvlccore.so.5 #18 0x00007ffff76c2e0e in start_thread (arg=0x7fffe9024700) at pthread_create.c:311 #19 0x00007ffff69d695d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 (gdb)

How should I proceed to troubleshoot this?


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 1 guest