Dear Nick,
I have a streaming product where I use BPI-W2 (android) and stream HDMI Input from camera to youtube with custom HTML overlays.
I want to switch to VIM 4 and use same app here. Need to get code on getting HDMI video source.
Can you please share source code for any APK that has functionality to take the HDMI input video? Preferably the one where hdmi source is exposed as default camera.
I went over but this seems to be a smart TV app to reads HDMI Inputs connected to TV. Please correct me if I am wrong. The box is yet to reach me so not able to check completely.
I am looking at an android apk example where hdmi input source is accessed on VIM4 android box. I want the library that gives access to the Video and Audio of the HDMI Input source (like a camera) connected to the HDMI IN of VIM4 with android OS. If there is any documentation please share along with APK and the Source Code.
Really appreciate any help on this.
Got the board and was able to get HDMI input working but need small insight here.
I am getting the camera input through intent (below code you recommended) but I want to show the camera preview on a surface. Can you point to me on how can I access HDMI2 without using intent.
Intent intent = new Intent(TvInputManager.ACTION_SETUP_INPUTS);
intent.putExtra(“from_tv_source”, true);
intent.putExtra(TvInputInfo.EXTRA_INPUT_ID, “com.droidlogic.tvinput/.services.Hdmi2InputService/HW6”);
startActivity(intent);
Hi Team,
I am in similar boat. When i go through code, I am unable to find and make a call to display my input surface on Vim4’s native preview display.
I was using Realtek HDMI IN and passing my surface for preview like below:
private RtkHDMIRxManager hdmiRxManager;
hdmiRxManager.setPreviewDisplay3(surfaceTexture); // Exposed method from Realtek to display my surface
And the internal code(from .class file) looks like below
public final void setPreviewDisplay3(SurfaceTexture surfaceTexture) throws IOException {
Surface surface = new Surface(surfaceTexture);
this.native_setPreviewDisplay(surface);
}
It will be very helpful for me, if you can guide me how to make a call to native preview display.
Anybody have this working? I’ve tried running the LiveTV app but I cant get android studio to build it. Is there a simple demo somewhere of using the HDMI input? It would be great to use the Camera APIs to record the HDMI input. Is that possible?
Also interested in this. I want to do OSD overlay on top of the HDMI input and best thing would be grabbing each frame, modifying and senting to HDMI out. Is that doable?