Recording cannot be played and their input.width and height is 0

We stream to Cloudflare Stream using rtmp and watch the recording later using the HLS url. However sometimes the video can not be played through HLS. When we use the video detail api (https://api.cloudflare.com/client/v4 /accounts/{account_id}/stream/{identifier}) to check the video, it has 0 for input.width and input.height. Is this the reason the video cannot be played? What could lead to this?

Thank you for your help!