i.MX 8M plus - How to enable gstream, rtsp server

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

i.MX 8M plus - How to enable gstream, rtsp server

228 Views
malikshubham19
Contributor I

Hi,

We got this new EVK board with os08a20 sensor for ISP tuning and we followed the guide in AN13713.pdf document to setup and do gstream, but it's not working

1. Issue 1: We can stream after running ./tuningext server and use tuning tool but simply inputting below command, nothing comes on monitor.

root@imx8mp-lpddr4-evk:~# gst-launch-1.0 -v v4l2src device=/dev/video2 ! "video/x-raw,format=YUY2,width=1920,height=1080" ! queue ! waylandsink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: crop-bounds = < (int)0, (int)0, (int)0, (int)0 >
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction)120/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction)120/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction)120/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction)120/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction)120/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709
/GstPipeline:pipeline0/GstWaylandSink:waylandsink0.GstPad:sink: caps = video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction)120/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709

could please help to check ?

0 Kudos
5 Replies

219 Views
malikshubham19
Contributor I

When i use start_isp.sh, below process happens

 

root@imx8mp-lpddr4-evk:/opt/imx8-isp/bin# ./start_isp.sh
Starting isp_media_server for Single os08a20
RUN_SCRIPT=/opt/imx8-isp/bin/run.sh
RUN_SCRIPT_PATH=/opt/imx8-isp/bin
Trying configuration "os08a20_4k"...
Killing preexisting instances of video_test and isp_media_server:
PID TTY STAT TIME COMMAND 690 ? Sl 0:00 ./isp_media_server CAMERA0
Removing vvcam-video...
Removing vvcam-isp...
Removing vvcam-dwe...
Removing imx8-media-dev...
Removing ov2775...
Removing os08a20...
Removing basler-camera-driver-vvcam...
Loading module os08a20 ...
os08a20
Loaded /lib/modules/6.1.36+g6c9a2af7c946/extra/sensor/os08a20/os08a20.ko
Loading module imx8-media-dev ...
imx8_media_dev
Loaded /lib/modules/6.1.36+g6c9a2af7c946/kernel/drivers/staging/media/imx/imx8-media-dev.ko
Loading module vvcam-dwe ...
vvcam_dwe
Loaded /lib/modules/6.1.36+g6c9a2af7c946/extra/vvcam-dwe.ko
Loading module vvcam-isp ...
vvcam_isp
Loaded /lib/modules/6.1.36+g6c9a2af7c946/extra/vvcam-isp.ko
Loading module vvcam-video ...
vvcam_video
Loaded /lib/modules/6.1.36+g6c9a2af7c946/extra/video/vvcam-video.ko
Starting isp_media_server with configuration file CAMERA0
Terminated // It's terminated here.

 

 

0 Kudos

194 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

There is no module for your camera on the EVK bsp, you need build you camera driver or copy the module to kernel version.

Regards

0 Kudos

154 Views
malikshubham19
Contributor I

Hi,

We have done the procedures mentioned in AN13712 8MP_ISP_OS08A20_Sensor.pdf related to building kernel, isp-imx, isp-vvcam, storing useful .dtb and .ko files to board, added Sensor0_Entry.cfg, enabled isp and camera on board step. Could you please help tell, what specifics we need to do more ?

0 Kudos

141 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Are you using the 6.1.22 kernel on the BSP? then building again, since the module is not working all right in your board you have to build again.

 

Regards

0 Kudos

93 Views
malikshubham19
Contributor I

Currently using 6.1.36. Is there any document that describes what all checks we need to do before starting tuning ? We just got the EVK and sensor board and flashed.

0 Kudos