I tried hardware accelerated h264 encoding with gst-launch command.
But, I met following error message.
ERROR: from element /GstPipeline:pipeline0/nvv4l2h264enc:nvv4l2h264enc0: Device ‘/dev/nvhost-msenc’ failed during initialization
I couldn’t find /dev/nvhost-msenc file. So I think there was some problem with installing.
I installed the correct version of deepstream softwares.
How can I solve this problem?
cudnn 7.6.5
cuda toolkit 10.2 • Hardware Platform (Jetson / GPU) GTX1080 • DeepStream Version 5.0.1 • JetPack Version (valid for Jetson only) • TensorRT Version 7.0 • NVIDIA GPU Driver Version (valid for GPU only) 450.51 • Issue Type( questions, new requirements, bugs) • How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing) • Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
Can you show us your pipeline?
The following pipeline can work:
gst-launch-1.0 --gst-debug=v4l2videoenc:5 videotestsrc pattern=15 ! ‘video/x-raw, format=RGBA, width=1280, height=720, fps=30/1’ ! nvvideoconvert ! ‘video/x-raw(memory:NVMM), format=NV12, width=1280, height=720’ ! nvv4l2h264enc bitrate=2000000 profile=2 ! filesink location=test.264
I also suspect so. It could be driver or hardware. How can I check it?
The error message clearly says about /dev/nvhost-msenc. But I couldn’t find it in the /dev directory of my system.
Any idea?
I tried reinstalling the whole system many times. Still the same error.
Is it related to GPU driver version?
Should try another driver version? I am using 450.51.
How can I check if it is a hardware problem or not?