How to stream video in a loop via RTP using ffmpeg?
ffmpeg -re -fflags genpts -stream_loop -1 -i conf2-2.mp4 -vcodec copy -an -f rtp rtp://192.168.31.152:2000 vlc 应该可以播放出来的。 这里有一篇文章,有兴趣的可以试试: https://www.wowza.com/docs/how-to-configure-vlc-media-player-for…
2025-02-19