--------------------------------
tovid
DVD and (S)VCD video conversion script
Version 0.30
http://www.tovid.org
--------------------------------
Using config file /home/jdodds/.tovid/tovid.config, containing the following options:
(none)
tovid command-line used:
-in video-5872.avi -out test
Changing to working directory: /home/jdodds/workspace/isocreator
=========================================================
Converting /home/jdodds/workspace/isocreator/video-5872.avi to NTSC DVD format
Encoding quality is 6 of 10 (use -quality to change)
Saving to /home/jdodds/workspace/isocreator/test.mpg
Storing log and temporary files in /home/jdodds/workspace/isocreator/test.0
Run 'tail -f "/home/jdodds/workspace/isocreator/test.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 19 MB of disk space.
You currently have 15199 MB available in this directory.
Analysis of file /home/jdodds/workspace/isocreator/video-5872.avi:
598 x 653 pixels, 200.000 fps
Duration (best guess): 00:00:28 (HH:MM:SS)
cvid video with Unknown audio
Target format:
720 x 480 pixels, 29.970 fps
m2v video with ac3 audio
5880 kbits/sec video, 224 kbits/sec audio
Using auto-detected aspect ratio 91:100 (override with -aspect)
Letterboxing horizontally
Input is not 29.970 fps. Framerate will be adjusted.
Scaling picture to 480 x 480
Centering picture against a 720 x 480 black background
=========================================================
Generating a silent audio stream with the following command:
nice -n 0 ffmpeg -f s16le -i /dev/zero -t 28 -vn -ab 224k -ar 48000 -ac 2 -acodec ac3 -y /home/jdodds/workspace/isocreator/test.0/audio.ac3
Processing started. Please wait...
--- Encoding audio to ac3: 1 MB written to audio.ac3
Audio encoding finished successfully.
=========================================================
Encoding video stream with the following commands:
nice -n 0 mplayer -noconsolecontrols -benchmark -nosound -noframedrop -noautosub -vo yuv4mpeg:file="/home/jdodds/workspace/isocreator/test.0/video.yuv" -vf scale=480:480,expand=720:480 "/home/jdodds/workspace/isocreator/video-5872.avi"
cat "/home/jdodds/workspace/isocreator/test.0/video.yuv" | yuvfps -r 30000:1001 -v 0 | nice -n 0 mpeg2enc --sequence-length 4300 --nonvideo-bitrate 285 --aspect 2 -f 8 -b 5880 -g 4 -G 11 -D 10 -K hi-res --frame-rate 4 -v 0 --video-norm n --reduction-4x4 2 --reduction-2x2 1 -q 7 -o "/home/jdodds/workspace/isocreator/test.0/video.m2v"
Processing started. Please wait...
Processing started. Please wait...
--- Encoding video stream: 5 MB written to video.m2v
=========================================================
Multiplexing audio and video together with the following command:
mplex -V -f 8 -o /home/jdodds/workspace/isocreator/test.mpg /home/jdodds/workspace/isocreator/test.0/video.m2v /home/jdodds/workspace/isocreator/test.0/audio.ac3
Multiplexing finished successfully
Output files:
5.8M /home/jdodds/workspace/isocreator/test.mpg
5.8M total
=========================================================
----------------------------------------
Final statistics
----------------
tovid 0.30
File: /home/jdodds/workspace/isocreator/test.mpg, 28 secs DVD NTSC
Final size: 5904 kilobytes
Target bitrate: 5880 kbits/sec
Average bitrate: 1379 kbits/sec
Peak bitrate: 2325 kbits/sec
Took 00:01:58 to encode on Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz 1200.000 mhz
-----------------------------------------
Statistics written to /home/jdodds/.tovid/stats.tovid
Cleaning up...
removed `/home/jdodds/workspace/isocreator/test.0/video.yuv'
=========================================================
Do you want to keep the temporary files that were created ?
Please type "yes", or else they will be deleted
Removing temporary files...
removed `/home/jdodds/workspace/isocreator/test.0/tovid.scratch'
removed `/home/jdodds/workspace/isocreator/test.0/audio.ac3'
removed `/home/jdodds/workspace/isocreator/test.0/video.m2v'
removed `/home/jdodds/workspace/isocreator/test.0/tovid.log'
removed directory: `/home/jdodds/workspace/isocreator/test.0'
=========================================================
Done!
=========================================================
Your encoded video should be in the file(s) /home/jdodds/workspace/isocreator/test.mpg.
You can author a disc with this video on it by running:
makexml /home/jdodds/workspace/isocreator/test.mpg -out MyDisc
makedvd MyDisc.xml
You can also use todisc or makemenu to create menus for your disc.
See the manual pages (i.e. 'man todisc') for more information.
Thanks for using tovid!
=========================================================