Chromium V4L2 video decode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Chromium V4L2 video decode

Jump to solution
1,504 Views
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 Kudos
Reply
1 Solution
1,398 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
1,430 Views
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 Kudos
Reply
1,399 Views
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 Kudos
Reply
1,391 Views
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 Kudos
Reply
1,389 Views
PiotrKrygier
Contributor II

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

0 Kudos
Reply