Forgot to actually use video size option
This commit is contained in:
parent
ca9b7cb419
commit
53553cb330
1 changed files with 3 additions and 2 deletions
|
@ -18,7 +18,8 @@ class audio2imageCommand extends Command {
|
|||
{
|
||||
id: 'video_size',
|
||||
match: 'option',
|
||||
flag: '--size'
|
||||
flag: '--size',
|
||||
default: '640x480'
|
||||
}
|
||||
],
|
||||
description: {
|
||||
|
@ -58,7 +59,7 @@ class audio2imageCommand extends Command {
|
|||
.input(`${os.tmpdir()}/${message.id}1.sw`)
|
||||
//.size('1920x1080')
|
||||
.inputOption('-pixel_format rgb24')
|
||||
.inputOption('-video_size 640x480')
|
||||
.inputOption(`-video_size ${args.video_size}`)
|
||||
.inputFormat('rawvideo')
|
||||
.frames('1')
|
||||
.output(`${os.tmpdir()}/a2i${message.id}.png`)
|
||||
|
|
Loading…
Reference in a new issue