问题
Is there a way to stream one image and refresh it all the time or at an interval.
This streams image continuously, but never refreshes its source.
ffmpeg -loop 1 -i http://test.dev/overlay.jpg -f flv rtmp://192.168.99.100:1935/live/mystream2
The overlay does the same, never refreshes logo...
ffmpeg -i rtmp://192.168.99.100:1935/live/mystream -vf "movie=overlay.jpg[logo];
[0][logo]overlay=0:70" -c:v flv -f flv rtmp://192.168.99.100:1935/live/mystream2
Thank you
回答1:
Try with adding -f image2
. Works with PNGs.
ffmpeg -f image2 -loop 1 -i http://test.dev/overlay.jpg -f flv rtmp://192.168.99.100:1935/live/mystream2
来源:https://stackoverflow.com/questions/42735121/ffmpeg-continuously-stream-refreshing-image-to-rtmp