Help for this page

Select Code to Download


  1. or download this
    my $frametotal,$fwide,$fhigh;
    
  2. or download this
    my ( $frametotal, $fwide, $fhigh );
    
  3. or download this
        @vcmd=(@vcmd,"-vf","scale=min(1280\\,iw):-1");
    
  4. or download this
        push @vcmd, "-vf", "scale=min(1280\\,iw):-1";
    
  5. or download this
        if($a eq "progress") {
            my $pcent=$prog{"frame"}/$frametotal*100;
    ...
            $bar .=sprintf("%.2f",$pcent)."% fps=".$prog{"fps"};
            print "\r$bar";
        }
    
  6. or download this
        next if $x ne 'progress';
        my $pcent = $prog{ frame } / $frametotal * 100;
        printf '%s[%-50s ] %.2f%% fps=%s', "\r", '#' x int( $pcent / 2 ), 
    +$pcent, $prog{ fps };