Ask Your Question

Revision history [back]

H264 without ffmeg

In order to get an h264 stream, I'm using a simple android library (wich is working well enough)

I send the decode stream to a surface view

mRtspClient = new RtspClient(Video_H264/*rtspUrl*/);
mRtspClient.setSurfaceView(mSurfaceView);

I there a way to redirect this to the JavaCameraView (Or the Native one) after processing with opencv ?

I' tried ImageReader without succes.

H264 without ffmeg

In order to get an h264 stream, I'm using a simple android library (wich is working well enough)

I send the decode stream to a surface view

mRtspClient = new RtspClient(Video_H264/*rtspUrl*/);
mRtspClient.setSurfaceView(mSurfaceView);

I there a way to redirect this to the JavaCameraView (Or the Native one) after processing with opencv ?

I' tried ImageReader without succes.

opencv 4.0.1 android sdk28

H264 without ffmeg

In order to get an h264 stream, I'm using a simple android library (wich is working well enough)

I send the decode stream to a surface view

mRtspClient = new RtspClient(Video_H264/*rtspUrl*/);
mRtspClient.setSurfaceView(mSurfaceView);

I there a way to redirect this to the JavaCameraView (Or the Native one) after processing with opencv ?

I' I've tried ImageReader and onImageAvailable(ImageReader reader) without succes.

opencv 4.0.1 android sdk28

H264 without ffmeg

In order to get an h264 stream, I'm using a simple android library (wich is working well enough)

I send the decode stream to a surface view

mRtspClient = new RtspClient(Video_H264/*rtspUrl*/);
mRtspClient.setSurfaceView(mSurfaceView);

I've tried ImageReader and onImageAvailable(ImageReader reader) without succes.

opencv 4.0.1 android sdk28

H264 without ffmeg

In order to get an h264 stream, I'm using a simple android library (wich is working well enough)

I send the decode decoded stream to a surface view

mRtspClient = new RtspClient(Video_H264/*rtspUrl*/);
RtspClient(Video_H264);
mRtspClient.setSurfaceView(mSurfaceView);

I've tried ImageReader and onImageAvailable(ImageReader reader) without succes.Can I extract a Mat from the MediacCodec Buffers directly ?

opencv 4.0.1 android sdk28