Chromium V4L2 video decode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Chromium V4L2 video decode

ソリューションへジャンプ
1,509件の閲覧回数
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,403件の閲覧回数
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,435件の閲覧回数
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,404件の閲覧回数
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,396件の閲覧回数
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,394件の閲覧回数
PiotrKrygier
Contributor II

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

0 件の賞賛
返信