I've been happily converting VHS tapes to DVD for archiving and everything
is coming out *great*.  I just have two problems:

1)  I can't predict how big the result will be so I sometimes encode too
high a bitrate for a single DVD and have to do it over.  This wouldn't be
so bad, except for

2)  The process is horrifically slow.  To encode a two-hour video takes
just about 24 hours on my Athlon XP 2100+, with very little else on the
machine.  Yikes!

So, my two questions, obviously, are (a) how can I know what's a good
bitrate to get the best quality and still fit two hours on a single DVD?
and (b) how can I speed this up without sacrificing quality?

Here is the script I am presently using.  Suggestions?

(NOTE: My source material for the moment is very clean -- original
purchased VHS tapes and home-recorded SVHS tapes.)

-------- cut to smil2dvdHQ.sh -----------
#! /bin/sh

mkfifo stream.yuv

smil2yuv -a "${1%.smil}.mp2" "$1" >stream.yuv &

cat stream.yuv | dd obs=1M | \
    yuvdenoise -f | \
    yuvscaler -v 0 -I USE_696x472+4+4 -M RATIO_1_1_1_1 -m BICUBIC -O DVD | \
    mpeg2enc -S 4500 -B 384 -q 6 -b 4900 -f 8 -4 1 -2 1 -r 16 -g 6 -G 18 \
         -P -I 1 -o  "${1%.smil}.m2v" -v 1

mplex -f 8 -o "${1%.smil}_%02d.mpeg" "${1%.smil}.mp2" "${1%.smil}.m2v"
-------- end of smil2dvdHQ.sh -----------


--
  Robert Kesterson
  [EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to