winlin

for #367, design the config for exec.

@@ -935,7 +935,7 @@ vhost exec.srs.com { @@ -935,7 +935,7 @@ vhost exec.srs.com {
935 # other variables for exec only: 935 # other variables for exec only:
936 # [url] the rtmp url which trigger the publish. 936 # [url] the rtmp url which trigger the publish.
937 # @remark empty to ignore this exec. 937 # @remark empty to ignore this exec.
938 - publish ./objs/ffmpeg/bin/ffmpeg -f flv -i [url] -vcodec copy -acodec copy -f flv ./[stream].flv; 938 + publish ./objs/ffmpeg/bin/ffmpeg -f flv -i [url] -c copy -y ./[stream].flv;
939 } 939 }
940 } 940 }
941 941