DefinitelyTyped/types/ffmpeg/ffmpeg-tests.ts
Prasad Nayak bfa71cfef9 [@types/ffmpeg] Add types (#35741)
* [@types/ffmpeg]: add types

* refactor: make changes as suggested by the linter

* fix: restrict to ts 2.1

* refactor: use `export =`
2019-05-30 11:15:00 -07:00

7 lines
137 B
TypeScript

import ffmpeg from 'ffmpeg';
new ffmpeg('./test/mymovie.avi')
.then((video) => {
video.setVideoAspectRatio('16:9');
});