All pastes #205784 Raw Edit

Mine

public text v1 · immutable
#205784 ·published 2006-10-17 01:36 UTC
rendered paste body
freakshow@slackware:~$ idvid -fast cho.avi
--------------------------------
idvid
Video identification script
Part of the tovid suite, version svn-r1004
with: core magick dvd vcd transcode plugins
http://www.tovid.org
--------------------------------
Gathering video information. This may take several minutes,
so please be patient...
=========================================================
               File: cho.avi
              Width: 704 pixels
             Height: 396 pixels
       Aspect ratio: 1.77:1
             Frames: 4079
           Duration: 00:02:50 hours/mins/secs
          Framerate: 23.976 frames per second
       Video format: XVID
       Audio format: mp3
      Video bitrate: 1399720 bits per second
      Audio bitrate: 192000 bits per second
     Audio channels: 2 channels
Audio sampling rate: 48000 Hz
=========================================================
Audio is compliant with the following formats:
  Not compliant with (S)VCD or DVD
Video is compliant with the following formats:
  Not compliant with (S)VCD or DVD
This video does not seem to be compliant with (S)VCD or DVD
standards. If you burn it to a video disc, it may not work.
=========================================================






freakshow@slackware:~$ idvid file1.mpg
--------------------------------
idvid
Video identification script
Part of the tovid suite, version svn-r1004
with: core magick dvd vcd transcode plugins
http://www.tovid.org
--------------------------------
Gathering video information. This may take several minutes,
so please be patient...
=========================================================
               File: file1.mpg
              Width: 352 pixels
             Height: 288 pixels
       Aspect ratio: 1.22:1
             Frames: 0
           Duration: 00:02:50 hours/mins/secs
          Framerate: 25.000 frames per second
       Video format: MPEG1
       Audio format: mp2
      Video bitrate: 1152000 bits per second
      Audio bitrate: 224000 bits per second
     Audio channels: 2 channels
Audio sampling rate: 44100 Hz
=========================================================
Audio is compliant with the following formats:
  VCD 1.1
  VCD 2.0
  2-channel 224000 bps SVCD
Video is compliant with the following formats:
  25.000 fps PAL VCD 2.0
  25.000 fps MPEG1 PAL DVD-VCD
You can burn this video to PAL VCD
=========================================================







freakshow@slackware:~$ tovid -parallel -overwrite -pal -vcd -in cho.avi -out file1
--------------------------------
tovid
DVD and (S)VCD video conversion script
Version svn-r1004
with: core magick dvd vcd transcode plugins
http://www.tovid.org
--------------------------------
tovid command-line used:
-parallel -overwrite -pal -vcd -in cho.avi -out file1
Using config file /home/freakshow/.tovid/tovid.config, containing the following options:
(none)
Changing to working directory: /home/freakshow

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

Converting /home/freakshow/cho.avi to compliant PAL VCD format
Saving to /home/freakshow/file1.mpg
Storing log and temporary files in /home/freakshow/file1.0

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

Probing video for information. This may take several minutes...
The encoding process is estimated to require 58 MB of disk space.
You currently have 161 MB available in this directory.
Analysis of file /home/freakshow/cho.avi:
  704 x 396 pixels, 23.976 fps
  Duration (best guess): 00:02:50 (HH:MM:SS)
  XVID video with mp3 audio
Target format:
  352 x 288 pixels, 25.000 fps
  m1v video with mp2 audio
  1150 kbits/sec video, 224 kbits/sec audio
Using auto-detected aspect ratio of 177:100 (override with -aspect)
Letterboxing vertically
Input is not 25.000 fps. Framerate will be adjusted.
Scaling picture to 352 x 224
Centering picture against a 352 x 288 black background

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

Encoding audio stream to mp2 with the following command:
nice -n 0 ffmpeg -i "/home/freakshow/cho.avi" -vn -ab 224 -ar 44100 -ac 2 -acodec mp2 -y "/home/freakshow/file1.0/audio.ac3"

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

Encoding video stream with the following commands:
nice -n 0 mplayer -benchmark -nosound -noframedrop -noautosub -vo yuv4mpeg:file="/home/freakshow/file1.0/video.yuv" -vf scale=352:224,expand=352:288 "/home/freakshow/cho.avi"
cat "/home/freakshow/file1.0/video.yuv" | yuvfps -r 25:1 -v 0 | nice -n 0 mpeg2enc --sequence-length 700 --nonvideo-bitrate 237 --aspect 2 -f 1 -K hi-res --frame-rate 3 -v 0 --video-norm p --reduction-4x4 2 --reduction-2x2 1 -o "/home/freakshow/file1.0/video.m2v"

Processing started. Please wait...



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

Multiplexing audio and video together with the following command:
mplex -f 1 -o "/home/freakshow/file1.mpg" "/home/freakshow/file1.0/video.m2v" "/home/freakshow/file1.0/audio.ac3"

Processing started. Please wait...
    ---  Encoding and multiplexing in parallel: 29 MB written to file1.mpg

Multiplexing finished successfully
Output files:
/home/freakshow/file1.mpg
    /home/freakshow/file1.mpg (29M)

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

    ----------------------------------------
    Final statistics
    ----------------
    tovid svn-r1004
    File: /home/freakshow/file1.mpg, 170 secs VCD PAL
    Final size:      29016 kilobytes
    Target bitrate:  1150 kbits/sec
    Average bitrate: 1141 kbits/sec
    Peak bitrate:    1359 kbits/sec
    Took 00:01:43 to encode on  AMD Athlon(TM) XP 3000+ 2166.528 mhz
    -----------------------------------------
Statistics written to /home/freakshow/.tovid/stats.tovid
Cleaning up...
removed `/home/freakshow/file1.0/video.yuv'
Removing temporary files...
removed `/home/freakshow/file1.0/video.m2v'
removed `/home/freakshow/file1.0/tovid.log'
removed `/home/freakshow/file1.0/tovid.scratch'
removed `/home/freakshow/file1.0/audio.ac3'
removed directory: `/home/freakshow/file1.0'

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

Done!

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

Your encoded video should be in the file(s) /home/freakshow/file1.mpg.
Thanks for using tovid!

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