Open patrickboulay opened 6 years ago
Will need this function, anyone is working on that ?
+1 for wanting Android trimming. Any info on whether this is possible, being worked on, in the pipeline? Currently evaluating tech stack for future app and Android trimming is a requirement. Cheers :)
Hi Guys, I've implemented trim on Android using mp4parser, Here's our fork : https://github.com/dride/cordova-plugin-video-editor
Please help us test it so I could submit a PR.
Thanks
@saoron how to use in ionic3?
Should be a drop in replacement, you can use ionic native.
@saoron How to import the package in my ionic4 project?
@saoron Thank ,। Have implemented it but it seems like there is an issue. When i pass dynamic start and end time, it trims more then the given time.
@saoron Can you help me with the process.
Currently, I just copied all your files and replace with cordova-plugin-videoeditor but still it is not working.
Here is my code: let options = { fileUri: path, // path to input video trimStart: 5, // time to start trimming in seconds trimEnd: 120, // time to end trimming in seconds outputFileName: 'output', // output file name progress: function (info) { console.log(info) } // optional, see docs on progress } this.videoEditor.trim(options).then((res) => { console.log('Success trimming!'); console.log(res) }, (err) => { console.log('Error in trimming!'); console.log(err) }).catch((err) => { console.log('Error in trimming function') console.log(err); })
Is there any plan to make available trimming in android?