Cloudflare stream with ffmpeg and rmtp

Hi Guys,

i tried this

ffmpeg -f gdigrab -framerate 30 -i desktop -f flv rtmps://live.Cloudflare.com:443/live/1234

Although ffmpeg was streaming it, and i got a live in the Cloudflare live section but i when i clicked on the hls or watch stream it was saying video not found

any idea how to fix this ?

You should probably add an audio and video codec to your command line.

This is what I’m using for h.264 video with 128kbit aac audio:

-acodec aac -b:a 128k -vcodec libx264

It might also be a good idea to specify a bitrate.