minorityminor update
minorityminor update
This commit is contained in:
parent
6af02ed9f2
commit
615e731a1d
@ -3,4 +3,4 @@
|
||||
#include "Options.h"
|
||||
#include "../functions/addWatermark.h"
|
||||
#include "../functions/captureScreen.h"
|
||||
#include "../functions/screenRecoder.h"
|
||||
#include "../functions/screenRecorder.h"
|
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include "addWatermark.h"
|
||||
|
||||
void screenRecoder(std::string file_video)
|
||||
void screenRecorder(std::string file_video)
|
||||
{
|
||||
std::string command = "ffmpeg -f gdigrab -framerate 60 -i desktop -c:v libx264 -preset ultrafast -tune zerolatency -crf 25 -pix_fmt yuv420p " + ("C:\\Users\\" + (std::string)std::getenv("USERNAME") + "\\Documents\\vos.team\\" + file_video);
|
||||
system(command.c_str());
|
@ -23,7 +23,7 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
}
|
||||
else if (wParam == 4)
|
||||
{
|
||||
screenRecoder(file_video);
|
||||
screenRecorder(file_video);
|
||||
}
|
||||
break;
|
||||
case WM_PAINT:
|
||||
|
Loading…
Reference in New Issue
Block a user