No video on Odroid M1S with Rockchip RK3566 and Mali G52 GPU
Note: I previously commented on #356, as it seems to describe a similar issue. I wanted to create this new issue just in case my reply on the older thread was missed due to its age. If you’ve already seen it, please feel free to disregard this issue.
Playing video using the main flutter-pi branch stops the app on the assert here:
ATTR_PURE const struct egl_modified_format *frame_interface_get_format(struct frame_interface *interface, int index) { assert(index < interface->n_formats); return interface->formats + index; } This is caused by EGL_EXT_image_dma_buf_import_modifiers not being supported.
I tried the fix/mali branch but then it complains that YU12 is not supported:
plugins/gstreamer_video_player/frame.c: Video format is not supported by EGL: YU12 (modifier: 0). I noticed that there is an extra commit https://github.com/ardera/flutter-pi/commit/34e0238056a29b20a4adb1c960025f858762d1a7, but unfortunately i cannot build it here. Is that because i am using an outdated gstreamer here? I am currently using 1.16.3.
The video i am trying to play does work when playing with gst-launch on weston.
Do you have an idea how to solve this?