Revision 35

Date:
2007/10/01 20:48:54
Author:
dpavlin
Revision Log:
tweak generator
Files:

Legend:

 
Added
 
Removed
 
Modified
  • frames.pl

     
    16 16 my $repeat = 1;
    17 17 my $vary_jpeg_q = 0;
    18 18 $repeat = 16;
    19 my $audio = '-i /tmp/test-pcm.wav';
    19 my $audio = '-i adpcm.wav -acodec adpcm_ms -ar 22050';
    20 20
    21 21 GetOptions(
    22 22 "jpeg-q=i" => \$jpeg_q,
     
    86 86 }
    87 87 }
    88 88
    89 my $cmd = "ffmpeg -i $tmp/%03d.jpg $audio -r 16 -vcodec mjpeg -acodec adpcm_ms -ar 22050 -y $out";
    89 my $cmd = "ffmpeg -i $tmp/%03d.jpg -r 16 -vcodec mjpeg $audio -y $out";
    90 90 warn "## $cmd\n";
    91 91 system($cmd) == 0 or die "encoding failed: $?";
    92 92