[Hidden-tech] TIFF -> DVD - success!

David Olsson davidolsson at yahoo.com
Wed Sep 20 01:11:48 EDT 2006


Ah, mastery is sweet!  Thanks to information and suggestions from you all, I have a most excellent DVD for my artist client.

Just to show you how easy things are in the Linux world, here are the (obvious, of course) commands which did the trick -

for f in *.tif; do echo $f; convert -filter point -resize 720x480! $f ../video/images/$f; done
for f in *.tif; do echo $f; convert $f +compress ${f%tif}ppm; done
cat images/*.ppm | ppmtoy4m -F 30000:1001 -A 10:11 -S 420mpeg2 >ream.y4m
mpeg2enc <ream.y4m --format 8 --output ream.m2v
mplex -f 8 -o ream.vob ream.m2v
dvdauthor -o DVD -x ream.xml
mkisofs -o dvd.raw -dvd-video DVD
cdrecord -scanbus  # determine device SCSI address
cdrecord-prodvd  dev=2,0,0 -pad -dao dvd.raw

with ream.xml containing

<dvdauthor>
  <vmgm />
  <titleset>
    <titles>
      <pgc>
        <vob file="ream.vob"/>
        <post>
          jump chapter 1;
        </post>
      </pgc>
    </titles>
  </titleset>
</dvdauthor>


For routine use I guess the first five commands should be combined into a single pipeline:

convert *.tif -filter point -resize 720x480! +compress ppm:- | ppmtoy4m -F 30000:1001 -A 10:11 -S 420mpeg2 | mpeg2enc --format 8 | mplex -f 8 -o ream.vob

 ;-)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.hidden-tech.net/pipermail/hidden-discuss/attachments/20060919/b353b36e/attachment-0005.html 


Google

More information about the Hidden-discuss mailing list