diff --git a/SkyNX-Streamer/NxStreamingService/main.js b/SkyNX-Streamer/NxStreamingService/main.js index 8ce61fe..cab5e33 100644 --- a/SkyNX-Streamer/NxStreamingService/main.js +++ b/SkyNX-Streamer/NxStreamingService/main.js @@ -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 diff --git a/SkyNX-Streamer/index.html b/SkyNX-Streamer/index.html index cbc88e7..472c984 100644 --- a/SkyNX-Streamer/index.html +++ b/SkyNX-Streamer/index.html @@ -54,10 +54,10 @@ Encoding (CPU)
diff --git a/SkyNX-Streamer/main.js b/SkyNX-Streamer/main.js index 281bca6..3ff3d88 100644 --- a/SkyNX-Streamer/main.js +++ b/SkyNX-Streamer/main.js @@ -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); })