aiortc: record with MediaRecorder from janus h264 Stream Invalid data found when processing input; last error log: [h264] no frame!

Hello,

i try to record a h264 stream from janus-gateway (master version)

after i get the video track the encoder shows many

non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
non-existing PPS 17 referenced
decode_slice_header error
no frame!
failed to decode, skipping package: [Errno 1094995529] Invalid data found when processing input; last error log: [h264] no frame!
non-existing PPS 17 referenced
decode_slice_header error
no frame!
failed to decode, skipping package: [Errno 1094995529] Invalid data found when processing input; last error log: [h264] no frame!
non-existing PPS 17 referenced
decode_slice_header error
no frame!
failed to decode, skipping package: [Errno 1094995529] Invalid data found when processing input; last error log: [h264] no frame!
non-existing PPS 17 referenced
decode_slice_header error
no frame!
failed to decode, skipping package: [Errno 1094995529] Invalid data found when processing input; last error log: [h264] no frame!
non-existing PPS 17 referenced
decode_slice_header error
no frame!
failed to decode, skipping package: [Errno 1094995529] Invalid data found when processing input; last error log: [h264] no frame!

any hint how i can debug or fix this?

Python 3.7.6 aiortc 0.9.26

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 24

Most upvoted comments

I hadn’t understood the error you encountered was not with one of aiortc’s examples but with a custom piece of code. I’ll be honest, I don’t see myself installing janus or debugging your custom code soon.