Chromium V4L2 video decode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Chromium V4L2 video decode

跳至解决方案
1,753 次查看
PiotrKrygier
Contributor II

Hello,

I'm using Yocto Langdale release for IMX8MM. According to this commit message, V4L2 hardware video decoding should be enabled in Chromium with this release:

commit fe0d3587d905a8fa32a9830d177f97c90352fdc5

chromium-ozone-wayland: Add V4L2VDA support on Linux [YOCIMX-6545]
    - support on i.MX 8 series platform.
    - 8MM/8MP/8MQ support h264/hevc/vp8/vp9 hardware decoding.
    - 8QM/8QXP support h264/hevc/vp8 hardware decoding.
    - support seek, playrate change and resolution change.
    - support video acceleration for online media platform such as Youtube, bilibili.

Signed-off-by: Hou Qi <qi.hou@nxp.com>
 
But when I launch Chromium and try to play a h264 video (mp4 file), HW video decoding is disabled and the video stutters. Are there a special configuration that I have to set to enable this feature?
 
Best regards,
Piotr
0 项奖励
回复
1 解答
1,647 次查看
PiotrKrygier
Contributor II
Hi,
Thank you for the link however:
1. What you provided is a backport for code, that is already present in langdale release that I'm using. Adding flags mentioned in that post did nothing.
2. I managed to fix the problem. It was fortunately not related to code itself but to the faulty sdcard, that was used to hold the image.
Still, thank you for showing interest in this post and for your time :).

BR,
Pior

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,679 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @PiotrKrygier ,

I hope you are doing well.

Please refer to the below-given link for reference.
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8-chromium-hardware-accelerated-vide...

Thanks & Regards,

Sanket Parekh

0 项奖励
回复
1,648 次查看
PiotrKrygier
Contributor II
Hi,
Thank you for the link however:
1. What you provided is a backport for code, that is already present in langdale release that I'm using. Adding flags mentioned in that post did nothing.
2. I managed to fix the problem. It was fortunately not related to code itself but to the faulty sdcard, that was used to hold the image.
Still, thank you for showing interest in this post and for your time :).

BR,
Pior
0 项奖励
回复
1,640 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @PiotrKrygier ,

I hope you are doing well.

I'm happy to help you.
"I managed to fix the problem. It was fortunately not related to code itself but to the faulty sd card, that was used to hold the image."

As the Issue is solved now, hence Can I close the case?

Thanks & Regards,

Sanket Parekh

0 项奖励
回复
1,638 次查看
PiotrKrygier
Contributor II

Yes, thank you. The issue can be closed now.

0 项奖励
回复