support full swing android media decoder?

青春壹個敷衍的年華 提交于 2019-12-10 11:54:41

问题


When I decode a full swing video using Android MediaCodec class, the output is always in studio swing? am I missing a header in the video file?

I know after Android 24, I can use MediaFormat class to set COLOR_RANGE_FULL?

Any help on this? seems like even setting

MediaFormat.setInteger(MediaFormat.KEY_COLOR_RANGE, MediaFormat.COLOR_RANGE_FULL);

Also doesn't help on android 24.


回答1:


I talked to engineers from Android team at Google, and they mentioned this part of the code should be implemented by OEMs(like Samsung and Qualcomm). and indeed when I reached out to engineers at Qualcomm they confirmed that this is not implemented on their side. I don't have any ETA, but seems like they have started working on this case.



来源:https://stackoverflow.com/questions/42518843/support-full-swing-android-media-decoder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!