You're viewing a comment by Vangran and its responses.

Vangran Permalink
January 10, 2010, 14:39

/dev/null what is this in Win32?

or how do we translate this line of code in Win32?

open(CONVERT, "| ffmpeg -i - -y -acodec copy "$outdir/$name.mp3" 2>/dev/null")
or die "Can't fork ffmpeg: $!";

Also I noticed some minor modifications like in line 8 from chdir $outdir or die "Chdir "$outdir": $!"; to chdir $outdir or die "Chdir ".$outdir.": $!"; Basically the String concatination wont work without the dot (.) on both sides of $outdir.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type first 3 letters of your name: (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.