Guest User

Untitled

a guest
Jan 11th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. system_call = "ffmpeg -f concat -i ./" + it->get_file_name() + "/" + it->get_file_name() +
  2. ".ffmc -c copy " + "./" + it->get_file_name() +
  3. ".mp4 &> tmp" + std::to_string(counter) + " && " +
  4. "rm -rf ./" + it->get_file_name() + "/*.*" + " && " +
  5. "rm -rf ./" + it->get_file_name() +"/";
  6.  
  7. system(system_call.c_str());
  8.  
  9. std::cout << "Finished MP4 Generation. Cleaning up." << std::endl;
  10.  
  11. system_call = "rm -rf ./" + it->get_file_name() + "/*.*";
  12. system(system_call.c_str());
  13.  
  14. system_call = "rm -rf ./" + it->get_file_name() +"/";
  15. system(system_call.c_str());
Advertisement
Add Comment
Please, Sign In to add comment