• 1.7.0 22d8c76bfa

    NVenc DSR Stable

    Anri released this 2023-12-03 00:02:07 +01:00 | 88 commits to main since this release

    Improvement

    Chore

    NVenc is optimized?

    Here is how I tested with a file:

      @ECHO OFF
      SETLOCAL ENABLEDELAYEDEXPANSION
    
      SET "ffmpeg=%LOCALAPPDATA%\DSR\resources\app\node_modules\ffmpeg-static\ffmpeg.exe"
    
      :: CPU
      ::
      :: Seconds           : 46
      ::
      !ffmpeg! -y -i "video.mp4" -c:v libx264 -b:v 1605k -pass 1 -an -f mp4 NUL && \
      !ffmpeg! -y -i "video.mp4" -c:v libx264 -b:v 1605k -pass 2 -c:a copy -map 0:0 -map 0:1 -map 0:2 -f mp4 "out.mp4"
    
      :: GPU
      ::
      :: Seconds           : 37
      ::
      !ffmpeg! -y -hwaccel cuda -i "video.mp4" -c:v h264_nvenc -b:v 2889k -pass 1 -an -f mp4 NUL && \
      !ffmpeg! -y -hwaccel cuda -i "video.mp4" -c:v h264_nvenc -b:v 2889k -pass 2 -c:a copy -map 0:0 -map 0:1 -map 0:2 -f mp4 "out2.mp4"
    

    Running the file: Measure-Command { Start-Process -FilePath ".\script.bat" -Wait -NoNewWindow }

    So it reduce the wait of 10 seconds I guess? But the quality is also kinda reduced ; feel free to check with your own tests.


    Full changelog

    Downloads