diff options
-rwxr-xr-x | voctocore/scripts/av-stream-sd.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/voctocore/scripts/av-stream-sd.sh b/voctocore/scripts/av-stream-sd.sh new file mode 100755 index 0000000..608c643 --- /dev/null +++ b/voctocore/scripts/av-stream-sd.sh @@ -0,0 +1,10 @@ +#!/bin/sh +ffmpeg -i tcp://localhost:11000 -aspect 16:9 -threads:0 0 \ +-c:v libx264 \ +-filter_complex " + yadif=mode=2, hqdn3d, scale=720:576 [out] +" -map '[out]' -maxrate:v:0 800k -bufsize:v:0 8192k -crf:0 18 -pix_fmt:0 yuv420p -profile:v:0 main -g:v:0 25 -preset:v:0 veryfast \ +-ac 1 -c:a libfdk_aac -b:a 96k -ar 44100 \ +-map 0:a -filter:a:0 pan=mono:c0=FL \ +-ac:a:2 2 \ +-y -f flv rtmp://127.0.0.1:1935/stream/s5_native_sd |