Here's my problem: the person that will be recorded needs to see himself while at it.
So it's the issue of monitoring in real timeI found that using the tee pseudomuxer seems to be the simplest and most straightforward.
Perfect except it's not over a network but just over the screen.The tee muxer can be used to write the same data to several outputs, such as files or streams. It can be used, for example, to stream a video over a network and save it to disk at the same time.
So it gives us something like:
ffmpeg -f v4l2 -i /dev/video0 -framerate 30 -video_size 1280x720 -c:v utvideo -f tee "out.mvk|[f=nut]-" | ffplay -
But it says :
Code: Select all
Output #0, tee, to 'out.mvk|-':
Output file #0 does not contain any stream
pipe:: Invalid data found when processing input
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
Thanks for your help.