ffmpeg capture current frame and overwrite the image output file

后端 未结 4 1548
野趣味
野趣味 2021-02-07 16:13

I am trying to extract the image file from a RTSP stream url every second (could be every 1 min also) and overwrite this image file.

my below code works but it outputs t

4条回答
  •  别那么骄傲
    2021-02-07 16:51

    Following command line should work for you.

    ffmpeg -i rtsp://IP_ADDRESS/live.sdp -f image2 -updatefirst 1 img.jpg
    

提交回复
热议问题