summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJarle Bjørgeengen <jarle@bjorgeengen.net>2010-09-30 09:22:03 +0000
committerJarle Bjørgeengen <jarle@bjorgeengen.net>2010-09-30 09:22:03 +0000
commitb5fb79f8a2f8e37e9d3c529befd46757a89b135e (patch)
tree2a2f177c4d1566409db5a446e65d36cc55b99dac /tools
parent200474d8963e25250bc6abfec5dc18006bd210b4 (diff)
Reverted sshfs workaround
Diffstat (limited to 'tools')
-rwxr-xr-xtools/gen_frikanalen_video.pl11
1 files changed, 1 insertions, 10 deletions
diff --git a/tools/gen_frikanalen_video.pl b/tools/gen_frikanalen_video.pl
index 35652c7..72e0eea 100755
--- a/tools/gen_frikanalen_video.pl
+++ b/tools/gen_frikanalen_video.pl
@@ -269,16 +269,7 @@ sub normalize_sound {
$f = "$normalize_cmd -a $soundlevel_dbfs $workdir/sound.wav";
if ( !runcmd($f) ) { die "Failed to execute system command in" . (caller(0))[3] ."\n"; }
$f = "ffmpeg -i $workdir/sound.wav -ac 2 -acodec copy -i $dvfile -vcodec copy -map 1:0 -map 0.0 -f dv -y $new_dvfile";
- if ( !runcmd($f) ) {
- if ( -f "$workdir/_normAAAAAA" ) {
- print "$normalize_cmd was not able to move $workdir/_normAAAAAA to $workdir/sound.wav.\n";
- print "Forcing by deleting $workdir/sound.wav first.\n";
- if ( !runcmd("rm $workdir/sound.wav") ) { die "Failed to execute system command in" . (caller(0))[3] ."\n"; }
- if ( !runcmd("mv $workdir/_normAAAAAA $workdir/sound.wav") ) { die "Failed to execute system command in" . (caller(0))[3] ."\n"; }
- } else {
- die "Failed to execute system command in" . (caller(0))[3] ."\n";
- }
- }
+ if ( !runcmd($f) ) { die "Failed to execute system command in" . (caller(0))[3] ."\n"; }
return $new_dvfile;
}