Low framerate streaming 4K for decode H264 on IMX8MP

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

Low framerate streaming 4K for decode H264 on IMX8MP

Jump to solution
530 Views
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

Labels (1)
0 Kudos
1 Solution
485 Views
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

View solution in original post

0 Kudos
3 Replies
513 Views
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 Kudos
500 Views
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 Kudos
486 Views
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 Kudos