import { VideoEditor } from '@awesome-cordova-plugins/video-editor/ngx';
constructor(private videoEditor: VideoEditor) { }
...
this.videoEditor.transcodeVideo({
fileUri: '/path/to/input.mov',
outputFileName: 'output.mp4',
outputFileType: VideoEditor.OutputFileType.MPEG4
})
.then((fileUri: string) => console.log('video transcode success', fileUri))
.catch((error: any) => console.log('video transcode error', error));