- Timestamp:
- 2012-10-02T05:41:18+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/audioDB/trunk/src/perllib/plugins/FFTExtractor.pm
r24399 r26275 94 94 } 95 95 96 my $native_source_file_path = $source_file_path; 97 98 my $native_target_file_path = $target_file_path; 99 if ($^O eq "cygwin") { 100 # Only get ffmpeg as native Windows binary => need to use Windows style path 101 $native_source_file_path=`cygpath -w \"$source_file_path\"`; 102 $native_target_file_path=`cygpath -w \"$target_file_path\"`; 103 $native_source_file_path =~ s/\s+$//; 104 $native_target_file_path =~ s/\s+$//; 105 } 106 96 107 # Setup and run the ffmpeg command 97 108 my $ffmpeg_cmd = "ffmpeg -y $convert_options"; 98 $ffmpeg_cmd .= " -i \"$ source_file_path\"";99 $ffmpeg_cmd .= " \"$ target_file_path\"";109 $ffmpeg_cmd .= " -i \"$native_source_file_path\""; 110 $ffmpeg_cmd .= " \"$native_target_file_path\""; 100 111 101 112 ## print STDERR "****** cmd = $ffmpeg_cmd\n"; … … 161 172 $fftExtract_cmd .= " \"$source_file_path\" \"$target_file_path\""; 162 173 174 ## $fftExtract_cmd =~ s/\\/\//g; 175 163 176 ## print STDERR "**** cmd = $fftExtract_cmd\n"; 164 177
Note:
See TracChangeset
for help on using the changeset viewer.