Closed
Description
@jeromewu, Thanks for this wonderful repo.
My problem here is trimming a 5 min video to 10 sec. But the output video duration returns a wrong duration.
Kindly let know me if there any way to resolve this issue. That will be very helpful for me.
Steps to reproduce the behavior:
const { createWorker } = FFmpeg;
const worker = createWorker({
corePath: '../../ffmpeg-core.js'
});
await worker.load();
await worker.write('trim.mp4', videourl);
await worker.trim('trim.mp4', 'trimed.mp4', `00:01:00`, `00:01:10`);
const { data } = await worker.read('trimed.mp4');
var __Blobdata = new Blob([data.buffer], { type: 'video/mp4' });
var trimedurl = URL.createObjectURL(__Blobdata);
Desktop
- OS: [windows]
- Browser [e.g. chrome]
- Version [7]
cc: @caugner
Metadata
Metadata
Assignees
Labels
No labels