openfest/misc/restream/lab-test.sh
2015-04-10 11:34:30 +03:00

7 lines
1.1 KiB
Bash

#!/bin/bash
ffmpeg -re -i 'udp://@10.4.0.1:2600?overrun_nonfatal=1&buffer_size=81921024&fifo_size=178481' -c:v libx264 -s 1280x720 -profile:v high -level 4.2 -preset ultrafast -filter:v yadif -g 60 -b:v 2000k -acodec aac -ar 44100 -ac 2 -bsf:a aac_adtstoasc -flags +global_header -strict -2 -threads 2 -f tee -map 0:v -map 0:a "[f=flv]rtmp://localhost/openfest/test|[f=flv]rtmp://grendel.ludost.net/openfest/test" -c:v libx264 -s 960x540 -profile:v high -level 4.2 -preset ultrafast -filter:v yadif -g 60 -b:v 500k -acodec aac -ar 44100 -ac 2 -bsf:a aac_adtstoasc -flags +global_header -strict -2 -threads 2 -f tee -map 0:v -map 0:a "[f=flv]rtmp://grendel.ludost.net/openfest/lowtest|[f=flv]rtmp://localhost/openfest/lowtest"
#ffmpeg -re -i 'udp://@10.4.0.1:2600?overrun_nonfatal=1&buffer_size=81921024&fifo_size=178481' -c:v libx264 -s 1280x720 -profile:v high -level 4.2 -preset ultrafast -filter:v yadif -g 60 -b:v 2000k -acodec aac -ar 44100 -ac 2 -bsf:a aac_adtstoasc -flags +global_header -strict -2 -threads 2 -f tee -map 0:v -map 0:a "[f=flv]rtmp://localhost/openfest/kur|[f=flv]rtmp://localhost/openfest/test"