Question about nvv4l2decoder element

Hi @DaneLLL, I have upload the edited nv.sh file:

https://forums.developer.nvidia.com/uploads/short-url/jrw4DBfeGwMWSJgfO2kWUGjHTbA.sh

I am not sure if I edited it correctly.
I just added the text you provided in the link into line126 ~ 162.

Hi,
Please add rc.local:
omxh264enc and nvvidconv NOT working unless... - #22 by DaneLLL

And put the commands in /etc/rc.local:
Nvvideoconvert issue, nvvideoconvert in DS4 is better than Ds5? - #3 by DaneLLL

Hi @DaneLLL ,

Thanks for you help. It works now.
I will write down the steps:

  1. create new file /etc/systemd/system/rc-local.service
[Unit]
 Description=/etc/rc.local Compatibility
 ConditionPathExists=/etc/rc.local

[Service]
 Type=forking
 ExecStart=/etc/rc.local start
 TimeoutSec=0
 StandardOutput=tty
 RemainAfterExit=yes
 SysVStartPriority=99

[Install]
 WantedBy=multi-user.target
  1. create new file /etc/rc.local
#!/bin/bash

sudo nvpmodel -m 0
sudo jetson_clocks
echo on > /sys/devices/platform/13e40000.host1x/15340000.vic/power/control
echo userspace > /sys/devices/platform/13e10000.host1x/15340000.vic/devfreq/15340000.vic/governor
echo 729600000 > /sys/devices/13e10000.host1x/15340000.vic/devfreq/15340000.vic/max_freq
echo 729600000 > /sys/devices/13e10000.host1x/15340000.vic/devfreq/15340000.vic/userspace/set_freq
exit 0
  1. add execute permission for/etc/rc.local file:

sudo chmod +x /etc/rc.local

  1. enable rc-localservice on system boot:

sudo systemctl enable rc-local

1 Like

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