All pastes #575360 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-06-19 00:08 UTC
rendered paste body
-------------------------------
tovid
DVD and (S)VCD video conversion script
Version 0.30
http://www.tovid.org
--------------------------------
Using config file /home/apatheticagnostic/.tovid/tovid.config, containing the following options:
(none)
tovid command-line used:
-in video-5872.avi -out test
Changing to working directory: /home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0

=========================================================

Converting /home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/video-5872.avi to NTSC DVD format
Encoding quality is 6 of 10 (use -quality to change)
Saving to /home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.mpg
Storing log and temporary files in /home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.0
Run 'tail -f "/home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.0/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 19 MB of disk space.
You currently have 134111 MB available in this directory.
Analysis of file /home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/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/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/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/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.0/video.yuv" -vf scale=480:480,expand=720:480 "/home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/video-5872.avi"
cat "/home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.0/video.yuv" | yuvfps -r 30000:1001 -v 0 | nice -n 0 mpeg2enc --sequence-length 4300 --nonvideo-bitrate 285 --multi-thread 2 --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/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.0/video.m2v"

Processing started. Please wait...



Processing started. Please wait...
    ---  Encoding video stream: 1 MB written to video.m2v


=========================================================

Multiplexing audio and video together with the following command:
mplex -V -f 8 -o /home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.mpg /home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.0/video.m2v /home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.0/audio.ac3
Multiplexing finished successfully
Output files:
912K    /home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.mpg
912K    total

=========================================================

    ----------------------------------------
    Final statistics
    ----------------
    tovid 0.30
    File: /home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.mpg, 28 secs DVD NTSC
    Final size:      912 kilobytes
    Target bitrate:  5880 kbits/sec
    Average bitrate: 7580 kbits/sec
    Peak bitrate:    0 kbits/sec
    Took 00:00:22 to encode on  Intel(R) Pentium(R) 4 CPU 3.00GHz
 Intel(R) Pentium(R) 4 CPU 3.00GHz 3000.424
3000.424 mhz
    -----------------------------------------
Statistics written to /home/apatheticagnostic/.tovid/stats.tovid
Cleaning up...
removed `/home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/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/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.0/video.m2v'
removed `/home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.0/audio.ac3'
removed `/home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.0/tovid.scratch'
removed `/home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.0/tovid.log'
removed directory: `/home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.0'

=========================================================

Done!

=========================================================

Your encoded video should be in the file(s) /home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/test.mpg.
You can author a disc with this video on it by running:
    makexml /home/apatheticagnostic/working/apatheticagnostic@gmail.com1182204461.0/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!

=========================================================