robert@phebehouse src] $ for i in 10; do sh tovid -in /home/robert/abs.mpg -out abs-mpeg2enc2-q${i} -quality $i -dvd-vcd ;done
--------------------------------
tovid
DVD and (S)VCD video conversion script
Version 0.28
with: core magick dvd vcd transcode
http://www.tovid.org
--------------------------------
tovid command-line used:
-in /home/robert/abs.mpg -out abs-mpeg2enc2-q10 -quality 10 -dvd-vcd
Using config file /home/robert/.tovid/tovid.config, containing the following options:
(none)
Changing to working directory: /home/robert/dir with spaces
=========================================================
Converting /home/robert/abs.mpg to compliant NTSC DVD-VCD format
Saving to /work/svn/tovid/src/abs-mpeg2enc2-q10.mpg
Storing log and temporary files in /home/robert/dir with spaces/abs-mpeg2enc2-q10.0
Run 'tail -f /home/robert/dir with spaces/abs-mpeg2enc2-q10.0/tovid.log' in another terminal to monitor the log
=========================================================
Probing video for information. This may take several minutes...
The encoding process is estimated to require 8 MB of disk space.
You currently have 5988 MB available in this directory.
Analysis of file /home/robert/abs.mpg:
1280 x 720 pixels, 59.940 fps
Duration (best guess): 00:00:20 (HH:MM:SS)
MPEG2 video with mp2 audio
=========================================================
Audio stream is already compliant with NTSC DVD-VCD.
No re-encoding is necessary. To force encoding, use -force
=========================================================
Target format:
352 x 240 pixels, 29.970 fps
m2v video with ac3 audio
8000 kbits/sec video, 224 kbits/sec audio
Using auto-detected aspect ratio of 177:100 (override with -aspect)
Letterboxing vertically
Input is not 29.970 fps. Framerate will be adjusted.
Scaling picture to 352 x 192
Centering picture against a 352 x 240 black background
=========================================================
Found compliant audio and dumping the stream.
This sometimes causes errors when multiplexing; add '-force' to the tovid
command line to re-encode if multiplexing fails.
Copying the existing audio stream with the following command:
Processing started. Please wait...
--- Copying compliant audio stream: 2 MB written to audio.ac3
=========================================================
Encoding video stream with the following commands:
nice -n 0 mplayer -noconsolecontrols -benchmark -nosound -noframedrop -noautosub -vo yuv4mpeg:file="/home/robert/dir with spaces/abs-mpeg2enc2-q10.0/video.yuv" -vf scale=352:192,expand=352:240 "/home/robert/abs.mpg"
cat "/home/robert/dir with spaces/abs-mpeg2enc2-q10.0/video.yuv" | yuvfps -r 30000:1001 -v 0 | nice -n 0 mpeg2enc --sequence-length 4300 --nonvideo-bitrate 306 --aspect 2 -f 8 -b 8000 -g 4 -G 11 -K hi-res --frame-rate 4 -v 0 --video-norm n --reduction-4x4 2 --reduction-2x2 1 -q 3 -o "/home/robert/dir with spaces/abs-mpeg2enc2-q10.0/video.m2v"