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.

Bad Video Encoding

See original GitHub issue

Description

While using my recently installed system, I had an encoding issue with H.264. The bottom lines of the screen flickered green and white.

My Video settings are H.264, 30 fps, 2 Mb/s. Resetting the encoder to 5 Mb/s did not fix the issue. Also, changing to MJPEG did not fix the issue.

What’s the behavior that you expect?

Good encoding.

What’s happening instead?

Bad encoding

What are the steps to reproduce this behavior?

  1. Open TinyPilot in Chrome
  2. Type ls
  3. See bad encoding at the bottom of the screen

The system itself was still usable. I could type and have changes occur, but they were mostly unreadable.

Screenshots

TinyPilot-2022-12-19T18_25_56 554Z

Logs

Please paste the URL you see when you run /opt/tinypilot/dev-scripts/dump-logs

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
billdenneycommented, Dec 21, 2022

After a bit of investigation, it could be related to pikvm/ustreamer#169 (which may be subsequently related to a kernel bug). Is there a simple way to update tinypilot to use ustreamer to 5.34 to test that fix?

0reactions
billdenneycommented, Dec 21, 2022

Thanks for the update!

I tested the new version of ustreamer, and it didn’t fix the issue. (I confirmed in the logs that it was updated.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is Video Encoding? | How to Encode Video (2022 Update)
Attempting to encode the video into a larger resolution than you started with will only result in a very bad quality video.
Read more >
Video Failed Encoding
If everything seems installed correctly and you are still having problems encoding videos it might be because Expression Encoder is trying to use...
Read more >
Video Encoding Best Practices: 6 Practical Tips for Optimizing ...
We're sharing 6 tips for optimizing your video encoder settings for latency, bandwidth and picture quality so you can deliver video with confidence....
Read more >
Internet connection and recommended encoding settings
Attempting higher resolutions and bitrates without sufficient encoding resources or bandwidth can lead to poor image quality and interrupted or corrupted ...
Read more >
How to Reduce Video File Size Without Losing Quality
It's time to encode, compress, and tweak it so that it shrinks in size ... The bad news is that, unless you adjust...
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