mirror of
https://github.com/DevL0rd/SkyNX
synced 2024-11-21 18:43:03 +00:00
fixed small text issues
This commit is contained in:
parent
01c4a944ff
commit
75c7362360
3 changed files with 6 additions and 6 deletions
|
@ -74,10 +74,10 @@ function startVideoProcess() {
|
|||
if (encoding == "NVENC") { //Nvidia Encoding
|
||||
ffmpegVideoArgs = ["-probesize", "50M", "-hwaccel", "auto", "-f", "gdigrab", "-framerate", fps, "-video_size", screenWidth + "x" + screenHeight, "-offset_x", "0", "-offset_y", "0", "-draw_mouse", "1", "-i", "desktop", "-c:v", "h264_nvenc", "-gpu", "0", "-rc", "cbr_ld_hq", "-zerolatency", "1", "-f", "h264", "-vf", "scale=1280x720", "-pix_fmt", "yuv420p", "-profile:v", "baseline", "-cq:v", "19", "-g", "999999", "-b:v", quality + "M", "-minrate", quality - 3 + "M", "-maxrate", quality + "M", "-bufsize", (quality / (fps / 4)) + "M", "tcp://" + ip + ":2222"];
|
||||
console.log("Using Nvidia Encoding");
|
||||
} else if(encoding == "AMDVCE"){ //AMD Video Coding Engine
|
||||
} else if (encoding == "AMDVCE") { //AMD Video Coding Engine
|
||||
ffmpegVideoArgs = ["-probesize", "50M", "-hwaccel", "auto", "-f", "gdigrab", "-framerate", fps, "-video_size", screenWidth + "x" + screenHeight, "-offset_x", "0", "-offset_y", "0", "-draw_mouse", "1", "-i", "desktop", "-f", "h264", "-c:v", "h264_amf", "-usage", "1", "-rc", "cbr", "-vf", "scale=1280x720", "-pix_fmt", "yuv420p", "-b:v", quality + "M", "-minrate", quality - 3 + "M", "-maxrate", quality + "M", "-bufsize", (quality / (fps / 4)) + "M", "tcp://" + ip + ":2222"];
|
||||
console.log("Using AMD Video Coding Engine");
|
||||
} else if(encoding == "QSV"){
|
||||
} else if (encoding == "QSV") {
|
||||
ffmpegVideoArgs = ["-probesize", "50M", "-hwaccel", "auto", "-f", "gdigrab", "-framerate", fps, "-video_size", screenWidth + "x" + screenHeight, "-offset_x", "0", "-offset_y", "0", "-draw_mouse", "1", "-i", "desktop", "-f", "h264", "-c:v", "h264_qsv", "-preset", "faster", "-profile", "baseline", "-vf", "scale=1280x720", "-pix_fmt", "yuv420p", "-b:v", quality + "M", "-minrate", quality - 3 + "M", "-maxrate", quality + "M", "-bufsize", (quality / (fps / 4)) + "M", "tcp://" + ip + ":2222"];
|
||||
console.log("Using Intel QSV Encoding");
|
||||
} else { //CPU Software Encoding
|
||||
|
|
|
@ -54,10 +54,10 @@
|
|||
Encoding (CPU)
|
||||
</button>
|
||||
<div class="dropdown-menu" aria-labelledby="encodingDrop">
|
||||
<a class="dropdown-item" href="javascript:setEncoding('CPU')">CPU</a>
|
||||
<a class="dropdown-item" href="javascript:setEncoding('CPU')">CPU Encoding</a>
|
||||
<a class="dropdown-item" href="javascript:setEncoding('NVENC')">Nvidia Encoding</a>
|
||||
<a class="dropdown-item" href="javascript:setEncoding('AMDVCE')">AMD Video Coding Engine</a>
|
||||
<a class="dropdown-item" href="javascript:setEncoding('QSV')">Intel QuickSync</a>
|
||||
<a class="dropdown-item" href="javascript:setEncoding('AMDVCE')">AMD Encoding</a>
|
||||
<a class="dropdown-item" href="javascript:setEncoding('QSV')">Intel Encoding</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -268,7 +268,7 @@ function log(str) {
|
|||
}
|
||||
|
||||
ipcMain.on('donate', (event, fullMessage) => {
|
||||
var url = 'https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=PY867SNUQX2ZJ¤cy_code=USD&source=url';
|
||||
var url = 'https://www.paypal.me/SkyNX';
|
||||
var start = (process.platform == 'darwin' ? 'open' : process.platform == 'win32' ? 'start' : 'xdg-open');
|
||||
exec(start + ' ' + url);
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue