Please add mjpeg to only software decoding (disable am-amjpeg), also for situation generaly enabled hw decoding of all formats. Only as ffmpeg software decoding for mjpeg would be good solution for it in CE21NG and CE22NO. If is not device with good hw acceleration of mjpeg on CE21NG and CE22NO. Thank you.
I tried also hw acceleration on second device Minix with s 922xj and also have issue with mmjpeg than at ugoos device.
Please add setting for disable mmjpeg hw acceleration as part of existing setting for mpeg4 in CE21NG and CE22NO. It would be elegant and fast solution for broked am-amjpeg (mjpeg have too many standards âŚfrom microsift, apple, manufactures of cameras,âŚsw decoding is best solution: (Motion JPEG - Wikipedia).
So after solution is only disabling of unfuctional am-mjpeg.
This issue is fixed on Raspberry Pi devices when using kodi21. It more accurately detects pixel formats that canât be decoded by the hardware (e.g. YUV422, YUV444), and falls back to software decode.
This will not affect amcodec issues on coreelec (which has a different implementation).
I tried ask for chatgpt and analyze code of aml_mjpeg_parser.c of CE and my sample video. Issue is that this video is not in cmyk, but in RGB. According to chatgpt is not hw accelerated RGB video for mjpeg at amlogic devices. Tomorow i know add here a proposal of patch from chatgpt. He would maybe a proposal for software decoding (i have chatgpt 5 only as free and it spent more days due to limits of answer for free users).