i.MX8 Gstreamer Pipelines

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

i.MX8 Gstreamer Pipelines

2,221 Views
shawnnageli
Contributor II

I was curious if at any point there may be a listing of gstreamer pipeline examples for the i.MX8.  Something similar to this thread for the i.MX6 https://community.nxp.com/docs/DOC-93387 

Currently I have been doing some development between the SW encoder in the i.MX 8M and the HW encoder in the i.MX 8M Mini.  I have gstreamer pipelines working for video streaming from the CSIMIPI camera to the HDMI port and files.  I also have a working pipeline for the SW encoder on the i.MX 8M. I am in need of an example of a pipeline that will encode the camera CSIMIPI camera at 1920 x 1080 to a fakesink or file for the i.MX 8M Mini.

0 Kudos
3 Replies

1,324 Views
joanxie
NXP TechSupport
NXP TechSupport

i.mx8M don't have encoding HW, for SW encoding, pls refer to the link as below:

https://community.nxp.com/thread/476358?commentID=1029609#comment-1029609 

0 Kudos

1,324 Views
shawnnageli
Contributor II

Yes, I am aware the i.MX 8M does not have a hardware encoder.  I have the software encoder working for the i.MX 8M but wanted to do HW encoding with the i.MX 8M Mini (Which has a hardware encoder) for a comparison and was inquiring regarding gstreamer commands to do that with the i.MX 8M Mini

0 Kudos

1,324 Views
joanxie
NXP TechSupport
NXP TechSupport

I send the command for camera transcode to you for reference:

gst-launch-1.0 v4l2src ! video/x-raw,format=NV12,width=1920,height=1080 ! queue max-size-time=0 ! vpuenc_h264 ! h264parse ! vpudec ! queue max-size-time=0 ! waylandsink enable-tile=true sync=false

you can change the parameter you want,like width ,height, format

0 Kudos