Update video conversion
This commit is contained in:
@@ -1366,9 +1366,9 @@ int TestGetImage() {
|
||||
|
||||
}
|
||||
int GenerateVideo() {
|
||||
std::string imageFolder = "E:\\Programs\\DemoAssets\\ImageSeries\\TestImages";
|
||||
std::string outputVideoPath = "E:\\Programs\\DemoAssets\\ImageSeries\\output.mp4";
|
||||
bool conversionResult = ANSCV_ImagesToMP4_S(imageFolder.c_str(), outputVideoPath.c_str(), 3.5);
|
||||
std::string imageFolder = "E:\\Programs\\DemoAssets\\ImageSeries\\20260413_152604.321";
|
||||
std::string outputVideoPath = "E:\\Programs\\DemoAssets\\ImageSeries\\output1.mp4";
|
||||
int conversionResult = ANSCV_ImagesToMP4_S(imageFolder.c_str(), outputVideoPath.c_str(), 0, 5);
|
||||
if (!conversionResult) {
|
||||
std::cerr << "Failed to convert images to MP4." << std::endl;
|
||||
return -1;
|
||||
@@ -1419,12 +1419,12 @@ int main()
|
||||
{
|
||||
ANSCENTER::ANSOPENCV::InitCameraNetwork();
|
||||
//OpenCVFunctionTest();
|
||||
//GenerateVideo();
|
||||
GenerateVideo();
|
||||
//VideoTestClient();
|
||||
// TestGetImage();
|
||||
//PureOpenCV();
|
||||
// RSTPTestClient();
|
||||
RSTPTestCVClient();
|
||||
//RSTPTestCVClient();
|
||||
//TestCreateImageFromJpegStringFile();
|
||||
//TestCreateImageFromFile();
|
||||
//for (int i = 0; i < 100; i++) {
|
||||
|
||||
Reference in New Issue
Block a user