bmegli / unhvd-native

Unity Network Hardware Video Decoder Native library
Mozilla Public License 2.0
8 stars 2 forks source link

decoder giving up on missing packets with 20.04 iHD driver #4

Closed bmegli closed 4 years ago

bmegli commented 4 years ago

Diagnosing with unhvd-cloud-example output

Decoded cloud with 129263 points
#...
Decoded cloud with 129639 points
Decoded cloud with 129343 points
mlsp: ignoring incomplete frame 8333/0: 9/14
11111111100000
[hevc @ 0x557263842480] Could not find ref with POC 52
[hevc @ 0x557263842480] Failed to end picture decode issue: 23 (internal decoding error)
[hevc @ 0x557263842480] hardware accelerator failed to decode picture
hvd: send_packet error Input/output error                      
nhvd: error during decoding
unhvd: network decoder fatal error
unhvd: network decoder thread finished

This is where it fails in HVD.

The error codes are different in this case. We expect to miss packets so this error has to be tolerated.

bmegli commented 4 years ago

This happens with HEVC and doesn't happen with H.264.

The error code is EIO.