insight-platform / Savant

Python Computer Vision & Video Analytics Framework With Batteries Included
https://savant-ai.io
Apache License 2.0
542 stars 44 forks source link

Improve the NVENC presence for Jetson family #497

Closed bwsw closed 10 months ago

bwsw commented 11 months ago

Affects:

Use the snippet from the following GStreamer pipeline to ensure NVENC is present:

docker run -it --rm \
    -e GST_DEBUG=2 \
    --entrypoint gst-launch-1.0 \
    --runtime=nvidia \
    ghcr.io/insight-platform/savant-adapters-deepstream-l4t \
    videotestsrc num-buffers=1 ! \
    'video/x-raw,width=256,height=256' ! \
    nvvideoconvert copy-hw=2 ! \
    nvv4l2h265enc ! \
    h265parse config-interval=-1 ! \
    'video/x-h265,stream-format=byte-stream,alignment=au' ! \
    fakesink
bwsw commented 10 months ago

The issue will not be fixed yet because DS6.3 does not provide the robust approach to test that NVENC is not supported on Jetson Orin Nano (OS hangs).