Page 1 of 1

play dvd via command line

Posted: 03 Sep 2005 23:56
by brian
I'm trying to play a dvd via the command line
vlc dvdsimple://[device][@raw_device][@[title][,[chapter][,angle]]]
The following works:

vlc dvdsimple://e:

But how do I add title/chapter/angle to the command?
Could someone show me an example command
to play the second chapter from a dvd?

Thanks.

Posted: 04 Sep 2005 00:00
by dionoea

Code: Select all

vlc dvdsimple://e:@,2
(or maybe @0,2 or @1,2)

Posted: 04 Sep 2005 00:05
by brian
Nope.

With those I get:
dvdread error: DVDRead cannot open source: e:@1,2
vcd error: no movie tracks found
main error: no suitable access module for `dvdsimple://e:@1,2'
(It seems to be trying to play
the drive: "e:@1,2" when I give
it that kind of command...)

Posted: 04 Sep 2005 01:17
by dionoea
rha !!! the help is wrong. You need to use a ':' instead of ','

Posted: 04 Sep 2005 01:23
by brian
Okay, still not working...
I now have the command:
vlc simpledvd://e:@e:@1:1:1

And I get:
vcd error: no movie tracks found
main error: no suitable access module for `simpledvd://e:@e:@1:1:1'
If you can get it to work, could you paste the command you use?

Posted: 04 Sep 2005 03:03
by dionoea
this works on linux

Code: Select all

dvdsimple:///dev/cdrom@:2
on windows it would be :

Code: Select all

dvdsimple://e:@:2

Posted: 04 Sep 2005 03:48
by brian
That works, thanks.

The command I've used now is:

C:\progra~1\VideoLAN\VLC\vlc "dvdsimple://e:@2:1"

To play the 2nd video on the dvd...

:)