Skip to main content
Will_Robertson
Associate III
December 2, 2025
Solved

VENC_SDCard_ThreadX Example

  • December 2, 2025
  • 1 reply
  • 340 views

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

Best answer by Saket_Om

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]

1 reply

Saket_OmBest answer
Technical Moderator
December 2, 2025

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]

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question.Saket_Om"