Capturing thumbnail using rtmpdump/ffmpeg