INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Search all forums or this forum: Advanced search
vobs in mplayer

Forum Index -> Video -> Linux Printer-friendly version
Reply to topic
Author Message
finnigan001
Member


Joined: 09 Feb 2003

Post Posted: Oct 28, 2003 07:41 Posts Comp View users profile Send private message Reply with quote

Hi,
I've just switched to linux and it's great. Worked out how to create vcds from vob's after a painstaken length of time. Anyways, i had ripped a number of dvd's to hard drive using smart ripper on a computer with a dvd player, then copied them to my linux box. I use mplayer to output a stream that mjegtools can use to create the vcd. My problem is when i try to encode them it only gets the first vob file and encodes that. I was looking at mplayer docs to try and find out how to make it read properly off my hard drive and i found this:


Quote:

5.2. DVD playback

For the complete list of available options, please read the man page. The Syntax for a standard Digital Versatile Disc (DVD) is as follows:

mplayer dvd://<track> [-dvd-device <device>]

Example:

mplayer dvd://1 -dvd-device /dev/hdc

The default DVD device is /dev/dvd. If your setup differs, make a symlink or specify the correct device on the command line with the -dvd-device option.



but in trying to symlink /dev/dvd to my /dvdfiles/ im having no luck. The command i use to symlink is : ln -s /dvdfiles/ /dev/dvd/

i have no dvd drive in this computer, thats why im trying to make it read of the hard drive.

below is the commands i use in my script:

( mplayer -alang en -noframedrop -vo yuv4mpeg -ao pcm -waveheader -v -osdlevel 0 $dvdFile) &

( cat - < stream.yuv | yuvscaler $yuvoptions | mpeg2enc $mpegoptions) &

$yuvoptions $mpegoptions are just extra command line arguments for each of the tools.


Any help would be greatly appreciated.

Tim


Olangu
Member


Joined: 30 Oct 2003

Post Posted: Oct 31, 2003 07:48 Posts Comp View users profile Send private message Reply with quote

Try set dvd-device to the folder that contains the VIDEO_TS directory.

finnigan001
Member


Joined: 09 Feb 2003

Post Posted: Oct 31, 2003 22:36 Posts Comp View users profile Send private message Reply with quote

thanks for the reply,

yeah i tried that, the best solution i found was suggested to me on another forum. It was to catenate the vob files together

eg. cat *vob > big.vob

then use mplayer -options big.vob , which worked like a charm biggrin.gif

Thanks All


Olangu
Member


Joined: 30 Oct 2003

Post Posted: Nov 01, 2003 05:21 Posts Comp View users profile Send private message Reply with quote

Mplayer is great, but not the best program for dvd.

Good that you solved the problem.

But i would recommend ogle to you.

And when you take open you write the path of the mounted dvd in the field...


spectroelectro
Member


Joined: 17 Jul 2003

Post Posted: Nov 01, 2003 10:36 Posts Comp View users profile Send private message Reply with quote

Yes, this is a well-known problem in DVD rips. You must either rip the VOBs into one large combined VOB, or concatenate 'em as suggested into a single VOB file after ripping. The reason for this goes back to the origin of the DVD format. It was created back when M$ had a 1 gig file size limit. So VOBs are limited in size to 1 gig. The DVD format chops up MPEG-2 files into smaller 1-gig VOB files to accommodate this older file size limit which is now unfortunatley built into the structure of all modern DVD directories. A pain in the ass, but that's life.

Reply to topic All times are GMT - 6 Hours
Forum Index -> Video -> Linux Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
About   Advertise   Forum Archive   RSS Feeds   Statistics