On Tuesday 20 November 2007 01:30:51 pm Peter Flynn wrote: > Andrew Flegg wrote: > > Many of you use my script 770-encode to transcode videos for your > > Nokia Internet Tablet. This name is obviously an anachronism, so > > to go along with the imminent availability of the N810, it's now > > been renamed "tablet-encode" and moved to a Garage project: > > This looks really excellent, many thanks. > > One small query, however, from someone who knows absolutely zilch > about video files...if I insert a DVD into my Ubuntu Gutsy laptop, > how do I know *which* file[s] to give as arguments to > tablet-encode? The listing of /media/cdrom0 says there's an > AUDIO_TS directory (empty) and a VIDEO_TS directory (full): > > $ ls -l /media/cdrom0/VIDEO_TS/ > total 7430712 > -r--r--r-- 1 4294967295 4294967295 12288 2002-03-20 11:23 > VIDEO_TS.BUP -r--r--r-- 1 4294967295 4294967295 12288 > 2002-03-20 11:23 VIDEO_TS.IFO -r--r--r-- 1 4294967295 4294967295 > 10364928 2002-03-20 11:23 VIDEO_TS.VOB -r--r--r-- 1 4294967295 > 4294967295 88064 2002-03-20 11:23 VTS_01_0.BUP -r--r--r-- 1 > 4294967295 4294967295 88064 2002-03-20 11:23 VTS_01_0.IFO > -r--r--r-- 1 4294967295 4294967295 379172864 2002-03-20 11:25 > VTS_01_0.VOB -r--r--r-- 1 4294967295 4294967295 1073725440 > 2002-03-20 11:32 VTS_01_1.VOB -r--r--r-- 1 4294967295 4294967295 > 1073266688 2002-03-20 11:40 VTS_01_2.VOB -r--r--r-- 1 4294967295 > 4294967295 1073688576 2002-03-20 11:47 VTS_01_3.VOB -r--r--r-- 1 > 4294967295 4294967295 1073670144 2002-03-20 11:54 VTS_01_4.VOB > -r--r--r-- 1 4294967295 4294967295 1073338368 2002-03-20 12:02 > VTS_01_5.VOB -r--r--r-- 1 4294967295 4294967295 1073418240 > 2002-03-20 12:09 VTS_01_6.VOB -r--r--r-- 1 4294967295 4294967295 > 778203136 2002-03-20 12:14 VTS_01_7.VOB $ > > What do I need to list as arguments? VOB files? BUP files? IFO > files? > > (By the same token, although unrelated here, for the --copy-audio > option, how would one know if the audio track is already MP3 or > not) > > Is there some way a self-detecting shell can be built around > table-encode that will sniff at the mounted DVD and see what files > are needed? > > ///Peter Peter, The VOB files are the ones. VOB stands for DVD Video OBject. The VOB file is one of the core files found on DVD-Video discs and contains multiplexed Dolby Digital audio. James