Jetson Nano 2gb RPI Camera v2.1

Some other things I tried that might not be relevant:

After reading this forum post, I tried the pipeline provided:

v4l2src device=/dev/video0 ! image/jpeg, width=640,height=480,framerate=30/1,format=MJPG ! nvv4l2decoder mjpeg=1 ! nvvidconv ! video/x-raw,format=BGRx ! videoconvert ! video/x-raw,format=BGR ! appsink drop=true

Which outputted:

Opening in BLOCKING MODE
[ WARN:0@1.182] global /home/codydg/opencv/workspace/opencv-4.6.0/modules/videoio/src/cap_gstreamer.cpp (2402) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src0 reported: Internal data stream error.
[ WARN:0@1.187] global /home/codydg/opencv/workspace/opencv-4.6.0/modules/videoio/src/cap_gstreamer.cpp (1356) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0@1.187] global /home/codydg/opencv/workspace/opencv-4.6.0/modules/videoio/src/cap_gstreamer.cpp (862) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
Unable to open camera!

I figured this was due to an incompatibility between v4l2src and my Raspberry Pi Camera. I found rpicamsrc which supports image/jpeg like the pipeline above used, so I tried changing the pipeline to:

rpicamsrc device=/dev/video0 ! image/jpeg, width=640,height=480,framerate=30/1,format=MJPG ! nvv4l2decoder mjpeg=1 ! nvvidconv ! video/x-raw,format=BGRx ! videoconvert ! video/x-raw,format=BGR ! appsink drop=true

Which outputted Opening in BLOCKING MODE, then hung indefinitely.