Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to mount a Video DVD when it is on hard drive. ?

102 views
Skip to first unread message

shirish शिरीष

unread,
Jan 22, 2012, 3:00:01 AM1/22/12
to
Hi all,
Please CC me if replying to this query. I know how to mount data
DVD's in Debian but I don't know how to mount Media DVD's so they look
like a DVD drive and can be played . An e.g. of data DVD :-

Code: Select all
$$ sudo mount -o loop debian-testing-amd64-DVD-1.iso /mnt/dvd
mount: warning: /mnt/dvd seems to be mounted read-only.

/mnt/dvd$ ls
autorun.inf dists g2ldr install.amd pics
README.mirrors.html README.txt win32-loader.ini
css doc g2ldr.mbr isolinux pool README.mirrors.txt setup.exe
debian firmware install md5sum.txt README.html README.source tools

Of course I needed to create some mount point at /mnt/ (as in
/mnt/dvd) or wherever I want to mount. With data CD/DVD it is easier
because its just the .iso filename which needs to be given as source
and the mount point as the target and that's it but for Media DVD's
have no idea.

They are usually something like this :-

Code: Select all
/VIDEO_TS$ ls
VIDEO_TS.BUP VTS_01_1.VOB VTS_03_0.IFO VTS_05_0.BUP
VTS_06_1.VOB VTS_08_0.IFO VTS_10_0.BUP VIDEO_TS.IFO VTS_02_0.BUP
VTS_03_1.VOB VTS_05_0.IFO VTS_07_0.BUP VTS_08_1.VOB VTS_10_0.IFO
VIDEO_TS.VOB VTS_02_0.IFO VTS_04_0.BUP VTS_05_1.VOB VTS_07_0.IFO
VTS_09_0.BUP VTS_10_1.VOB VTS_01_0.BUP VTS_02_1.VOB VTS_04_0.IFO
VTS_06_0.BUP VTS_07_1.VOB VTS_09_0.IFO VTS_01_0.IFO VTS_03_0.BUP
VTS_04_1.VOB VTS_06_0.IFO VTS_08_0.BUP VTS_09_1.VOB

They are probably chapters or something similar. Any ideas as to how
mount it and see it in VLC automatically (one chapter after another or
joined by VLC behind the scenes so one sees the whole thing as one
linear thing) would be nice.

Looking forward for answers and tips.

p.s. - did see the manpage, the wikipedia entry for the mount command
https://en.wikipedia.org/wiki/Mount_(Unix) and did try searching
google fu but no luck.
--
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CADdDZRme76AvsHN+mtBXjDAY...@mail.gmail.com

Scott Ferguson

unread,
Jan 22, 2012, 3:30:02 AM1/22/12
to
On 22/01/12 18:32, shirish शिरीष wrote:
> Hi all, Please CC me if replying to this query. I know how to mount
> data DVD's in Debian but I don't know how to mount Media DVD's so
> they look like a DVD drive and can be played . <snipped>

WARNING: these instructions will only work on Authentic Debian
(Linux/BSD/HURD). Fire and/or serious injury may result from using them
on non-Debian, or Debian based systems.


# <= means run as root (use sudo if that's how you've configured your
system)
$ <= means run as a user

test iso
$ file SomeDVD.iso
UDF filesystem data (version 1.5) 'DVDVIDEO


1. Work out where your DVD player is

# cat /etc/fstab | grep cdrom
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0


2. Mount your iso file there[*1]

# mount -o loop -t iso9660 /SomeDVD.iso /media/cdrom0


3. Play it with VLC

$ vlc dvd:///media/cdrom0

NOTES: if using GUI VLC looks at /dev/dvd by default when you select
"Media" => "Open Disk". Just select "/media/cdrom0"
We're assuming this disk is not copy protected.


Cheers

--
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/

NOTE: new update available for Debian Buttons
(New button for querying Debian Developer Package):-
https://addons.mozilla.org/en-US/firefox/addon/debian-buttons/


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4F1BC87A...@gmail.com

Brian

unread,
Jan 22, 2012, 8:30:02 AM1/22/12
to
On Sun 22 Jan 2012 at 13:02:56 +0530, shirish शिरीष wrote:

[Snip]

> Of course I needed to create some mount point at /mnt/ (as in
> /mnt/dvd) or wherever I want to mount. With data CD/DVD it is easier
> because its just the .iso filename which needs to be given as source
> and the mount point as the target and that's it but for Media DVD's
> have no idea.
>
> They are usually something like this :-
>
> Code: Select all
> /VIDEO_TS$ ls
> VIDEO_TS.BUP VTS_01_1.VOB VTS_03_0.IFO VTS_05_0.BUP
> VTS_06_1.VOB VTS_08_0.IFO VTS_10_0.BUP VIDEO_TS.IFO VTS_02_0.BUP
> VTS_03_1.VOB VTS_05_0.IFO VTS_07_0.BUP VTS_08_1.VOB VTS_10_0.IFO
> VIDEO_TS.VOB VTS_02_0.IFO VTS_04_0.BUP VTS_05_1.VOB VTS_07_0.IFO
> VTS_09_0.BUP VTS_10_1.VOB VTS_01_0.BUP VTS_02_1.VOB VTS_04_0.IFO
> VTS_06_0.BUP VTS_07_1.VOB VTS_09_0.IFO VTS_01_0.IFO VTS_03_0.BUP
> VTS_04_1.VOB VTS_06_0.IFO VTS_08_0.BUP VTS_09_1.VOB
>
> They are probably chapters or something similar. Any ideas as to how
> mount it and see it in VLC automatically (one chapter after another or
> joined by VLC behind the scenes so one sees the whole thing as one
> linear thing) would be nice.

If these files are on hard disk in dvd.iso

vlc dvd.iso

should give you what you want.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120122130800.GI17235@desktop

shirish शिरीष

unread,
Jan 22, 2012, 10:00:02 AM1/22/12
to
at bottom :-

2012/1/22 Scott Ferguson <prettyfly....@gmail.com>:

<snipped>

> # <= means run as root (use sudo if that's how you've configured your
> system)
> $ <= means run as a user
>
> test iso
> $ file SomeDVD.iso
> UDF filesystem data (version 1.5) 'DVDVIDEO
>
>
> 1. Work out where your DVD player is
>
> # cat /etc/fstab | grep cdrom
> /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
>
>
> 2. Mount your iso file there[*1]
>
> # mount -o loop -t iso9660 /SomeDVD.iso /media/cdrom0
>
>
> 3. Play it with VLC
>
> $ vlc dvd:///media/cdrom0
>
> NOTES: if using GUI VLC looks at /dev/dvd by default when you select
> "Media" => "Open Disk". Just select "/media/cdrom0"
> We're assuming this disk is not copy protected.
>
>
> Cheers
>
> --
> Iceweasel/Firefox extensions for finding answers to Debian questions:-
> https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/
>
> NOTE: new update available for Debian Buttons
> (New button for querying Debian Developer Package):-
> https://addons.mozilla.org/en-US/firefox/addon/debian-buttons/

Dear Scott,
I can mount .iso filetype dvd's very well. That is NOT the
issue. What I have is that I have downloaded dvd video files and I
want to use that as a virtual drive (like Daemon tools or others do
for windows ).

This are the contents of the video DVD :-

/VIDEO_TS$ ls
VIDEO_TS.BUP VTS_01_1.VOB VTS_03_0.IFO VTS_05_0.BUP VTS_06_1.VOB
VTS_08_0.IFO VTS_10_0.BUP
VIDEO_TS.IFO VTS_02_0.BUP VTS_03_1.VOB VTS_05_0.IFO VTS_07_0.BUP
VTS_08_1.VOB VTS_10_0.IFO
VIDEO_TS.VOB VTS_02_0.IFO VTS_04_0.BUP VTS_05_1.VOB VTS_07_0.IFO
VTS_09_0.BUP VTS_10_1.VOB
VTS_01_0.BUP VTS_02_1.VOB VTS_04_0.IFO VTS_06_0.BUP VTS_07_1.VOB
VTS_09_0.IFO
VTS_01_0.IFO VTS_03_0.BUP VTS_04_1.VOB VTS_06_0.IFO VTS_08_0.BUP
VTS_09_1.VOB


VIDEO_TS$ mediainfo VTS_01_1.VOB
General
Complete name : VTS_01_1.VOB
Format : MPEG-PS
File size : 612 MiB
Duration : 43mn 39s
Overall bit rate mode : Variable
Overall bit rate : 1 959 Kbps
Writing library : Created with Nero

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=15
Duration : 43mn 39s
Bit rate mode : Variable
Bit rate : 1 728 Kbps
Maximum bit rate : 9 641 Kbps
Width : 352 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.341
Stream size : 540 MiB (88%)
Writing library : Ahead Nero

Audio
ID : 189 (0xBD)-128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Muxing mode : DVD-Video
Duration : 43mn 39s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 60.0 MiB (10%)

Menu

>From the contents it seems it is not encrypted.

My question is simply this -

Let's say the movie is my_super_movie which has a folder VIDEO_TS
which is in Downloads :-

So if I do :-

$ sudo mount -o loop ~/Downloads/my_super_movie/VIDEO_TS/* /mnt/dvd

and then do :-

$ vlc dvd:///mnt/dvd

Is this good enough or need something more. ?

Btw my /etc/sudoers does have my user as access after giving the root password.

Looking forward for clarity .
--
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CADdDZRAwV0HrBrikqFPzA4AQ...@mail.gmail.com

Camaleón

unread,
Jan 22, 2012, 11:30:02 AM1/22/12
to
On Sun, 22 Jan 2012 13:02:56 +0530, shirish शिरीष wrote:

> Please CC me if replying to this query.

Sorry, I can't :-(

> I know how to mount data DVD's in Debian but I don't know how to mount
> Media DVD's so they look like a DVD drive and can be played .

(...)

So what you need is to rip/transcoding (or use a dvd backup utility) a
DVD and then play it from the hard disk :-)

The key point if to know if the DVD is protected or not.

If it's not protected just copy/paste the files into a folder and point
VideoLAN to it.

If it's protected and depending on the type of security it uses, you will
have to use a program which can deal with "libdvdcss". I think that VLC
itself provides such option.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/jfhd9h$o88$4...@dough.gmane.org

Bob Proulx

unread,
Jan 22, 2012, 5:30:02 PM1/22/12
to
shirish शिरीष wrote:
> Please CC me if replying to this query.

> I know how to mount data DVD's in Debian but I don't know how to
> mount Media DVD's so they look like a DVD drive and can be played.
> ...
> Looking forward for answers and tips.

Along with the other answers posted you can use mplayer like this:

mplayer dvd://1 -dvd-device /srv/videos/disk_image_directory

Can also play the menus from it using the dvdnav://// with a lot of
slashes like this:

mplayer dvdnav:////srv/videos/disk_image_directory

And of course if you can play it then you can use dumpstream to
extract the video to a file.

Also you can play the .vob files directly. Let's assume that track
four contains the main video stream:

mplayer /srv/videos/dvd_image_directory/VIDEO_TS/VTS_04_*.VOB

Also it seems that vlc is perfectly happy with the directory but for
me I have found that I need to ensure that there is a trailing slash
on the end. This may be causing some confusion when trying to use it
to play a directory.

Does not work:
vlc /srv/videos/dvd_image_directory

Works with a trailing slash:
vlc /srv/videos/dvd_image_directory/

Bob


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120122222...@hysteria.proulx.com

Scott Ferguson

unread,
Jan 22, 2012, 6:10:01 PM1/22/12
to
On 23/01/12 01:38, shirish शिरीष wrote:
> at bottom :-
>
> 2012/1/22 Scott Ferguson <prettyfly....@gmail.com>:
>
> <snipped>
>

<snipped>
> What I have is that I have downloaded dvd video files and I
> want to use that as a virtual drive

I'm not understanding why => VLC => "Open Directory..." is not doing
that for you already. If you've already tried that and it failed -
please try it again using the cli (see further down this post for
example) and post the output.

In KDE with Dolphin - right-click on the directory, choose "Other..."
from the "Open with..." drop-down, select "VLC" from the list (beneath
"Multimedia"), select "Remember application association for this type of
file" => "OK".
(The above is best done with the hot keys)
>From then on it'll be the first option in the "Open with" right-click
sub-menu. (hot key is V)

<snipped>
>
> Btw my /etc/sudoers does have my user as access after giving the root password.

No worries - just substitute "sudo" for "su"
Doesn't matter how you become root.
NOTE: the answers are to your questions - with the hope that others may
use them.

>
> Looking forward for clarity .


:-)

# pwd
/home/scott
# mkdir iso
# mount -o loop,users -t iso9660
/media/One_Terrabyte/Movies/Deadwood/deadwoods2d1.iso iso
~$ mkdir "Deadwood Series Two Disk One"
$ cp -R iso/* "Deadwood Series Two Disk One"
$ ls -R iso
iso:
audio_ts video_ts

iso/audio_ts:

iso/video_ts:
video_ts.bup vts_01_0.bup vts_01_1.vob vts_01_4.vob vts_02_0.ifo
video_ts.ifo vts_01_0.ifo vts_01_2.vob vts_01_5.vob vts_02_1.vob
video_ts.vob vts_01_0.vob vts_01_3.vob vts_02_0.bup
==========
A directory, not mounted on a loopback, containing a media DVD
==========
$ vlc dvd:///home/scott/"Deadwood Series Two Disk One"
VLC media player 1.1.3 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Warning: call to signal(13, 0x1)
Blocked: call to setlocale(6, "")
Blocked: call to sigaction(17, 0xb67750d4, 0xb6775048)
Blocked: call to setlocale(6, "")
Warning: call to signal(13, 0x1)
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/home/scott/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions:
1 2 3 4 5 6 7 8
Warning: call to srand(155239)
Warning: call to rand()
Warning: call to rand()
swScaler: pal8 is not supported as output pixel format
[0x976a594] swscale scale error: could not init SwScaler and/or allocate
memory
No accelerated IMDCT transform found
========
VLC loads, navigation and play all work.



Cheers

--
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/

NOTE: new update available for Debian Buttons
(New button for querying Debian Developer Package):-
https://addons.mozilla.org/en-US/firefox/addon/debian-buttons/


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4F1C96CF...@gmail.com
0 new messages