-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS/Android Video Decoding #2469
Comments
I think we'll probably want #2 for performance reasons. |
Not sure that it can be used in our case, but VideoLAN recently released .NET bindings for LibVLC(with Xamarin.Android and Xamarin.iOS support) |
@UselessToucan Yeah I might take a look at that, I don't think AVFoundation is going to do what we need it to do. It's tricky to process raw data in realtime, unless we fully read the stream first. That's not really an option if you want to play large video files. |
Looking deeper into this, I feel that LibVLC may not be a good solution for us. Calling I think I've worked out a way of asynchronously reading/playing an |
VideoDecoder
does not currently work on iOS nor Android, as we do not include compatible native libraries for ffmpeg.We have a couple of options:
Attempt to get MobileFFmpeg static libraries working with theFFmpeg.AutoGen
package. https://github.com/tanersener/mobile-ffmpegAbstract
VideoDecoder
to not be implementation-specific, then subclass it per platform.Android could use
Xamarin.Android.MP4Transcoder
, which is based on ffmpeg.iOS would likely need to use
AVFoundation
, as I could not find an ffmpeg-based wrapper.Desktop would continue to use
FFmpeg.AutoGen
.Edit: It looks like there are potentially licensing issues with using ffmpeg under Android. The previously mentioned MP4Transcoder is actually based on this custom transcoder: https://github.com/ypresto/android-transcoder
The text was updated successfully, but these errors were encountered: