X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=make_home_videos.pl;fp=make_home_videos.pl;h=d0a4a44e93b22e695a7de2b2b587752d9d32c7ea;hb=e1df56954cd8fbb372ee86e12b53f4313ae77eda;hp=69631756b5219137b1f669f9036f5f6c748cad6f;hpb=cb660ed1efe9806045d753d02e5c0b656919d639;p=videoscripts%2F.git diff --git a/make_home_videos.pl b/make_home_videos.pl index 6963175..d0a4a44 100755 --- a/make_home_videos.pl +++ b/make_home_videos.pl @@ -220,7 +220,7 @@ sub encode_videos { print "$mencoder $encode_options_pass2 -o ./$encoded_dir/$current_output_file -idx $current_file\n"; } if(!$opt_s) { - $tempfile = `tempfile`; chomp($tempfile); + $tempfile = `mktemp`; chomp($tempfile); system("$mencoder $encode_options_pass1 -o ./$encoded_dir/$current_output_file -idx $current_file 2>$tempfile"); system("$mencoder $encode_options_pass2 -o ./$encoded_dir/$current_output_file -idx $current_file 2>>$tempfile"); if(! -e "./$encoded_dir/$current_output_file") {