Question about the operation when using imxvideoconvert_g2d with gstreamer.

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

Question about the operation when using imxvideoconvert_g2d with gstreamer.

534 Views
kuri
Contributor III

I am conducting tests with the following commands in gstreamer.
However, when attempting to output from imxvideoconvert_g2d to appsink, the operation comes to a halt.
What could be the potential causes of this issue?

gst-launch-1.0 v4l2src device=/dev/video1 ! imxvideoconvert_g2d ! autovideosink
OK: Functions correctly.

gst-launch-1.0 v4l2src device=/dev/video1 ! videoconvert ! appsink name=sink
OK: Functions correctly.

gst-launch-1.0 v4l2src device=/dev/video1 ! imxvideoconvert_g2d ! appsink name=sink
NG: The operation comes to a halt.


root@imx8mp-lpddr4-evk:~# GST_DEBUG=2 gst-launch-1.0 v4l2src device=/dev/video1 ! imxvideoconvert_g2d ! appsink name=sink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
0:00:00.255372500 696 0xaaaae21c7460 WARN v4l2 gstv4l2object.c:4623:gst_v4l2_object_probe_caps:<v4l2src0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
New clock: GstSystemClock
[ 1054.652977] bypass csc
[ 1054.655368] input fmt YUV4
[ 1054.658074] output fmt YUYV
Redistribute latency...
0:00:00.909568750 696 0xaaaae21c7460 WARN v4l2src gstv4l2src.c:1123:gst_v4l2src_create:<v4l2src0> lost frames detected: count = 1 - ts: 0:00:00.631526250
0:00:00.6 / 99:99:99.

 

CPU:i.MX8MP

0 Kudos
Reply
1 Reply

496 Views
joanxie
NXP TechSupport
NXP TechSupport

try to use waylandsink instead appsink

0 Kudos
Reply