TranscoderXamarin is Xamarin Binding for https://github.com/natario1/Transcoder Project.
Install Nuget in Android Project
IMPORTANT
Install Xamarin.Kotlin.StdLib.Jdk7 since this is a dependency binding over Kotlin library
Implement interface in the class you are using Transcoder
public YourClass : Java.Lang.Object, ITranscoderListener
{
//Your Code
}
For transcoding files
var transcoder = Transcoder
.Into(destination)
.AddDataSource(trim)
.SetVideoTrackStrategy(videoStrategy)
.SetAudioTrackStrategy(audioStrategy)
.SetListener(this)
.Transcode();
For more information about the usage of library, visit original library documentation https://natario1.github.io/Transcoder/
Thanks @natario1 for the awesome original library.
If this binding was useful or saved your time, mind buying me a coffee?