[wildhostile@localhost animation]$ tovid-interactive -------------------------------- tovid-interactive Interactive CLI front-end to tovid Part of the tovid suite, version 0.30 http://www.tovid.org -------------------------------- Welcome to the tovid-interactive script. This script is an interactive front-end for the tovid video conversion script. I will ask you several questions about the video you want to encode, and then run the tovid script with the options you choose. =============================================================================== Step 1 of 7: What video file do you want to encode? Please use the full path name if the file is not in the current directory. Hint: if you don't know the full name of the file, you can press [control]-C now, and run tovid-interactive followed by the name of the file. filename: 00004.avi =============================================================================== Step 2 of 7: You can encode this video to one of the following formats: For burning onto DVD: dvd DVD format 720x480 NTSC, 720x576 PAL half-dvd Half-DVD format 352x480 NTSC, 352x576 PAL dvd-vcd VCD-on-DVD format 352x240 NTSC, 352x288 PAL For burning onto CD: vcd Video CD format 352x240 NTSC, 352x288 PAL svcd Super Video CD format 480x480 NTSC, 480x576 PAL Please enter one of the formats listed (dvd, half-dvd, dvd-vcd, vcd, svcd). format: dvd =============================================================================== Step 3 of 7: Do you want the video to be NTSC or PAL? If you live in the Americas or Japan, you probably want NTSC; if you live in Europe, Australia, or New Zealand, you probably want PAL. Please use lowercase (ntsc, pal). ntsc or pal: pal =============================================================================== Step 4 of 7: You can encode to three different screen formats: full If your video is full-screen (4:3 aspect ratio) wide If your video is wide-screen (16:9 aspect ratio) panavision If your video is theatrical wide-screen (2.35:1 aspect ratio) If you choose wide or panavision, the video will be 'letterboxed' to fit a standard TV screen. Most TV programs are 'full'; many movies are 'wide', and some movies are 'panavision' (if they look very wide and skinny). Please enter one of the screen formats listed (full, wide, panavision). screen format: full =============================================================================== Step 5 of 7: In some videos, the volume may be too quiet or too loud. You can fix this by normalizing the audio. normalize audio (default yes) [y/n]? =============================================================================== Step 6 of 7: Would you like to pass other options to tovid? (see man tovid for more) Add any other options you want as if you were calling tovid. For example, if you wanted to add subtitles, you would type '-subtitles '. Type [enter] for no custom options. custom tovid options: =============================================================================== Step 7 of 7: You are almost ready to encode your video. All I need now is the name you want to use for the output file. You don't need to give a filename extension (like .mpg); just type a name like 'MyVideo1'. output name: aswad =============================================================================== Great! I will now start tovid with the options you chose. Here is the command that will be executed: =============================================================================== tovid -normalize -dvd -pal -full -in "00004.avi" -out "aswad" =============================================================================== Starting tovid in 5 seconds... 5 4 3 2 1 Here goes! -------------------------------- tovid DVD and (S)VCD video conversion script Version 0.30 http://www.tovid.org -------------------------------- Using config file /home/wildhostile/.tovid/tovid.config, containing the following options: (none) tovid command-line used: -normalize -dvd -pal -full -in 00004.avi -out aswad Changing to working directory: /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation ========================================================= Converting /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/00004.avi to PAL DVD format Encoding quality is 6 of 10 (use -quality to change) Saving to /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.mpg Storing log and temporary files in /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0 Run 'tail -f "/home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.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 12496 MB available in this directory. Analysis of file /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/00004.avi: 160 x 120 pixels, 15.000 fps Duration (best guess): 00:00:28 (HH:MM:SS) MJPG video with pcm audio Target format: 720 x 576 pixels, 25.000 fps m2v video with ac3 audio 5880 kbits/sec video, 224 kbits/sec audio Using explicitly provided aspect ratio 4:3 Overriding auto-detected aspect ratio 133:100 No letterboxing necessary Input is not 25.000 fps. Framerate will be adjusted. Scaling picture to 720 x 576 ========================================================= Normalizing the audio stream. Creating WAV of the audio stream with the following command: nice -n 0 ffmpeg -i /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/00004.avi -ar 48000 -ac 2 -acodec pcm_s16le -y /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/audio.wav Processing started. Please wait... --- Creating wav of the audio stream: 6 MB written to audio.wav Je calcule des niveaux... audio.wav 100% effectué, ETA 00:00:00 (batch 100%, ETA 00:00:00) J'applique un réglage de 8,80dB à /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/audio.wav audio.wav 100% effectué, ETA 00:00:00 (batch 100%, ETA 00:00:00) ========================================================= Encoding audio stream to ac3 with the following command: nice -n 0 ffmpeg -i /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/audio.wav -vn -ab 224 -ar 48000 -ac 2 -acodec ac3 -y /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/audio.ac3 Processing started. Please wait... Audio encoding finished successfully. ========================================================= Encoding video stream with the following commands: nice -n 0 mplayer -noconsolecontrols -benchmark -nosound -noframedrop -noautosub -vo yuv4mpeg:file="/home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/video.yuv" -vf scale=720:576 "/home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/00004.avi" cat "/home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/video.yuv" | yuvfps -r 25:1 -v 0 | nice -n 0 mpeg2enc --sequence-length 4300 --nonvideo-bitrate 285 --aspect 2 -f 8 -b 5880 -g 4 -G 9 -D 10 -K hi-res --frame-rate 3 -v 0 --video-norm p --reduction-4x4 2 --reduction-2x2 1 -q 7 -o "/home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/video.m2v" Processing started. Please wait... Processing started. Please wait... ||| Encoding video stream: 8 MB written to video.m2v ========================================================= Multiplexing audio and video together with the following command: mplex -V -f 8 -o /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.mpg /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/video.m2v /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/audio.ac3 Multiplexing finished successfully du: ne peut accéder `/home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad*.mpg': Aucun fichier ou répertoire de ce type Output files: 0 total ========================================================= ---------------------------------------- Final statistics ---------------- tovid 0.30 File: /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.mpg, 28 secs DVD PAL Final size: 0 kilobytes Target bitrate: 5880 kbits/sec Average bitrate: kbits/sec Peak bitrate: kbits/sec Took 00:01:03 to encode on AMD Sempron(tm) Processor 3000+ 1000.000 mhz ----------------------------------------- Statistics written to /home/wildhostile/.tovid/stats.tovid Cleaning up... détruit `/home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/video.yuv' ========================================================= Do you want to keep the temporary files that were created ? Please type "yes", or else they will be deleted y Removing temporary files... détruit `/home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/tovid.log' détruit `/home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/tovid.scratch' détruit `/home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/audio.wav' détruit `/home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/audio.ac3' détruit `/home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0/video.m2v' détruire le répertoire: `/home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.0' ========================================================= Done! ========================================================= Your encoded video should be in the file(s) /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.mpg. You can author a disc with this video on it by running: makexml /home/wildhostile/Documents/Doc/Deployment/Cinelerraproject/cinelerratest/films/animation/aswad.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! =============================