Reputation: 99
I am trying to extract the jpeg images from the rtsp stream. I observed that generated image quality is not good. bottom portion of the image is always blurred or pixelated.
If i stream same video in VLC player everything works as expected. Has anyone seen this issue before any help is greatly appreciated. Image generated from ffmpeg
Upvotes: 1
Views: 3048
Reputation: 4123
I had exactly same issue, blurred, pixelated bottom of image. Apparently problem was missing packet. I solved it thanks to recommendation in this post https://superuser.com/questions/663928/ffmpeg-to-capture-stills-from-h-264-stream and my commamnd looks like this:
ffmpeg -rtsp_transport tcp -y -i ${rtspUrl} -q:v 1 -vframes 1 snapshot${i}.jpg
Upvotes: 2