Cannot display Video using FFmpeg

I’m trying to inject media into mediasoup-demo using FFmpeg. Media can be pushed to mediasoup-demo successfully, but vedio cannot display on the web. Audio can be displayed on the web normally.

also, I found a lot of packet loss in the vedio stream. so I confused is packet loss related to vedio cannot display?

Probably.

Is there any way to make the vedio display normally?

(Just let me reply successfully)

No magical setting to make things work perfectly, sorry.