All pastes #525937 Raw Edit

tovid

public text v1 · immutable
#525937 ·published 2007-05-31 16:21 UTC
rendered paste body
[wildhostile@localhost Voir]$ tovid-interactive 
--------------------------------
tovid-interactive
Interactive CLI front-end to tovid
Part of the tovid suite, version 0.26
with: core magick dvd vcd transcode 
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: cool_optical_illusion.wmv
===============================================================================
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 <file>'. 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: testovid
===============================================================================
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 "cool_optical_illusion.wmv" -out 
"testovid"
===============================================================================
Starting tovid in 5 seconds...
5 4 3 2 1 Here goes!
Using config file /home/wildhostile/.tovid/tovid.config, containing the following options:
(none)
Changing to working directory: /home/wildhostile/Documents/Doc/Divers/Voir
--------------------------------
tovid 
DVD and (S)VCD video conversion script
Version 0.26
with: core magick dvd vcd transcode 
http://www.tovid.org
--------------------------------

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

Converting /home/wildhostile/Documents/Doc/Divers/Voir/cool_optical_illusion.wmv to compliant PAL DVD format
Storing log and temporary files in /home/wildhostile/Documents/Doc/Divers/Voir/tovid-temp.mM6173

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

Probing video for information. This may take several minutes...
The encoding process is estimated to require 69 MB of disk space.
You currently have 6799 MB available in this directory.
Analysis of file /home/wildhostile/Documents/Doc/Divers/Voir/cool_optical_illusion.wmv:
  320 x 240 pixels, 30.000 fps
  Duration (best guess): 00:01:39 (HH:MM:SS)
  WMV3 video with ffwmav2 audio
Target format:
  720 x 576 pixels, 25.000 fps
  m2v video with ac3 audio
  7840 kbits/sec video, 224 kbits/sec audio
Using explicitly provided aspect ratio of 4:3
No letterboxing necessary
Input is not 25.000 fps. Framerate will be adjusted.
Scaling picture to 720 x 576

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

Creating WAV of audio stream with the following command:
nice -n 0 mplayer  -quiet -vc null -vo null -ao pcm:waveheader:file=audiodump.wav "/home/wildhostile/Documents/Doc/Divers/Voir/cool_optical_illusion.wmv" -af volnorm

Processing started. Please wait...                                               
    |||  Creating wav of audio stream: 18 MB written to audiodump.wav        

Encoding WAV to ac3 format with the following command:
nice -n 0 ffmpeg -i audiodump.wav -ab 224 -ar 48000 -ac 2 -acodec ac3 -y "testovid.ac3"

Processing started. Please wait...                                               


Audio encoding finished successfully.

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

Encoding video stream with the following commands:
nice -n 0 mplayer -benchmark -nosound -noframedrop -noautosub -vo yuv4mpeg   -vf-add scale=720:576  "/home/wildhostile/Documents/Doc/Divers/Voir/cool_optical_illusion.wmv" 
cat stream.yuv |  yuvfps -r 25:1 -v 0 | nice -n 0 mpeg2enc --sequence-length 4300 --nonvideo-bitrate 304  --aspect 2 -f 8 -b 7840 -g 4 -G 9 -D 10 -K hi-res --frame-rate 3 -v 0 --video-norm p --reduction-4x4 2 --reduction-2x2 1 -q 5 -o "testovid.m2v"

Processing started. Please wait...                                               



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


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

Multiplexing audio and video together with the following command:
mplex -V -f 8 -o "/home/wildhostile/Documents/Doc/Divers/Voir/testovid.mpg" "testovid.m2v" "testovid.ac3"
Multiplexing finished successfully
du: ne peut accéder `testovid*.mpg': Aucun fichier ou répertoire de ce type
Output files:
ls: testovid.mpg: Aucun fichier ou répertoire de ce type
ls: testovid.[0-9].mpg: Aucun fichier ou répertoire de ce type
expr: erreur de syntaxe
expr: erreur de syntaxe

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

----------------------------------------
Final statistics
----------------
tovid 0.26
File: /home/wildhostile/Documents/Doc/Divers/Voir/testovid.mpg, 99 secs DVD PAL
Final size:      0 kilobytes
Target bitrate:  7840 kbits/sec
Average bitrate:  kbits/sec
Peak bitrate:     kbits/sec
Took 00:06:16 to encode on  AMD Sempron(tm) Processor 3000+ 1800.000 mhz
-----------------------------------------
Statistics written to /home/wildhostile/.tovid/stats.tovid
Cleaning up...
détruit `stream.yuv'
Removing temporary files...
détruit `testovid.m2v'
détruit `testovid.ac3'
détruit `/home/wildhostile/Documents/Doc/Divers/Voir/tovid-temp.mM6173/tovid.log'
détruit `/home/wildhostile/Documents/Doc/Divers/Voir/tovid-temp.mM6173/tovid.scratch'
détruire le répertoire: `/home/wildhostile/Documents/Doc/Divers/Voir/tovid-temp.mM6173'

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

Done!

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

Your encoded video should be in the file(s) /home/wildhostile/Documents/Doc/Divers/Voir/testovid.mpg.
Thanks for using tovid!

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

[wildhostile@localhost Voir]$ tovid-interactive 
--------------------------------
tovid-interactive
Interactive CLI front-end to tovid
Part of the tovid suite, version 0.26
with: core magick dvd vcd transcode 
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: '/home/wildhostile/Documents/Doc/Divers/Voir/giteeth1.wmv' 
Cannot find "'/home/wildhostile/Documents/Doc/Divers/Voir/giteeth1.wmv' "! Please try again.
filename: giteeth.wmv
Cannot find "giteeth.wmv"! Please try again.
filename: giteeth1.wmv
===============================================================================
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: ntsc
===============================================================================
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 <file>'. 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: giteeth1
===============================================================================
Great! I will now start tovid with the options you chose. Here is the
command that will be executed:
===============================================================================
tovid -normalize -dvd -ntsc -full  -in "giteeth1.wmv" -out "giteeth1"
===============================================================================
Starting tovid in 5 seconds...
5 4 3 2 1 Here goes!
Using config file /home/wildhostile/.tovid/tovid.config, containing the following options:
(none)
Changing to working directory: /home/wildhostile/Documents/Doc/Divers/Voir
--------------------------------
tovid 
DVD and (S)VCD video conversion script
Version 0.26
with: core magick dvd vcd transcode 
http://www.tovid.org
--------------------------------

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

Converting /home/wildhostile/Documents/Doc/Divers/Voir/giteeth1.wmv to compliant NTSC DVD format
Storing log and temporary files in /home/wildhostile/Documents/Doc/Divers/Voir/tovid-temp.rH7478

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

Probing video for information. This may take several minutes...
The encoding process is estimated to require 52 MB of disk space.
You currently have 12797 MB available in this directory.
Analysis of file /home/wildhostile/Documents/Doc/Divers/Voir/giteeth1.wmv:
  320 x 240 pixels, 30.000 fps
  Duration (best guess): 00:01:15 (HH:MM:SS)
  WMV2 video with ffwmav2 audio
Target format:
  720 x 480 pixels, 29.970 fps
  m2v video with ac3 audio
  7840 kbits/sec video, 224 kbits/sec audio
Using explicitly provided aspect ratio of 4:3
No letterboxing necessary
Input is not 29.970 fps. Framerate will be adjusted.
Scaling picture to 720 x 480

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

Creating WAV of audio stream with the following command:
nice -n 0 mplayer  -quiet -vc null -vo null -ao pcm:waveheader:file=audiodump.wav "/home/wildhostile/Documents/Doc/Divers/Voir/giteeth1.wmv" -af volnorm

Processing started. Please wait...                                               
    |||  Creating wav of audio stream: 7 MB written to audiodump.wav        

Encoding WAV to ac3 format with the following command:
nice -n 0 ffmpeg -i audiodump.wav -ab 224 -ar 48000 -ac 2 -acodec ac3 -y "giteeth1.ac3"

Processing started. Please wait...                                               


Audio encoding finished successfully.

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

Encoding video stream with the following commands:
nice -n 0 mplayer -benchmark -nosound -noframedrop -noautosub -vo yuv4mpeg   -vf-add scale=720:480  "/home/wildhostile/Documents/Doc/Divers/Voir/giteeth1.wmv" 
cat stream.yuv |  yuvfps -r 30000:1001 -v 0 | nice -n 0 mpeg2enc --sequence-length 4300 --nonvideo-bitrate 304  --aspect 2 -f 8 -b 7840 -g 4 -G 11 -D 10 -K hi-res --frame-rate 4 -v 0 --video-norm n --reduction-4x4 2 --reduction-2x2 1 -q 5 -o "giteeth1.m2v"

Processing started. Please wait...                                               



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


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

Multiplexing audio and video together with the following command:
mplex -V -f 8 -o "/home/wildhostile/Documents/Doc/Divers/Voir/giteeth1.mpg" "giteeth1.m2v" "giteeth1.ac3"
Multiplexing finished successfully
du: ne peut accéder `giteeth1*.mpg': Aucun fichier ou répertoire de ce type
Output files:
ls: giteeth1.mpg: Aucun fichier ou répertoire de ce type
ls: giteeth1.[0-9].mpg: Aucun fichier ou répertoire de ce type
expr: erreur de syntaxe
expr: erreur de syntaxe

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

----------------------------------------
Final statistics
----------------
tovid 0.26
File: /home/wildhostile/Documents/Doc/Divers/Voir/giteeth1.mpg, 75 secs DVD NTSC
Final size:      0 kilobytes
Target bitrate:  7840 kbits/sec
Average bitrate:  kbits/sec
Peak bitrate:     kbits/sec
Took 00:03:34 to encode on  AMD Sempron(tm) Processor 3000+ 1800.000 mhz
-----------------------------------------
Statistics written to /home/wildhostile/.tovid/stats.tovid
Cleaning up...
détruit `stream.yuv'
Removing temporary files...
détruit `giteeth1.m2v'
détruit `giteeth1.ac3'
détruit `/home/wildhostile/Documents/Doc/Divers/Voir/tovid-temp.rH7478/tovid.log'
détruit `/home/wildhostile/Documents/Doc/Divers/Voir/tovid-temp.rH7478/tovid.scratch'
détruire le répertoire: `/home/wildhostile/Documents/Doc/Divers/Voir/tovid-temp.rH7478'

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

Done!

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

Your encoded video should be in the file(s) /home/wildhostile/Documents/Doc/Divers/Voir/giteeth1.mpg.
Thanks for using tovid!

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

[wildhostile@localhost Voir]$