Hello, i'm currently streaming my camera ip to a youtube, almost everything is okey but i just wonder if i'm doing everything right, as you can see at the image with just one stream there are two huge processes running splitted into several smaller once, shouldn't be just one process running or at least not so many of them?
Also is my ffmpeg command fine for what i'm doing or should i add/delete something?
!/bin/bash
DATETIME=date +%Y%m%d%H%M
DATE=date +%Y%m%d
echo="WE BE RUNNING!"
while :
do
echo ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -i rtsp://192.168.1.22:555/11 -tune zerolatency -vcodec libx264 -pix_fmt + -c:v copy -c:a aac -strict experimental -b:v 1000k -maxrate:v 400k -minrate:v 300k -f flv rtmp://YOUTUBE-ID-STREAM
done
EOF
I'm doing it on Ubuntu Mate (16.04) with Raspberry 3 B+
Thanks.