I am using the following command to transcode my cam\'s stream into mjpeg which I decode and present in my custom home-control app:
mjpeg
ffmpeg -i rtsp: