usb camera streaming to the screen on i.MX8 with vpudec

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

usb camera streaming to the screen on i.MX8 with vpudec

625 Views
mckim
Contributor I

Hello,

 

About usb camera streaming to the screen on i.MX8,

 

the below command works, but framerate is too slow,

gst-launch-1.0 v4l2src -v device=/dev/video2 ! image/jpeg,width=1920,height=1080,framerate=30/1 ! jpegdec ! autovideosink

 

so If I use the below command for using hardware decoding,

gst-launch-1.0 v4l2src -v device=/dev/video2 ! image/jpeg,width=1920,height=1080,framerate=30/1 ! vpudec ! autovideosink

it show "OMX JPEG ! decoder_decode_jpeg JPEGDEC_STRM_ERROR", vpudec does not work.

 

Could you solve this problem?

 

I tested it with v5.10_1.0.0, L5.4.70, L4.19.35 image, it still did not work.

But i.MX6 works ok with v5.10_1.0.0, is there any other parameter do I have to use to run it on i.MX8?

 

Thank you...

 

0 Kudos
Reply
2 Replies

621 Views
igorpadykov
NXP Employee
NXP Employee

Hi Min

 

i.MX6 and i.MX8 use different plugins as described in Table 15. i.MX GStreamer 1.0 plugins

i.MX Linux Release Notes

examples can be found in  i.MX8GStreamerUserGuide.pdf

 

Best regards
igor

0 Kudos
Reply

612 Views
mckim
Contributor I

Hello, igorpadykov,

Thank you for the reply.
I have checked the document.
vpudec should work both on i.MX6 and i.MX8.
I think it does not need any different command, pipeline, or plugin to play usb camera beween i.MX6 and i.MX8.
Could you check it again?

Thank you...
BR,
mckim

0 Kudos
Reply