I tried it adding -acodec aac -b:a 128k -vcodec libx264
whit the same result.
Error:
Error in the push function. av_interleaved_write_frame(): Input/output error Error writing trailer of rtmps://live.Cloudflare.com:443/live/<stream_key>: Input/output error
Cloudflare stream dashboard appears as green connected but the player shows a message: Stream has not started yet.
You can steal my ffmpeg oneliner which works. You probably need to strip out the watermark options and tweak the input devices. Also, this is Windows so you won’t have a use for the dshow devices, unless you use Windows too.