Compare commits

..

No commits in common. "6640ba5c25a26e2ae0bc27f78ef81175a35233dd" and "bdcdb2e8e5ef548540a04ef929e7759c261687e3" have entirely different histories.

2 changed files with 9 additions and 9 deletions

16
dist/main.js vendored
View File

@ -163,11 +163,11 @@ async function vodBuilder(params) {
inputOptions: shouldInitVaapi ? buildInitOptions() : [],
outputOptions: [
`-preset ${pluginSettings.vodQuality}`,
`-b:v${streamSuffix} ${targetBitrate}`,
//`-b:v${streamSuffix} 0`,
`-bufsize ${targetBitrate * 2}`,
//`-b:v${streamSuffix} ${targetBitrate}`,
`-b:v${streamSuffix} 0`,
//`-bufsize ${targetBitrate * 2}`,
`-profile:v${streamSuffix} high`,
`-cq 22`,
`-cq 24`,
`-rc:v vbr`,
`-c:v${streamSuffix} h264_nvenc`,
`-bf 4`
@ -199,11 +199,11 @@ async function liveBuilder(params) {
`-r:v${streamSuffix} ${fps}`,
`-profile:v${streamSuffix} high`,
`-c:v${streamSuffix} h264_nvenc`,
`-cq 22`,
`-cq 24`,
`-g:v${streamSuffix} ${fps * 2}`,
`-b:v${streamSuffix} ${targetBitrate}`,
//`-b:v${streamSuffix} 0`,
`-bufsize ${targetBitrate * 2}`,
//`-b:v${streamSuffix} ${targetBitrate}`,
`-b:v${streamSuffix} 0`,
//`-bufsize ${targetBitrate * 2}`,
`-rc:v vbr`,
`-bf 4`
]

View File

@ -1,6 +1,6 @@
{
"name": "peertube-plugin-nctv-nvenc-transcode",
"version": "1.1.1",
"version": "1.1.0",
"license": "MIT",
"description": "Plugin that adds transcode profiles which use NVIDIA NVENC for hardware acceleration",
"engine": {