Skip to content

[Bug]: Skipping invalid undecodable NALU: 1 #530

Open
@markg85

Description

Describe the bug
Skipping invalid undecodable NALU: 1
No clue what it is just that it gives me errors.

To Reproduce
./ffmpeg
-f x11grab -framerate 60 -max_delay 0 -max_probe_packets 1 -thread_queue_size 1024 -video_size 2560x1440 -r 60 -i :0.0+0,0
-c:v hevc_amf
-log_to_dbg 1
-loglevel debug
-usage lowlatency
-rc vbr_peak
-minrate 2M
-maxrate 15M
-quality quality
-preset quality
-vbaq 0 -enforce_hrd 0 -aud 0 -latency 1 -filler_data 0
-profile:v main10
-profile_tier high
-b:v 8M
-pix_fmt bgr0
-f nut -muxdelay 0 udp://10.0.3.55:5555

Note that i supply -aud 0!

Setup (please complete the following information):

  • OS: ArchLinux
  • Driver Version 1.4.35 + latest header changes from this repo
  • GPU 7900 XT

Debug Log (please upload or paste):

[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Skipping invalid undecodable NALU: 1
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Skipping invalid undecodable NALU: 1
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Skipping invalid undecodable NALU: 1
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Skipping invalid undecodable NALU: 1
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Skipping invalid undecodable NALU: 1
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Skipping invalid undecodable NALU: 1
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Skipping invalid undecodable NALU: 1
[ffmpeg/video] hevc: PPS id out of range: 0
[ffmpeg/video] hevc: Skipping invalid undecodable NALU: 1

Probably safe to ignore that PPS one, focus on the NAL one.

Expected behavior
Nothing appears to be breaking but the logging does show something being wrong. Probably nice to fix it?

Additional context
This PR from years ago in an entirely different project triggered me to report this here. I have no clue what AUD or NAL is, just that the two are apparently somehow related.

It looks like AMD puts an AUD value where a VPS value is expected.

This logging, while ffmpeg shows it too, comes from mpv.

I'm steering a bit blind in this issue, not knowing exactly what i'm reporting. Just letting you folks know about it :)
If there's something i can do to make debugging easier, feel free to ask.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions