Page 1 of 1

Еxample of a program for recording video in .MP4 to SD card.

Posted: 2024-06-10 13:12
by gkirill
Hello!
I saw a detailed example for rtsp at this link: https://wiki.luckfox.com/Luckfox-Pico/RKMPI-example , but I'm wondering how to record video to an SD card. Is there a similar detailed example for this somewhere?

Re: Еxample of a program for recording video in .MP4 to SD card.

Posted: 2024-06-11 1:53
by Crocodile
gkirill wrote: 2024-06-10 13:12 Hello!
I saw a detailed example for rtsp at this link: https://wiki.luckfox.com/Luckfox-Pico/RKMPI-example , but I'm wondering how to record video to an SD card. Is there a similar detailed example for this somewhere?
Hello, example code secondary development is not within our technical support scope. Please research and develop it on your own.

Re: Еxample of a program for recording video in .MP4 to SD card.

Posted: 2024-06-11 4:39
by gkirill
Crocodile wrote: 2024-06-11 1:53 Hello, example code secondary development is not within our technical support scope. Please research and develop it on your own.
Hello, Croco!
Is the information contained in this document download/file.php?id=597 sufficient to write this program?
In what document can I look at SAMPLE_COMM_ISP_Init function description?

Re: Еxample of a program for recording video in .MP4 to SD card.

Posted: 2024-06-11 6:18
by Crocodile
gkirill wrote: 2024-06-11 4:39
Crocodile wrote: 2024-06-11 1:53 Hello, example code secondary development is not within our technical support scope. Please research and develop it on your own.
Hello, Croco!
Is the information contained in this document download/file.php?id=597 sufficient to write this program?
In what document can I look at SAMPLE_COMM_ISP_Init function description?
The VENC section in RKMPI only introduces how to perform video format encoding and does not mention the details of local storage. You can refer to the code in <Luckfox-pico SDK>/media/simple_test/simple_vi_vpss_venc.c, where fwrite is used to implement file saving.

The API SAMPLE_COMM_ISP_Init does not have corresponding documentation, but Rockchip provides the source code for it located in <Luckfox-pico SDK>/samples/common/isp3.x/sample_comm_isp.c, which can be referenced for learning.