mythencode.pl File Reference

Go to the source code of this file.

Functions

 if ($argc==0)
 my ($hours, $nice, $cdsize, $ratio, $passes, $test, $getname, $namehost)
 my ($scale, $auto, $fps, $debug)
 GetOptions ('hours=f'=>\$hours, 'nice:i'=>\$nice, 'cdsize=f'=>\$cdsize, 'ratio=f'=>\$ratio, '1+'=>\$passes, 'test+'=>\$test, 'getname+'=>\$getname, 'namehost=s'=>\$namehost, 'scale=s'=>\$scale, 'autoscale+'=>\$auto, 'fps=s'=>\$fps, 'debug'=>\$debug,)
 if (!$cdsize)
 my ($show, $path, $suffix)

Variables

use strict
use constant mythname = > '/usr/local/bin/mythname.pl -s -rep=. '
use constant mencoder = > '/usr/local/bin/mencoder'
my $argc = @ARGV
unlink divx2pass log
my $max_bits = $cdsize*2.285
my $total_br = ($max_bits/$hours)
my $vid_br = int($total_br*$ratio)
my $aud_br = int($total_br-$vid_br)
my $outname = $show
my $nicestr
my $pps = ($res[0]*$res[1])*$fps
my $bps = ($vid_br*1024)
my $bpp = $bps/$pps


Function Documentation

if ( argc = = 0  ) 

Definition at line 38 of file mythencode.pl.

my ( hours,
nice,
cdsize,
ratio,
passes,
test,
getname,
namehost 
)

my ( scale,
auto,
fps,
debug 
)

GetOptions ( hours = f'=,
\$  hours,
'nice:i'  ,
\$  nice,
cdsize = f'=,
\$  cdsize,
ratio = f'=,
\$  ratio,
'1+'  ,
\$  passes,
'test+'  ,
\$  test,
'getname+'  ,
\$  getname,
namehost = s'=,
\$  namehost,
scale = s'=,
\$  scale,
'autoscale+'  ,
\$  auto,
fps = s'=,
\$  fps,
'debug'  ,
\$  debug 
)

if ( !$  cdsize  ) 

Definition at line 83 of file mythencode.pl.

my ( show,
path,
suffix 
)


Variable Documentation

use strict

Definition at line 23 of file mythencode.pl.

use constant mythname = > '/usr/local/bin/mythname.pl -s -rep=. '

Definition at line 31 of file mythencode.pl.

Referenced by if().

use constant mencoder = > '/usr/local/bin/mencoder'

Definition at line 32 of file mythencode.pl.

Referenced by if().

my $argc = @ARGV

Definition at line 37 of file mythencode.pl.

unlink divx2pass log

my $max_bits = $cdsize*2.285

Definition at line 105 of file mythencode.pl.

my $total_br = ($max_bits/$hours)

Definition at line 106 of file mythencode.pl.

my $vid_br = int($total_br*$ratio)

Definition at line 107 of file mythencode.pl.

my $aud_br = int($total_br-$vid_br)

Definition at line 108 of file mythencode.pl.

my $outname = $show

Definition at line 128 of file mythencode.pl.

my $nicestr

Definition at line 152 of file mythencode.pl.

my $pps = ($res[0]*$res[1])*$fps

Definition at line 182 of file mythencode.pl.

my $bps = ($vid_br*1024)

Definition at line 183 of file mythencode.pl.

my $bpp = $bps/$pps

Definition at line 184 of file mythencode.pl.


Generated on Sat Dec 18 05:15:54 2010 for MythTV by  doxygen 1.5.5