Telegram uses MeidaCodec to encode video from Android API 16. It works fine with API 18. But there are errors in API 16, 17. Video encoded and sent from Android cannot be played in iOS.I think the problem is the color conversion between the output of the decoder encoder and the input of the encoder codec. https://github.com/DrKLO/Telegram/blob/2114024ab1d9cf209916bcdb3a4a7d44e51a3b0c/TMessagesProj/src/main/java/org/telegram/messenger/MediaController.java#L3223
MeidaCodec
My application is currently using ffmpeg to encode the video. But it is too slow. MediaCodec much faster than ffmpeg . But it only works from API 18.Can someone solve the problem the video cannot be played in iOS? Thanks.
ffmpeg
MediaCodec
No one has answered this question yet.
See related questions:
Source: https://habr.com/ru/post/1244266/More articles:Git - How to automatically push directory changes to another branch - gitSilent installation of Qt55 Enterprise on Windows - javascriptHow to use Func in the built-in dependency injection - dependency-injectionHow to make HTML5 video disappear when it finishes loading? - javascriptConvert single color using cvtColor - c ++Find if an object is a subset of another object in javascript - javascriptHow exactly does Windows 10 detect whether to use a black or white title? - c #managing code and documentation in the same git directory structure - githubBGR to HSV and vice versa - c ++Laravel 5.2.2 and Entrust method call error undefined - laravelAll Articles