ffmpegvideo-capturertspbmpdib

Converting rtsp stream to bmp images


I have a requirement in which I have to convert a RTSP video stream into BMP images and then pass on to my face detection application. So is it possible to do the same using ffmpeg tool? If not, then can anybody guide me to the right tool/some custom code which does the same.

Thanks in advance!!


Solution

  • You can use image2 muxer:

    ffmpeg.exe -i <rtsp stream> -f image2 'img-%03d.bmp'