Video Pipeline Debugging: Corrupt Frames, Green Screens and Dropped Frames
Decode, colour conversion, composition, display and scanout — corruption can originate in any of them.
Split the pipeline into five stages
- Software versus hardware: decode with software (ffmpeg) to see whether the corruption persists, which tells you if it’s the decoder or downstream;
- Colour space: tinted corruption usually means YUV format or stride alignment mismatch — check the alignment requirement, often 16 or 64 bytes;
- Dropped frames: use GStreamer’s fpsdisplaysink or v4l2 statistics to see which stage drops, instead of blindly adding compute.
Always test with clips of differing encoding parameters — resolution and profile variety — or edge cases slip through.
Related products: RK3588 Mini PC, HS89 T19 PRO player. Datasheets, firmware and SDKs are free at the Hugsun Documentation Center; for selection advice or volume pricing, talk to us.

