RTSP Camera Streaming Failure for 2K/Above Full HD Resolution on NXP i.MX8M Plus FRDM (4GB RAM)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RTSP Camera Streaming Failure for 2K/Above Full HD Resolution on NXP i.MX8M Plus FRDM (4GB RAM)

920 Views
Kaustubhnaik45
Contributor II

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
0 Kudos
Reply
4 Replies

767 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

This issue is regarding the encoding/decoding operations for H.265 2K frames, i.MX 8M Plus supports only 1080p as seen in the documentation.

JosephAtNXP_0-1777309761873.png

Regards

0 Kudos
Reply

90 Views
Kaustubhnaik45
Contributor II
Hi,

Thanks for confirming that i.MX 8MPlus supports H.265 up to 1080p@60fps.

Could you please clarify whether the device can decode a 2560×1440 (1440p) H.265 stream at a very low frame rate (e.g., 5 fps)?

Is the 1080p limit a hard resolution limitation of the VPU hardware ?
0 Kudos
Reply

741 Views
Kaustubhnaik45
Contributor II

Hi, 

First of all, thank you for your reply.

Based on your clarification that the i.MX 8M Plus supports only up to 1080p . I would like to ask if you could suggest any alternative suitable processors or development boards  that supports 2K (1440p) RTSP streaming, particularly .

Thank you in advance for your guidance.

556 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi @Kaustubhnaik45,

Please refer to i.MX 95 Reference Manual,

The VPU domain consists of a H.264/H.265 VPU codec, a motion JPEG encoder, and a motion JPEG decoder for image and video compression applications.

JosephAtNXP_0-1777917598467.png

Regards

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2353565%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERTSP%20Camera%20Streaming%20Failure%20for%202K%2FAbove%20Full%20HD%20Resolution%20on%20NXP%20i.MX8M%20Plus%20FRDM%20(4GB%20RAM)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2353565%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3EThe%20RTSP%20camera%20streaming%20pipeline%20using%20GStreamer%20on%20the%3CSTRONG%3E%20i.MX8M%20Plus%20FRDM%20board%20(4GB%20RAM)%20%3C%2FSTRONG%3Efails%20when%20processing%20high-resolution%20video%20streams%20(2K%20or%20above%20Full%20HD).%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3EThe%20system%20successfully%20initializes%20the%20pipeline%20and%20establishes%20an%20RTSP%20connection.%20However%2C%20during%20playback%2C%20the%20pipeline%20terminates%20with%20the%20following%20errors%3A%3C%2FFONT%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CFONT%20color%3D%22%23000000%22%3EInternal%20data%20stream%20error%3C%2FFONT%3E%3C%2FLI%3E%3CLI%3E%3CFONT%20color%3D%22%23000000%22%3Estreaming%20stopped%2C%20reason%20not-negotiated%20(-4)%3C%2FFONT%3E%3C%2FLI%3E%3CLI%3E%3CFONT%20color%3D%22%23000000%22%3ECould%20not%20write%20to%20resource%20(Received%20end-of-file)%3C%2FFONT%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3EThis%20issue%20is%20observed%20specifically%20with%20high-resolution%20(%E2%89%A52K)%20H.265%20streams%2C%20indicating%20that%20the%20platform%20is%20unable%20to%20negotiate%20or%20sustain%20the%20required%20decoding%20pipeline.%3C%2FFONT%3E%3C%2FP%3E%3CH3%20id%3D%22toc-hId-2031023510%22%20id%3D%22toc-hId-2031141685%22%20id%3D%22toc-hId-2031141685%22%20id%3D%22toc-hId-2031141685%22%3E%3CFONT%20color%3D%22%23000000%22%3EKey%20Observations%3A%3C%2FFONT%3E%3C%2FH3%3E%3CUL%3E%3CLI%3E%3CFONT%20color%3D%22%23000000%22%3EGStreamer%20pipeline%20works%20for%20lower%20resolutions%20(e.g.%2C%201080p)%3C%2FFONT%3E%3C%2FLI%3E%3CLI%3E%3CFONT%20color%3D%22%23000000%22%3EFailure%20occurs%20during%20caps%20negotiation%20or%20decoder%20stage%3C%2FFONT%3E%3C%2FLI%3E%3CLI%3E%3CFONT%20color%3D%22%23000000%22%3EHardware%20decoder%20(v4l2h265dec)%20likely%20hitting%20limitations%3C%2FFONT%3E%3C%2FLI%3E%3CLI%3E%3CFONT%20color%3D%22%23000000%22%3ESystem%20is%20running%3A%3C%2FFONT%3E%3CUL%3E%3CLI%3E%3CFONT%20color%3D%22%23000000%22%3ELinux%20Kernel%3A%206.6.x%20(scarthgap)%3C%2FFONT%3E%3C%2FLI%3E%3CLI%3E%3CFONT%20color%3D%22%23000000%22%3EYocto-based%20NXP%20BSP%3C%2FFONT%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3E%3CFONT%20color%3D%22%23000000%22%3EBoard%20configuration%3A%20i.MX8M%20Plus%20FRDM%20with%204GB%20RAM%3C%2FFONT%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2357091%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RTSP%20Camera%20Streaming%20Failure%20for%202K%2FAbove%20Full%20HD%20Resolution%20on%20NXP%20i.MX8M%20Plus%20FRDM%20(4GB%20RAM)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2357091%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3EFirst%20of%20all%2C%20thank%20you%20for%20your%20reply.%3C%2FP%3E%3CP%3EBased%20on%20your%20clarification%20that%20the%20i.MX%208M%20Plus%20supports%20only%20up%20to%201080p%20.%20I%20would%20like%20to%20ask%20if%20you%20could%20suggest%20any%20alternative%26nbsp%3Bsuitable%20processors%20or%20development%20boards%26nbsp%3B%20that%20supports%20%3CSTRONG%3E2K%20(1440p)%20RTSP%20streaming%3C%2FSTRONG%3E%2C%20particularly%20.%3C%2FP%3E%3CP%3EThank%20you%20in%20advance%20for%20your%20guidance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2356679%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RTSP%20Camera%20Streaming%20Failure%20for%202K%2FAbove%20Full%20HD%20Resolution%20on%20NXP%20i.MX8M%20Plus%20FRDM%20(4GB%20RAM)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2356679%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20your%20interest%20in%20NXP%20Semiconductor%20products%2C%3C%2FP%3E%0A%3CP%3EThis%20issue%20is%20regarding%20the%20encoding%2Fdecoding%20operations%20for%20H.265%202K%20frames%2C%20i.MX%208M%20Plus%20supports%20only%201080p%20as%20seen%20in%20the%20documentation.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JosephAtNXP_0-1777309761873.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JosephAtNXP_0-1777309761873.png%22%20style%3D%22width%3A%20694px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JosephAtNXP_0-1777309761873.png%22%20style%3D%22width%3A%20694px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JosephAtNXP_0-1777309761873.png%22%20style%3D%22width%3A%20694px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F383716iC298EDE5C6DA8C46%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22JosephAtNXP_0-1777309761873.png%22%20alt%3D%22JosephAtNXP_0-1777309761873.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2360169%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RTSP%20Camera%20Streaming%20Failure%20for%202K%2FAbove%20Full%20HD%20Resolution%20on%20NXP%20i.MX8M%20Plus%20FRDM%20(4GB%20RAM)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2360169%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261887%22%20target%3D%22_blank%22%3E%40Kaustubhnaik45%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EPlease%20refer%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Freference-manual%2FIMX95RM.pdf%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ei.MX%2095%20Reference%20Manual%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThe%20VPU%20domain%20consists%20of%20a%20H.264%2FH.265%20VPU%20codec%2C%20a%20motion%20JPEG%20encoder%2C%20and%20a%20motion%20JPEG%20decoder%20for%20image%20and%20video%20compression%20applications.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JosephAtNXP_0-1777917598467.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JosephAtNXP_0-1777917598467.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JosephAtNXP_0-1777917598467.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F384276i915CD5463401D9BF%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22JosephAtNXP_0-1777917598467.png%22%20alt%3D%22JosephAtNXP_0-1777917598467.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2374283%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RTSP%20Camera%20Streaming%20Failure%20for%202K%2FAbove%20Full%20HD%20Resolution%20on%20NXP%20i.MX8M%20Plus%20FRDM%20(4GB%20RAM)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2374283%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20for%20confirming%20that%20i.MX%208MPlus%20supports%20H.265%20up%20to%201080p%4060fps.%3CBR%20%2F%3E%3CBR%20%2F%3ECould%20you%20please%20clarify%20whether%20the%20device%20can%20decode%20a%202560%C3%971440%20(1440p)%20H.265%20stream%20at%20a%20very%20low%20frame%20rate%20(e.g.%2C%205%20fps)%3F%3CBR%20%2F%3E%3CBR%20%2F%3EIs%20the%201080p%20limit%20a%20hard%20resolution%20limitation%20of%20the%20VPU%20hardware%20%3F%3C%2FLINGO-BODY%3E