Sample Header Ad - 728x90

I have a `raspivid` stream, which I'm piping to `ffmpeg`, now i'd like to also stream a raw version of it to a socket?

0 votes
0 answers
179 views
I have a process outputing an MJPEG video stream, which I pipe into ffmpeg to reduce framerate and then to a socket.
raspivid -t 999999 -cd MJPEG -w 1920 -h 1080 -o - | ffmpeg -i - -f mjpeg -r 2 - | nc -l 9010
Now I need to also split the original raw stream into another socket. I've tried tee command, including with named fifos, but I cant seem to make it work.
Asked by Ivan Koshelev (131 rep)
Feb 7, 2021, 12:06 AM