The RTSP camera streaming pipeline using GStreamer on the i.MX8M Plus FRDM board (4GB RAM) fails when processing high-resolution video streams (2K or above Full HD).
The system successfully initializes the pipeline and establishes an RTSP connection. However, during playback, the pipeline terminates with the following errors:
- Internal data stream error
- streaming stopped, reason not-negotiated (-4)
- Could not write to resource (Received end-of-file)
This issue is observed specifically with high-resolution (≥2K) H.265 streams, indicating that the platform is unable to negotiate or sustain the required decoding pipeline.
Key Observations:
- GStreamer pipeline works for lower resolutions (e.g., 1080p)
- Failure occurs during caps negotiation or decoder stage
- Hardware decoder (v4l2h265dec) likely hitting limitations
- System is running:
- Linux Kernel: 6.6.x (scarthgap)
- Yocto-based NXP BSP
- Board configuration: i.MX8M Plus FRDM with 4GB RAM