adapt filter to upstream syntax
This commit is contained in:
parent
68f41bfc43
commit
bfb6dbacdc
10
main.js
10
main.js
@ -25,8 +25,9 @@ async function register ({
|
|||||||
}
|
}
|
||||||
// You can also return a promise
|
// You can also return a promise
|
||||||
return {
|
return {
|
||||||
videoFilters: [
|
scaleFilter: {
|
||||||
],
|
name: 'scale_vaapi'
|
||||||
|
},
|
||||||
inputOptions: shouldInitVaapi ? initVaapiOptions : [],
|
inputOptions: shouldInitVaapi ? initVaapiOptions : [],
|
||||||
outputOptions: [
|
outputOptions: [
|
||||||
'-bf 8', // override hardcoded bf value which cause memory error
|
'-bf 8', // override hardcoded bf value which cause memory error
|
||||||
@ -51,8 +52,9 @@ async function register ({
|
|||||||
|
|
||||||
// You can also return a promise
|
// You can also return a promise
|
||||||
return {
|
return {
|
||||||
videoFilters: [
|
scaleFilter: {
|
||||||
],
|
name: 'scale_vaapi'
|
||||||
|
},
|
||||||
inputOptions: shouldInitVaapi ? initVaapiOptions : [],
|
inputOptions: shouldInitVaapi ? initVaapiOptions : [],
|
||||||
outputOptions: [
|
outputOptions: [
|
||||||
'-bf 8', // override hardcoded bf value which cause memory error
|
'-bf 8', // override hardcoded bf value which cause memory error
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "peertube-plugin-hardware-transcode-vaapi",
|
"name": "peertube-plugin-hardware-transcode-vaapi",
|
||||||
"version": "0.0.4",
|
"version": "0.0.5",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "Plugin that adds transcode profiles which use vaapi for hardware acceleration",
|
"description": "Plugin that adds transcode profiles which use vaapi for hardware acceleration",
|
||||||
"engine": {
|
"engine": {
|
||||||
|
Loading…
Reference in New Issue
Block a user