Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- system_call = "ffmpeg -f concat -i ./" + it->get_file_name() + "/" + it->get_file_name() +
- ".ffmc -c copy " + "./" + it->get_file_name() +
- ".mp4 &> tmp" + std::to_string(counter) + " && " +
- "rm -rf ./" + it->get_file_name() + "/*.*" + " && " +
- "rm -rf ./" + it->get_file_name() +"/";
- system(system_call.c_str());
- std::cout << "Finished MP4 Generation. Cleaning up." << std::endl;
- system_call = "rm -rf ./" + it->get_file_name() + "/*.*";
- system(system_call.c_str());
- system_call = "rm -rf ./" + it->get_file_name() +"/";
- system(system_call.c_str());
Advertisement
Add Comment
Please, Sign In to add comment