Low framerate streaming 4K for decode H264 on IMX8MP

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

Low framerate streaming 4K for decode H264 on IMX8MP

跳至解决方案
801 次查看
thepnimit
Contributor III

Dear NXP,

In product details for IMX8MP is shown it can decode and encode H264 at 1080p60FPS

Untitled.png

We would like to know if it would still work fine if we reduce the framerate to 10FPS or 5FPS and change the resolution to 2160p. Alternatively, is the hardware fixed at a resolution of 1080p only?

Best regards

Thepnimit

标签 (1)
0 项奖励
回复
1 解答
756 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hello @thepnimit 

I hope you are doing well.

"What the kernel version is in your reference"
->It is supported till the latest BSP version 6.1.22
->Please refer to section 7 Multimedia from the below link for reference.
https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

For the error message "Internal data stream error"
->Please refer to the below link for reference.
https://community.nxp.com/t5/i-MX-Graphics/gst-launch-1-0-returns-Internal-data-stream-error/td-p/15...

I hope this will help!

Thanks & Regards,

Dhruvit Vasavada

在原帖中查看解决方案

0 项奖励
回复
3 回复数
784 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hello @thepnimit 

I hope you are doing well.

->The IMX8MP is not fixed at a resolution of 1080p only. It can decode and encode H.264 at resolutions up to 4096x2160.
->The performance will decrease as the resolution increases.

I hope this will help!

Thanks & Regards,

Dhruvit Vasavada

0 项奖励
回复
771 次查看
thepnimit
Contributor III

Dear Dhruvit,

Thank you for your reply.

I would like to know what the kernel version is in your reference, as it pertains to unlocking the resolution limit for the VPU H264 encoder.
In my kernel version 5.15.71, there appears to be a resolution limitation within the GStreamer software.

Untitled2.png

Furthermore, when it comes to the VPU decoder, I am encountering difficulties in decoding H264 image from my camera at a resolution of 3840x2160 into raw video format. The gstreamer program displays an error message stating "Internal data stream error."

Example my pipeline 

gst-launch-1.0 -e -v v4l2src device=/dev/video0 ! video/x-h264,width=3840,height=2160 ! queue ! vpudec ! appsink

 

Best regards

Thepnimit

0 项奖励
回复
757 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hello @thepnimit 

I hope you are doing well.

"What the kernel version is in your reference"
->It is supported till the latest BSP version 6.1.22
->Please refer to section 7 Multimedia from the below link for reference.
https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

For the error message "Internal data stream error"
->Please refer to the below link for reference.
https://community.nxp.com/t5/i-MX-Graphics/gst-launch-1-0-returns-Internal-data-stream-error/td-p/15...

I hope this will help!

Thanks & Regards,

Dhruvit Vasavada

0 项奖励
回复