Login   Home   Add Story   Glossary   Archives   Polls   Mailing List   About  
Tips: Using cluster mode
Contributed by lemsx1 on Sunday December 14, 2003 04:43PM
from the the-easiest-way-to-do-a-cluster dept.
Have more than one computer and want to use as many CPUs as possible to encode movies faster? No problem, with V2divx you can do this in a snap. Read on... .
A few things are needed to use all computers to encode the same movies. The very basic, and simplest way of doing it, is:
  1. Have the similar operating systems (any UNIX based system will do)
  2. Make sure the computer acting as a server is sharing the movies via NFS, SMB or whatever other choice; they must have the same path.
    Say: /mnt/shared/VIDEO_TS
    Where "shared" is a directory from Server that holds the movie files
  3. Install "transcode" in all systems part of this cluster. They should be the same version (latest is 0.6.11)
  4. Create a file ~/.v2v.cluster and put the following lines:
    server:70
    workstation:30

    What this means is that "server" will do 70% of the encoding/transcoding and "workstation" will do the other 30%. You can have as many computers as you want, but, they must add to 100% (of course).
  5. Last, make sure that your user has access via ssh/rsh to all members of the "cluster"

After this, you can simply fire v2divx.pl as you usually do:

v2divx.pl /mnt/shared/VIDEO_TS 680*.


*this will use all video files from VIDEO_TS and create a .avi movie with maximun of 680mb file size
.
<< 2.2.4: NTSC buster! | Reply | 2.2.3: Shinny Bastard! >>

%README%

See http://v2divx.sourceforge.net/ for the latest and greatest news...
|================== |

What's V2divx?

It is a perl script  which does a lot of work for  you to  rip your  DVD, 
and  (re)encode your  DVD, DV (raw,Quicktime or  AVI Digital  Video from Kino
or from  your Digital Camcorder) or AVI (DVSD, DX50, DIV3,  DIVX ...) files 
into a DivX file with the fabulous TRANSCODE .

What does V2divx do ?

1) rip your DVD to vob files.
2) detect titles ( and then the main title ) of a DVD.
3) detect the DVD volume identification if you install dvdtitle.
4) detect if the  DVD title is a multi-angle video  stream (and rip only
  one).
5) detect video input format (container and codec).
6) detect if the video frames are interlaced.
7) detect all  audio channels (and  their languages) in the  input video
  files.
8) detect    the     input    format     of    all     audio    channels
  (mp3,dts,ac3,lpcm,mpeg2ext).
9) supports to encode two audio channels in avi files.
10) detect suggested volume rescale.
11) is able to add subtitles (on stream or in an srt subfile).
12) detect  the aspect ratio  and then  calculate the best  output image
  size,  Note:  this does  NOT  give  you  the  best aspect  ratio,  but
  the  best  image  quality. V2divx  use  the Bits  per  Pixel  value  :
  BpP=bitrate*1000/(fps *  height * width) V2divx  uses BpP=0.18 without
  letterboxes, BpP  is recalculated  depending on  letterboxes size. The
  smaller the  video bitrate, the smaller  will be the image  size (your
  avi  player will  resize it  to full  screen). The final  aspect ratio
  rarely  is  much  different  from the  original  aspect  ratio  (which
  pratically never respects the motion picture aspect ratio.)
13) detect  if deinterlacing is  necessary (and detect if  transcode was
  compiled with the MPlayer pp lib and/or mpeg tools)
14) detect  if the slow  Zooming transcode  option (-Z) is  necessary or
  not. 15) is able  to encode on a cluster (even  multiple sequence unit
  video streams)  16) is  able to prepend  a Logo to  the DivX  (even in
  cluster mode since  release 1.0.2) . 17) remove (if  you want) the end
  and  begin  credits  (to  reduce  space and  leave  it  to  the  movie
  itself). 18) And finally  guide you from your Video file  to your DivX
  file.

That's all Folk's ;)...

Requirements:

* Perl 5.x
* transcode
* xv (or ImageMagick)
* any video file viewer (Mplayer, Xine, playdv etc...)
* divx (MPEG-4) viewer (MPlayer or aviplay etc...)
* optionally (but recommended) dvdtitle, pgmfindclip and the
srttools (see the contrib transcode source directory).

You will find the
latest V2divx release at: http://v2divx.sourceforge.net

Bugs:
v2divx-devel@lists.sourceforge.net

Comments:
v2divx-users@lists.sourceforge.net

License:
GPL
v2v

CVS:
  • cvs -d:pserver:anonymous
    @cvs.sourceforge.net:
    /cvsroot/v2v login
    [Enter]
  • cvs -z3 -d:pserver:anonymous
    @cvs.sourceforge.net:
    /cvsroot/v2v co v2v

SourceForge Project

Mailing Lists:
v2v-devel
v2v-users
Sections

This site is powered by phpslash - Copyright © 1998 - 2003 and licensed under the GPL - No warranty is, has, or will be given in any way whatsoever to anyone.

Go 2 Top