Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/local/bin/ffmpeg -threads 0 \
- -i "udp://@235.1.1.97:353?fifo_size=1000000&overrun_nonfatal=1&buffer_size=100000" \
- -i BOX_45.png -i BOX_35.png -i BOX_25.png \
- -filter_complex \
- " \
- yadif,nvresize=3:gpu=3:s=1280x720\|1280x720\|720x480:readback=0:[out0][out1][out2]; \
- [1:v]scale=480:-1[out3]; \
- [2:v]scale=480:-1[out4]; \
- [3:v]scale=480:-1[out5]; \
- [out0][out3]overlay=x=(main_w-overlay_w)/2:y=(main_h-overlay_h)/2[out6]; \
- [out1][out4]overlay=x=(main_w-overlay_w)/2:y=(main_h-overlay_h)/2[out7]; \
- [out2][out5]overlay=x=(main_w-overlay_w)/2:y=(main_h-overlay_h)/2[out8] \
- " \
- \
- -map [out6] \
- -strict experimental -vcodec nvenc -gpu 3 -threads 0 \
- -profile:v high -level 4 -coder 1 -bf 0 -g 60 -keyint_min 50 -sc_threshold 0 -b:v 4400k -bufsize 1400k -minrate 4400k -maxrate 4400k -s 1280x720 \
- -acodec libfdk_aac -b:a 128k -ar 48000 -ac 2 \
- -f mpegts "udp://239.239.1.97:1236?pkt_size=1316" \
- \
- -map [out7] \
- -strict experimental -vcodec nvenc -gpu 3 -threads 0 \
- -profile:v high -level 4 -coder 1 -bf 0 -g 50 -keyint_min 50 -sc_threshold 0 -b:v 3500k -bufsize 1100k -minrate 3500k -maxrate 3500k \
- -acodec libfdk_aac -b:a 128k -ar 48000 -ac 2 \
- -f mpegts "udp://239.239.1.97:1236?pkt_size=1316" \
- \
- -map [out8] \
- -strict experimental -vcodec nvenc -gpu 3 -threads 0 \
- -profile:v high -level 4 -coder 1 -bf 0 -g 50 -keyint_min 50 -sc_threshold 0 -b:v 2500k -bufsize 100k -minrate 2500k -maxrate 2500k \
- -acodec libfdk_aac -b:a 128k -ar 48000 -ac 2 \
- -f mpegts "udp://239.239.1.97:1236?pkt_size=1316"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement