Read raw streams from HDMI inputs in android box

I am writing an application for android boxes (not Android TV) that have an HDMI input port. How to read raw video stream from HDMI input and display it in android videoView?

The Android kernel I use has Amlogic processors. It uses API 19 (Android 4.4) and above.

+6
source share
1 answer

Well, it's not easy. A modified kernel is required to detect and interact with an HDMI device. To get the HDMI input from the device itself, you will need to write the NDK code. Then, after changing the input data to the appropriate format, which is compatible , for example, encoding it on H264, you can submit it to VideoView.

Check out this topic for those who have done something similar by taking the HDMI input on the Nexus 7.

How to detect HDMI connection on Android

+2
source

All Articles