tovid
DVD and (S)VCD video conversion script
Version 0.28
with: core magick dvd vcd transcode plugins
http://www.tovid.org
--------------------------------
tovid command-line used:
-fake -debug -svcd -in HeyJupiter.avi -out HeyJupiter
Using config file /home/soma/.tovid/tovid.config, containing the following options:
-vcd -ntsc
Changing to working directory: /home/soma/Desktop/temp
=========================================================
Converting /home/soma/stuff/MUSIC/Music Vids/HeyJupiter.avi to compliant NTSC VCD format
Saving to /home/soma/Desktop/temp/HeyJupiter.mpg
Storing log and temporary files in /home/soma/Desktop/temp/HeyJupiter.Am6425
Run 'tail -f /home/soma/Desktop/temp/HeyJupiter.Am6425/tovid.log' in another terminal to monitor the log
Multiple CPUs detected; mpeg2enc will use multithreading.
=========================================================
Probing video for information. This may take several minutes...
The encoding process is estimated to require 84 MB of disk space.
You currently have 22185 MB available in this directory.
Analysis of file /home/soma/stuff/MUSIC/Music Vids/HeyJupiter.avi:
640 x 480 pixels, 25.000 fps
Duration (best guess): 00:04:05 (HH:MM:SS)
DX50 video with mp3 audio
Target format:
352 x 240 pixels, 29.970 fps
m1v video with mp2 audio
1150 kbits/sec video, 224 kbits/sec audio
Using auto-detected aspect ratio of 133:100 (override with -aspect)
No letterboxing necessary
Input is not 29.970 fps. Framerate will be adjusted.
Scaling picture to 352 x 240
=========================================================
Encoding audio stream to mp2 with the following command:
nice -n 0 ffmpeg -i "/home/soma/stuff/MUSIC/Music Vids/HeyJupiter.avi" -vn -ab 224 -ar 44100 -ac 2 -acodec mp2 -y "/home/soma/Desktop/temp/HeyJupiter.Am6425/audio.ac3"
=========================================================
[Fake mode is on; command would be executed here]
=========================================================
=========================================================
Encoding video stream with the following commands:
nice -n 0 mplayer -benchmark -nosound -noframedrop -noautosub -vo yuv4mpeg:file="/home/soma/Desktop/temp/HeyJupiter.Am6425/video.yuv" -vf-add scale=352:240 "/home/soma/stuff/MUSIC/Music Vids/HeyJupiter.avi"
cat "/home/soma/Desktop/temp/HeyJupiter.Am6425/video.yuv" | yuvfps -r 30000:1001 -v 1 | nice -n 0 mpeg2enc --sequence-length 700 --nonvideo-bitrate 237 --multi-thread 2 --aspect 2 -f 1 -K hi-res --frame-rate 4 -v 1 --video-norm n --reduction-4x4 2 --reduction-2x2 1 -o "/home/soma/Desktop/temp/HeyJupiter.Am6425/video.m2v"
=========================================================
[Fake mode is on; command would be executed here]
=========================================================
=========================================================
[Fake mode is on; command would be executed here]
=========================================================
=========================================================
du: cannot access `/home/soma/Desktop/temp/HeyJupiter.Am6425/audio.ac3': No such file or directory
du: cannot access `/home/soma/Desktop/temp/HeyJupiter.Am6425/video.m2v': No such file or directory
Multiplexing audio and video together with the following command:
mplex -f 1 -o "/home/soma/Desktop/temp/HeyJupiter.mpg" "/home/soma/Desktop/temp/HeyJupiter.Am6425/video.m2v" "/home/soma/Desktop/temp/HeyJupiter.Am6425/audio.ac3"
=========================================================
[Fake mode is on; command would be executed here]
=========================================================
Multiplexing finished successfully
du: cannot access `/home/soma/Desktop/temp/HeyJupiter*.mpg': No such file or directory
expr: syntax error
expr: syntax error
=========================================================
----------------------------------------
Final statistics
----------------
tovid 0.28
File: /home/soma/Desktop/temp/HeyJupiter.mpg, 245 secs VCD NTSC
Final size: 0 kilobytes
Target bitrate: 1150 kbits/sec
Average bitrate: kbits/sec
Peak bitrate: kbits/sec
Took 00:00:05 to encode on AMD Athlon(tm) processor 1163.990 mhz
-----------------------------------------
EOF
Statistics written to /home/soma/.tovid/stats.tovid
Cleaning up...
removed `/home/soma/Desktop/temp/HeyJupiter.Am6425/video.yuv'
Removing temporary files...
Keeping temporary files in directory /home/soma/Desktop/temp/HeyJupiter.Am6425
=========================================================
Done!
=========================================================
Your encoded video should be in the file(s) /home/soma/Desktop/temp/HeyJupiter.mpg.
Thanks for using tovid!
=========================================================