2026-05-05 2:41 PM
Hello,
I am trying to import the RTSP example for the NUCLEO-N657X0-Q. It is not appearing in the IDE as a choice, but I see the project in D:\STM32\STM32Cube_FW_N6_V1.3.0\Projects\STM32N6570-DK\Applications\VENC\VENC_RTSP_Server
2026-05-05 11:05 PM
If you might not to reach examples, also you able to see from github.
I guess your wanted project this :
https://github.com/STMicroelectronics/STM32CubeN6/tree/main/Projects/NUCLEO-N657X0-Q/Applications/NetXDuo/Nx_CreditBasedShaper
I follow this steps :
1) I find software package name
2) search them in github
3) explore projects in repository
I use CubeIDE and I have experienced the same problem from time to time. I fix that this solution. I hope I have been helpful.
2026-05-06 12:13 AM - edited 2026-05-06 12:16 AM
Hi @mdkf,
If the project is not shown in the Examples Browser, its format is likely not supported yet.
You can still try to convert it manually using this action with D:\STM32\STM32Cube_FW_N6_V1.3.0\Projects\STM32N6570-DK\Applications\VENC\VENC_RTSP_Server\STM32CubeIDE as project source:
However, it is highly probable that you will get an error when selecting the project because most N6 projects are multi-context (also known as hierarchical), which is not supported.
Support is expected later this year.
2026-05-06 10:09 AM - edited 2026-05-11 6:38 PM
Thank you @Julien D !
I installed the Eclipse IDE and imported the project via CubeMX, but I get the following error when trying to build:
/STM32Cube/Example/VENC_RTSP_Server/Middlewares/Third_Party/VideoEncoder/source/h264/H264Cabac.c:109:21: error: assignment to 'const i32 (*)[460][2]' {aka 'const long int (*)[460][2]'} from incompatible pointer type 'const int (*)[460][2]' [-Wincompatible-pointer-types]
I was expecting the examples to build out of the box. Can you help me out?
2026-05-12 2:09 AM
This project, like some other examples, is not compliant with GCC 14.
You must fix the GCC 13 settings in the three underlying projects to make them build.
This can be achieved via the project properties:
GCC 13 appears in the list once it is installed via the Toolchain Manager. A restart of STM32CubeIDE is required at the end of the process. Be patient: the first fetch may take a long time.
2026-05-13 10:36 PM - edited 2026-05-14 4:37 PM
Thank you @Julien D ! It builds now. I hit debug from the IDE and it runs, but dies when I connect from VLC. Here's the UART output:
RTSP request received: DESCRIBE.
SDP = /v=0
s=H264 video with PCM audio, streamed by the NetX RTSP Server
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 profile-level-id=42A01E; packetization-mode=1
a=control:trackID=0
/
Setup Video (track 0)..
RTSP request received: PLAY.
VENC_APP_EncodingStart()
AUDIO_APP_EncodingStart()
[video] bitrate: last :0 kbps, min: 0 kbps, max: 0 kbps
error encoding frame -8
error encoding frame
error encoding frame -8
error encoding frame
error encoding frame -8
error encoding frame
DCMIPP and VENC desync (frame#10), restart the video
DCMIPP and VENC desync (frame#11), restart the video
DCMIPP and VENC desync (frame#12), restart the video
2026-05-15 12:50 AM
I don’t have access to any N6 device right now, so I can’t reproduce the issue. Let me check with other relevant people for more hints.
2026-05-18 5:05 AM
I finally managed to get a device to make some testing; the example works quite well when debugging through STM32CubeIDE.
I just imported the top level project in the IDE, built the 3 sub-projects, and started a debug on the VENC_RTSP_Server_Appli, resume when halted on main(), then let few seconds for the network interface to be up (wait for ping to reply), and finally connected VLC. The trickiest part was actually to setup the ad-hoc network.
2026-05-19 10:20 AM
@Julien D It is still failing for me. How can we debug it?
2026-05-19 11:42 PM
I am trying to import the RTSP example for the NUCLEO-N657X0-Q. It is not appearing in the IDE as a choice, but I see the project in D:\STM32\STM32Cube_FW_N6_V1.3.0\Projects\STM32N6570-DK\Applications\VENC\VENC_RTSP_Server
We figured out that you might be trying to use an example that requires a camera on a board that does not have this capability. Could you confirm that you are using the NUCLEO-N657X0-Q or STM32N6570-DK (the one I tested)?