-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.js
28 lines (27 loc) · 856 Bytes
/
test.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
let videoTools = require('./index')
videoTools.audioIntro([{
name: 'Quarto 1',
room: 'bedroom',
path: 'videos/videos_snap/163633679274aa53596f9b1e5d8b32b8'
}, {
name: 'teste',
room: 'intro',
path: 'videos/videos_snap/19b08dbe47bccac421fe3d409f166831'
}, {
name: 'teste 2',
room: 'intro',
path: 'videos/videos_snap/385f98d673ca85b37a70545bda77dd71'
}, {
name: 'Banheiro 1',
room: 'bathroom',
path: 'videos/videos_snap/5036be3b96475b239f9cc732f73b50a6'
}, {
name: 'Banheiro 2',
room: 'bathroom',
path: 'videos/videos_snap/54ecf1b6705c50a089dae2221dcb7c2c'
}], 'output.mp4', 'audios/pacote_1.mp3', 'Lindo apartamento na barra da tijuca com 5 quartos', '/Users/andre/Dev/21k/Snapimov/API/themes/pacote_7.ttf')
.then(() => {
console.log('done')
}).catch((err) => {
console.log('wat', err)
})