Compare commits
2 Commits
bdcdb2e8e5
...
6640ba5c25
Author | SHA1 | Date | |
---|---|---|---|
6640ba5c25 | |||
6a47bd9e77 |
16
dist/main.js
vendored
16
dist/main.js
vendored
@ -163,11 +163,11 @@ async function vodBuilder(params) {
|
|||||||
inputOptions: shouldInitVaapi ? buildInitOptions() : [],
|
inputOptions: shouldInitVaapi ? buildInitOptions() : [],
|
||||||
outputOptions: [
|
outputOptions: [
|
||||||
`-preset ${pluginSettings.vodQuality}`,
|
`-preset ${pluginSettings.vodQuality}`,
|
||||||
//`-b:v${streamSuffix} ${targetBitrate}`,
|
`-b:v${streamSuffix} ${targetBitrate}`,
|
||||||
`-b:v${streamSuffix} 0`,
|
//`-b:v${streamSuffix} 0`,
|
||||||
//`-bufsize ${targetBitrate * 2}`,
|
`-bufsize ${targetBitrate * 2}`,
|
||||||
`-profile:v${streamSuffix} high`,
|
`-profile:v${streamSuffix} high`,
|
||||||
`-cq 24`,
|
`-cq 22`,
|
||||||
`-rc:v vbr`,
|
`-rc:v vbr`,
|
||||||
`-c:v${streamSuffix} h264_nvenc`,
|
`-c:v${streamSuffix} h264_nvenc`,
|
||||||
`-bf 4`
|
`-bf 4`
|
||||||
@ -199,11 +199,11 @@ async function liveBuilder(params) {
|
|||||||
`-r:v${streamSuffix} ${fps}`,
|
`-r:v${streamSuffix} ${fps}`,
|
||||||
`-profile:v${streamSuffix} high`,
|
`-profile:v${streamSuffix} high`,
|
||||||
`-c:v${streamSuffix} h264_nvenc`,
|
`-c:v${streamSuffix} h264_nvenc`,
|
||||||
`-cq 24`,
|
`-cq 22`,
|
||||||
`-g:v${streamSuffix} ${fps * 2}`,
|
`-g:v${streamSuffix} ${fps * 2}`,
|
||||||
//`-b:v${streamSuffix} ${targetBitrate}`,
|
`-b:v${streamSuffix} ${targetBitrate}`,
|
||||||
`-b:v${streamSuffix} 0`,
|
//`-b:v${streamSuffix} 0`,
|
||||||
//`-bufsize ${targetBitrate * 2}`,
|
`-bufsize ${targetBitrate * 2}`,
|
||||||
`-rc:v vbr`,
|
`-rc:v vbr`,
|
||||||
`-bf 4`
|
`-bf 4`
|
||||||
]
|
]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "peertube-plugin-nctv-nvenc-transcode",
|
"name": "peertube-plugin-nctv-nvenc-transcode",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "Plugin that adds transcode profiles which use NVIDIA NVENC for hardware acceleration",
|
"description": "Plugin that adds transcode profiles which use NVIDIA NVENC for hardware acceleration",
|
||||||
"engine": {
|
"engine": {
|
||||||
|
Loading…
Reference in New Issue
Block a user