write c program to do this : ffmpeg -i input.mp4 -vf "select='gt(scene,0.4)'" -vsync vfr…
- User
write c program to do this : ffmpeg -i input.mp4 -vf "select='gt(scene,0.4)'" -vsync vfr frame-%2d.jpg
- Assistant
To execute an external command like the
ffmpegcommand line you mentioned from a C program, you can use the function. This function is part of the standard C library and allows you to execute any command as if it were run in the system's command line.