Skip to main content
Will_Robertson
Associate III
Dec 2, 2025 8:48 AM UTC
Solved

VENC_SDCard_ThreadX Example

Hi, @krast

The readme for the VENC_SDCard_ThreadX example

https://github.com/STMicroelectronics/STM32CubeN6/blob/main/Projects/STM32N6570-DK/Applications/VENC/VENC_SDCard_ThreadX/README.md

states:

"The output is raw since no file system is used for now"

but the first slide of the STM32N6 demo workshop - 11 Video encoder (VENC) in practice workshop

https://www.youtube.com/watch?v=25lEF4GgN8M

says that this example uses a FAT32 file system.

I was wondering if there might be an error in the readme where it states "The output is raw since no file system is used for now"?

Thank you very much for these examples - they're very valuable.

Will

Saket_OmBest answer
ST Technical Moderator
Dec 2, 2025 9:58 AM UTC

Hello @Will_Robertson 

In this example a file called "encoded.h264" is created in the SD card. 

Saket_Om_0-1764669479515.png

 

To read back encoded video, it can be converted from raw bytestream to mp4 using a tool called ffmpeg with the following command : ffmpeg -f h264 -framerate 30 -i [extracted file] -c copy [output file]

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om

1 reply

Saket_OmBest answer
ST Technical Moderator
Dec 2, 2025 9:58 AM UTC

Hello @Will_Robertson 

In this example a file called "encoded.h264" is created in the SD card. 

Saket_Om_0-1764669479515.png

 

To read back encoded video, it can be converted from raw bytestream to mp4 using a tool called ffmpeg with the following command : ffmpeg -f h264 -framerate 30 -i [extracted file] -c copy [output file]

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om