Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h264, h265: raise MaxNALUSize #30

Merged
merged 1 commit into from
Aug 3, 2023
Merged

Commits on Aug 3, 2023

  1. h264, h265: raise MaxNALUSize

    When streaming a 50Mbps 2160p60 HEVC video encoded by AMD AMF from OBS via RTMP, none of the frames can get through:
    
    unable to decode AVCC: NALU size (3497231) is too big, maximum is 3145728
    
    Reducing the resolution to 1440p allows most of the frames to get through, but the same error still appears about once every 15 minutes:
    
    unable to decode AVCC: NALU size (3464043) is too big, maximum is 3145728
    
    Raising the size limit to 4 MiB seems to have resolved the issue for me. Updated the comment as well.
    database64128 committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    f3f9a38 View commit details
    Browse the repository at this point in the history