File tree 4 files changed +5
-4
lines changed
4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ const createFFTask = () => {
28
28
height,
29
29
log : true ,
30
30
preset : 'veryfast' ,
31
+ vprofile : 'baseline' ,
31
32
pushLive : true ,
32
33
audio,
33
34
} ) ;
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class Conf {
25
25
this . copyByDefaultVal ( conf , 'queue' , 2 ) ;
26
26
this . copyByDefaultVal ( conf , 'threads' , 1 ) ;
27
27
this . copyByDefaultVal ( conf , 'preset' , 'medium' ) ;
28
- this . copyByDefaultVal ( conf , 'vprofile' , 'baseline ' ) ;
28
+ this . copyByDefaultVal ( conf , 'vprofile' , 'main ' ) ;
29
29
this . copyByDefaultVal ( conf , 'debug' , false ) ;
30
30
this . copyByDefaultVal ( conf , 'audioLoop' , true ) ;
31
31
this . copyByDefaultVal ( conf , 'pushLive' , false ) ;
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const FFmpegUtil = {
77
77
const crf = conf . getVal ( 'crf' ) ;
78
78
const preset = conf . getVal ( 'preset' ) ;
79
79
const vprofile = conf . getVal ( 'vprofile' ) ;
80
- const pushLIve = conf . getVal ( 'pushLive' ) ;
80
+ const pushLive = conf . getVal ( 'pushLive' ) ;
81
81
82
82
let outputOptions = [ ]
83
83
//---- misc ----
@@ -118,7 +118,7 @@ const FFmpegUtil = {
118
118
}
119
119
120
120
//---- live stream ----
121
- if ( ! pushLIve ) {
121
+ if ( ! pushLive ) {
122
122
outputOptions = outputOptions . concat ( [ '-map' , '0' ] ) ;
123
123
}
124
124
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ffcreatorlite" ,
3
- "version" : " 2.3.2 " ,
3
+ "version" : " 2.3.5 " ,
4
4
"description" : " FFCreatorLite is a lightweight and flexible short video production library" ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments