ralfbiedert / openh264-rs

Idiomatic Rust wrappers around OpenH264.
69 stars 35 forks source link

Only the first frame is decoded successfully! #55

Closed xlievo closed 3 months ago

xlievo commented 3 months ago

Only the first frame decoded successfully, subsequent frames failed, probably what is the reason? Does it have something to do with initialization Settings or capacity? It is worth mentioning that all frames can be successfully decoded with other openh264 wrappers.

In addition, can you set some parameters for initialization? I hope to align with other openh264 wrapper libraries to further find out why.

xlievo commented 3 months ago

Close the issue temporarily until someone brings it up again !

ralfbiedert commented 3 months ago

It's hard to tell without the actual .h254 file. I recommend to download a H264 Analyzer and look at your stream. Posting the code you used would be good, too.