Zend certified PHP/Magento developer

I wanna create live stream (camera monitoring ?) AND make a file of it, through ffmpeg. If possible monitor with the few filters activated

As explained mentioned here:https://stackoverflow.com/questions/47324817/how-to-stream-live-video-display-from-a-webcam-using-ffmpeg-command-on-tcl-versi
My intent is to redirect the stream to a tee command, which will send it back both to the screen for monitoring (through mpv for instance) and to another instance of ffmpeg for processing into a well formated file (utvideo here).
I can’t manage to use a similar mpv command, which would use the camera the same way and by default show the ouptut on the screen in real time and redirect the raw output to a file (with >).

How do I do that (with some filters like hflip ?) with ffmpeg ? Thanks.