[FFmpeg-user] (no subject)
jie chen
c2009303338 at gmail.com
Fri Sep 9 04:55:32 EEST 2022
https://ffmpeg.org/ffmpeg-all.html#overlay-1
39.177.2 Examples
Chain several overlays in cascade
I want to combine several videos using this
ffmpeg \
-rw_timeout 60000000 -re -r 15 -i "rtmp://
10.154.39.14:1935/live/rfBd56ti2SMtYvSgD5xAV0YU99zampta7Z7S575KLkIZ9PYk" \
-rw_timeout 60000000 -re -r 15 -i "rtmp://
10.154.39.14:1935/live/L17LTlsVqMNTZyLKMIFSD2x28MlgPJ0SDZVHnHJPxMKi0tWx" \
-rw_timeout 60000000 -re -r 15 -i "rtmp://
10.154.39.14:1935/live/u3pQJ71N5GWfOIGTdSWXbRLGAwD1IkzuZ5G1pEDzqqm3sncC" \
-rw_timeout 60000000 -re -r 15 -i "rtmp://
10.154.39.14:1935/live/Yry01AuHiK7FDcCc35S4IzoOjgm2v8KyBpNlS52DyhMEXiJe" \
-preset ultrafast -filter_complex
"[0:v]scale=480:270,pad=iw:ih*2[0v];[1:v]scale=480:270,pad=iw:ih*2[1v];[2:v]scale=480:270[2v];[3:v]scale=480:270[3v];[0v][2v]overlay=0:h:eof_action=pass,pad=iw*2:ih[1p];[1v][3v]overlay=0:h:eof_action=pass[2p];[1p][2p]overlay=w:eof_action=pass[end];[end]scale=1440:540"
-r 24 -g 15 -c:v h264 -shortest -f hls -hls_list_size 3 -hls_time 2
-hls_base_url
https://bisp-media.zhenergy.com.cn/player/2022/09/media/live/tmp/
/bisp-3m/player/2022/09/media/live/tmp/tmp.m3u8 > 1.log 2>&1
but some rtmp were stop
The log is in the attachment
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.log
Type: application/octet-stream
Size: 13422 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20220909/b74edd39/attachment.obj>
More information about the ffmpeg-user
mailing list