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 |
| 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 | |||
| ) |
| use strict |
Definition at line 23 of file mythencode.pl.
| my $argc = @ARGV |
Definition at line 37 of file mythencode.pl.
| unlink divx2pass log |
Definition at line 93 of file mythencode.pl.
Referenced by _getClosest2Power(), av_d2q(), bit_allocation(), calc_coefs(), calculate_visual_weight(), get_level_prefix(), get_se_golomb(), get_ue_golomb(), get_ur_golomb(), get_ur_golomb_jpegls(), imc_decode_init(), imc_decode_level_coefficients(), modify_qscale(), parse_primary(), Gears::process(), Spectrum::process(), qscale2qlog(), Gears::resize(), Spectrum::resize(), LogScale::setMax(), Synaesthesia::setStarSize(), svq3_get_se_golomb(), xvid_ff_2pass_after(), and xvid_ff_2pass_create().
| 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.
1.5.5