| 1 | #!/usr/bin/perl -w | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use FFMPEG::Effects; | ||
| 5 | |||
| 6 | my $videofile = "~/Your-Video.mpg"; | ||
| 7 | |||
| 8 | my $effect = FFMPEG::Effects->new('debug=0'); | ||
| 9 | |||
| 10 | |||
| 11 | $effect->FadeIn( | ||
| 12 | "videofile=$videofile", | ||
| 13 | "size=720x480", | ||
| 14 | "color=black", | ||
| 15 | "opacity=100", | ||
| 16 | "fadeinframes=50", | ||
| 17 | "holdframes=10", | ||
| 18 | ); | ||
| 19 | |||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 |