Opilki_Inside
Posts: 2
Joined: Sat Feb 24, 2018 11:18 pm

video_decode -> egl_render doesn't work for some videos

Sat Feb 24, 2018 11:28 pm

Hey there,

I have a h264 video stream (no audio) that comes from the network. It works fine with hello_video sample, however I have problems playing this video in hello_videocube. I verified that test.h264 works in hello_videocube.

I suspect that something wrong with the format of the video file, but it plays in other media players, and in hello_video. Maybe egl_render has some additional requirements for the format?

I never receive OMX_EventPortSettingsChanged event in hello_videocube only for my video stream.

Could anyone help me to understand what's going on?

Here's a link on the video file that doesn't work with the cube sample:
https://drive.google.com/file/d/1eGMmru ... sp=sharing

I haven't done any changes in hello_videocube sample code.

Thanks,
Pavel

Opilki_Inside
Posts: 2
Joined: Sat Feb 24, 2018 11:18 pm

Re: video_decode -> egl_render doesn't work for some videos

Sun Feb 25, 2018 7:35 pm

After reboot things changed a little bit, so now I'm receiving OMX_EventPortSettingsChanged event.
However, after calling

Code: Select all

OMX_FillThisBuffer(ILC_GET_HANDLE(egl_render), eglBuffer)
I do not receive fill_buffer_done callback.

So it looks like some error happened during OMX_FillThisBuffer call.

After looking into vcdbg log msg (with log level 64) I found "EGL/Input image size mismatch". Then I found hard-coded image resolution in triangle.c and changed it.

Everything works fine now.

Return to “OpenMAX”

Who is online

Users browsing this forum: No registered users and 1 guest