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:
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/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.
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
+ Reply to Thread
Results 1 to 5 of 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.
Similar Threads
-
Qt + Mac OS X + mplayer embedding,...
By Selur in forum ProgrammingReplies: 0Last Post: 23rd Apr 2012, 13:22 -
Mplayer as an *encoder*?
By RogerTango in forum Video ConversionReplies: 5Last Post: 31st Jan 2010, 10:59 -
mplayer freeze
By ajv in forum ffmpegX general discussionReplies: 2Last Post: 7th Jul 2009, 16:15 -
Convert non-compliant VOBs to "good VOBs"
By pmolson in forum Video ConversionReplies: 3Last Post: 24th Oct 2008, 10:52 -
Simple Mplayer Question
By Maikeru-sama in forum Newbie / General discussionsReplies: 6Last Post: 29th May 2008, 21:10