I am recording video using the camera module. I am saving the video in a file locally. I am also streaming it over network wifi. However, it is not real time for good resolutions.
I run the following command :
raspivid $PARAMS -o - | tee "$ofile" >(nc $destIP $destPort ) > /dev/null
If there a way I can get a preview image with a smaller resolution. Something like the -preview option but sent to a file descriptor instead.