I am streaming to YouTube and Facebook using ffmpeg , also writing data into disk (recording).
it's working fine on Facebook and recording but on YouTube it's giving warning that is
Please check the video resolution. The current resolution is (65535x65535), which is not optimal.
and output on YouTube is also 1:1 aspect ratio due to the above resolution.
I am using tee mux in ffmpeg Command.
ffmpeg -f dshow -framerate 30 -i video="Integrated Webcam":audio="Microphone Array (Intel® Smart Sound Technology (Intel® SST))" -s 1920x1080 -c:v libx264 -r 30 -preset ultrafast -tune zerolatency -crf 28 -pix_fmt yuv420p -c:a aac -strict -2 -ac 2 -b:a 128k -t 4 -map 0 -f tee "[f=ismv]pipe:1 | [f=flv]rtmps://youtube | [f=flv]facebook"