Receiving RTSP stream using FFMPEG library

前端 未结 4 840
野性不改
野性不改 2020-11-28 22:46

I have an IPCamera on my LAN streaming video using RTSP. I have been able to capture and display it successfully using ffplay command:

ffplay rtsp://admin:12         


        
4条回答
  •  南方客
    南方客 (楼主)
    2020-11-28 23:18

    FFmpeg can open rtsp streams directly just like opening local video files. Here is a tutorial code that updates with the most recent version of FFmpeg.

提交回复
热议问题