Commit d76c64f7ad0db98193de4c8c8f03aa450ed5e0b9
1 parent
8214776d
Exists in
master
and in
1 other branch
adicionado a flag -y na linha de comando do ffmpeg
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
renderer/src/renderer.cpp
@@ -148,7 +148,7 @@ void Renderer::Run() { | @@ -148,7 +148,7 @@ void Renderer::Run() { | ||
148 | } | 148 | } |
149 | 149 | ||
150 | void Renderer::render() { | 150 | void Renderer::render() { |
151 | - string command = "ffmpeg -loglevel quiet -framerate 30 -i "; | 151 | + string command = "ffmpeg -y -loglevel quiet -framerate 30 -i "; |
152 | command.append(PATH_SCREENS).append(folder_id).append("/frame_%d.png ") | 152 | command.append(PATH_SCREENS).append(folder_id).append("/frame_%d.png ") |
153 | .append("-vcodec libx264 -pix_fmt yuv420p ").append(path_video); | 153 | .append("-vcodec libx264 -pix_fmt yuv420p ").append(path_video); |
154 | system(command.c_str()); | 154 | system(command.c_str()); |