Here is the usage:
Code: Select all
usage: makemkvdev [args] [makemkvcon args, command] [device]
Device specification:
Either srN where N is any number of digits or /dev/ANYTHING.
If no device is given we choose the fastest as reported in
the info file.
Options:
--program PROG Default: makemkvcon
--infofile FILE Default: /proc/sys/dev/cdrom/info
--label_drive LAB Default: drive name:
--label_speed LAB Default: drive speed:
Flags:
--help or -h Show this simple help.
--pretend Print makemkvcon command but don't run it.
--show Show the two lines we use from /proc/sys/dev/cdrom/info
--verbose Print makemkvcon command line before running it.
ALL OTHER ARGUMENTS ARE PASSED TO makemkvcon!
Examples:
Stream from fastest drive:
makemkvdev stream
Stream from drive sr1
makemkvdev stream sr1
makemkvdev stream /dev/sr1
I've got another, more complicated, wrapper that creates an HTML guide to the contents using the output of "makemkvcon -r info". It also creates a video playlist file and tries to use a different port for each blu-ray so XBMC can resume each disc individually. That's the program I use now for streaming blu-rays. I'm planning to add the device name functionality from makemkvdev to it.
I've also got a little script that does an IMDb search for whatever dvd and blu-ray discs are inserted in drives in your system. It relies on the disc having a label that matches the title. Most disc have the correct label but many don't. I get the labels from the symlinks in /dev/disks/by-label/.