question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jlainecommented, Mar 4, 2020

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.

0reactions
github-actions[bot]commented, Mar 22, 2022

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extracting frame fails with: Invalid data found when processing ...
It looks like you have to make sure the data is written to the temporary file, before executing FFmpeg. I don't have any...
Read more >
601636 - MediaRecorder: support H264 for video encoding
Having MediaRecorder.isTypeSupported("video/webm;codecs=h264") returns true is a bug. This is an invalid file. To generate ...
Read more >
MediaStream Recording API - MDN Web Docs - Mozilla
Chrome Edge MediaRecorder Full support. Chrome47. Toggle history Full support. Edge79... MediaRecorder() constructor Full support. Chrome47. Toggle history Full support. Edge79... options parameter Full support. Chrome49....
Read more >
Record&Play plugin documentation - Janus WebRTC Server
This application aims at showing how easy recording frames sent by a peer is, and how this recording can be re-used directly, without...
Read more >
HTML5's Media Recorder API in Action on Chrome and Firefox
Webcam input (audio and video) is accessed by getUserMedia . · A new MediaRecorder JS object is created and starts the recording process ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found