How to play VOB files that were inside a DVD disc?
I just downloaded a DVD which is for a movie. After uncompressing the DVD file I see .VOB, .IFO and .BUP files. If I open the first .VOB file it shows me the DVD menu but I can’t interact with it. So, my question is… is Totem able to play those kind of files? If so, how can I achieve that? What other app could I use in order to reproduce those files?
Using VLC didn’t work neither. I forgot to mention I have already tried that. Let me rephrase: if I open the first video file it shows the DVD menu, BUT I can’t interact with it.
You don’t decompress the DVD file. You have two options:
Burn the .iso file to a blank DVD.
Mount the .iso file.
Either way should produce a playable DVD, and Ubuntu should automatically detect it.
Just install VLC player it will play all VOB files.
Install VLC from the Software Center.
Also, you need this:
sudo apt install libdvd-pkg sudo dpkg-reconfigure libdvd-pkg
Use smplayer. It is a great player. You will need to add the medibuntu repo to install w32codecs or w64codecs for that.
Open the Ubuntu Software Center, search for VLC, and install it.
Then go to Applications –> Sound and Video –> VLC.
In VLC, press Media –> Open Directory and select the folder that contains the VOB files.
Finally I figured out how to do it. These are the steps:
- Create a subdirectory called
VIDEO_TSand move all files there.
Create an DVD ISO file by executing:
genisoimage -iso-level 1 -dvd-video -volset-size 1 -o output.iso root_folder
Mount the DVD ISO by executing:
sudo mount -t iso9660 -o loop output.iso /media/cd/
The result will be a compatible ISO image which can be played using any video player (Totem, MPlayer, Dragon, etc.).
For those ones who are too ubuntufied, you can use K3B to create a DVD project and select “Create image only” before burn it.
mount the file and play it with default video player…
The current version of Totem, 2.32.0, on Ubuntu 10.10 Maverick is able to play a DVD .iso file without decompressing it or anything like that. Just right-click on the .iso and “Open With > Other Application…” and choose Totem. I had to open the .iso twice for it to work, but it works fine and I’m able to navigate the DVD menus and turn on/off the subtitles and everything.
I found the following item:
I would check out https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs and follow the instructions on there (I generally find VLC is the best option). It explains everything you need to know about playing DVDs in Ubuntu.
It is specifically tailored to playing DVDs but a vob file is what is used on DVDs so should also cover what you are looking for (except when going to play it you open a file instead of a DVD).
you may need to install the libdvdcss packages as well to make DVDs play correctly.
I hope this helps.
So: You can right click on a VOB file and select VLC, or open VLC and find the VOB file.
I found the following solution using mplayer:
mplayer -mouse-movements dvdnav:////home/me/FOO
Here /home/me/FOO is the directory where the
.vob files reside.
For some linux installations it may be easier to encode the VOB to a video file. Here is an example using libav-tools . With ffmpeg would be the same I guess, but I haven’t tried:
avconv -i VTS_01_1.VOB -f avi -c:v libx264 -g 300 -bf 2 ~/video_01_1.avi
Usually the place where the VOB files are located has read-only access. The output file will be in the users main directory.
Some options explained:
- -f avi : force output format
- -c:v libx264 : encode with the h264 codec to create small, but quality files
- -g 300 : GOP size is 300 which means one intra frame every
10 seconds for 29.97fps input video