Why can't I use nvjpeg with gstream on orin

1.when I used the order as follows:
gst-launch-1.0 v4l2src device=/dev/video0 io-mode=2 ! “video/x-raw,width=1920,height=1080,format=YUY2,framerate=30/1” ! videoflip method=1 ! nvvidconv ! “video/x-raw(memory:NVMM),format=I420” ! nvjpegenc ! filesink location=test.jpg -e
2. view jtop


3. why nvjpeg states always OFF

Hi @colave. I don’t think this is Omniverse-related. Moving to Orin forums where I think someone there will be able to help you better.

1 Like

Jtop may not be in line with NVJPG management in R35.1…
You may try using tegrastats and you may see NVJPG1 with a constant rate equivalent to what can be read from:

cat /sys/devices/platform/13e40000.host1x/15380000.nvjpg/acm/clk_cap/nvjpg
cat /sys/devices/platform/13e40000.host1x/15540000.nvjpg1/acm/clk_cap/nvjpg1

You may also check the following locations for further investigating:

find /sys/kernel/debug -name '*nvjpg*'

@rbonghi may further comment, or someone else from NVIDIA may shade some better light on this than I could.

sorry,
when I use order
gst-launch-1.0 v4l2src device=/dev/video0 io-mode=2 ! “video/x-raw,width=1920,height=1080,format=YUY2,framerate=30/1” ! videoflip method=1 ! nvvidconv ! “video/x-raw(memory:NVMM),format=I420” ! nvjpegenc ! filesink location=test.jpg -e
I find the GPU don’t work

@rbonghi plz help

when i use NVJPG ,

  1. use order as follows:
    gst-launch-1.0 v4l2src device=/dev/video0 io-mode=2 ! “video/x-raw,width=1920,height=1080,format=YUY2,framerate=30/1” ! videoflip method=1 ! nvvidconv ! “video/x-raw(memory:NVMM),format=I420” ! nvjpegenc ! filesink location=test.jpg -e

  2. jtop as follows:

  3. Position 1 why don’t change
    position 2 don’t change

Hi,
Please try Jetpack 5.1 or 5.1.1 and run sudo tegrastats. We can see NVJPG enabled while running the command:

$ gst-launch-1.0 videotestsrc is-live=1 ! video/xraw,width=1920,height=1080,format=YUY2 ! nvvidconv ! 'video/xraw(memory:NVMM),format=I420' ! nvjpegenc ! fakesink

Please give it a try.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.