Alex-q-z / myh264

[MLSys '22 artifact] an incremental x264 video encoder for video analytics
7 stars 4 forks source link

Encoding fails and produces a 1KB unplayable video when more than 32 frames #4

Open zeyuzhangzyz opened 6 months ago

zeyuzhangzyz commented 6 months ago

Hello,

I am currently working on a project utilizing myh264 for video encoding. I've encountered a recurring issue where attempting to encode videos with exactly 32 frames results in the process failing, producing a 1KB file that cannot be opened. Interestingly, encoding is successful with any number of frames from 0 to 31.

I have reviewed recent commits and particularly focused on changes made by a contributor named "qizheng," as suggested by code comments related to frame handling. However, I have not found any modifications that explicitly impose a frame count limitation of 31.

Could there be a known issue with frame count limitations in this version of FFmpeg, or is there something else I might be overlooking? Any guidance on how to diagnose or resolve this issue would be immensely appreciated.

Thank you for your assistance!

{B2ED077B-1620-4b36-BB54-52E74C312B6F}