Hello,
I’m encountering an issue with my Jetson NX device running JetPack 5.1.2 when executing a GStreamer pipeline. The pipeline is designed to capture video from two sources, decode MJPEG, and save the frames to JPEG images, but I’m experiencing image artifacts (broken lines in the images).
The pipeline is as follows:
gst-launch-1.0 -vvv \
v4l2src do-timestamp=true device=/dev/video2 ! \
image/jpeg,framerate=60/1,width=1280,height=960 ! \
videorate ! \
image/jpeg,framerate=10/1 ! \
nvv4l2decoder mjpeg=1 ! \
nvvidconv flip-method=2 ! \
'video/x-raw(memory:NVMM),width=1280,height=960' ! \
nvjpegenc ! \
multifilesink location="C_2/frame_%05d.jpg" post-messages=true \
v4l2src do-timestamp=true device=/dev/video0 ! \
image/jpeg,framerate=60/1,width=1280,height=960 ! \
videorate ! \
image/jpeg,framerate=10/1 ! \
nvv4l2decoder mjpeg=1 ! \
nvvidconv flip-method=2 ! \
'video/x-raw(memory:NVMM),width=1280,height=960' ! \
nvjpegenc ! \
multifilesink location="C_1/frame_%05d.jpg" post-messages=true
When I run this pipeline on JetPack 5.1.2, I notice occasional image artifacts like broken lines. However, on JetPack 4.4.1, this pipeline produces no artifacts, and images are saved correctly.
Here are the GStreamer versions for each JetPack:
- JetPack 4.4.1: GStreamer 1.14.5
- JetPack 5.1.2: GStreamer 1.16.3
I would appreciate any insights on the following:
- Potential reasons for this behavior when using JetPack 5.1.2 and GStreamer 1.16.3.
- Any known compatibility issues with this pipeline on JetPack 5.1.2.
- Possible pipeline modifications to resolve the artifacts.
Thank you in advance for your assistance! Sample images with artifacts are available if needed.