VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. 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:


    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
    Quote Quote  
  2. Try set dvd-device to the folder that contains the VIDEO_TS directory.
    Quote Quote  
  3. 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

    Thanks All
    Quote Quote  
  4. 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...
    Quote Quote  
  5. 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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!