Index: mythweb/modules/stream/handler.pl
===================================================================
--- mythweb/modules/stream/handler.pl	(revision 14538)
+++ mythweb/modules/stream/handler.pl	(working copy)
@@ -141,7 +141,7 @@
     }
     elsif ($ENV{'REQUEST_URI'} =~ /\.flv$/i) {
     # Print the movie
-        $ffmpeg_pid = open(DATA, "$ffmpeg -y -i $filename -s 320x240 -r 24 -f flv -ac 2 -ar 11025 -ab 64k -b 256k /dev/stdout 2>/dev/null |");
+        $ffmpeg_pid = open(DATA, "|-", $ffmpeg, "-y", "-i", $filename, "-s", "320x240", "-r", "24", "-f", "flv", "-ac", "2", "-ar", "11025", "-ab", "64k", "-b", "256k", "/dev/stdout");
         unless ($ffmpeg_pid) {
             print header(),
                   "Can't do ffmpeg:  $!";
