Jetson Nano is popular for its AI capabilities in a small form factor and enabling numerous AI applications. But it also packs powerful HW Codecs for H.264/H.265 format and supports encoding and decoding up to Ultra HD resolutions. Unlike other Jetson devices, Nano has a port of ffmpeg that uses HW codecs. Availability of ffmpeg on Nano makes it readily integrate with VideoCoin Network, and provides a very power efficient VideoCoin Worker.
Follow the usual setup of downloading Ubuntu 18.04 64 bit OS and flash the microSD card as per the instruction specified in the following NVidia's developer site :
The following git repo contains a patch for enabling FFMPEG to use on Jetson Nano.
Follow the instructions in the site and prepare ffmpeg to use Nano HW Codecs,
You can learn more about setting up a worker here
Use the "Worker" tab in VideoCoin Network Console and create the worker. The "Client Id" assigned to the worker needs to be used while running the worker as described in the following section.
Set the environment variables and start the transcode worker as shown below.
SECRET=xxxxx CLIENT_ID=XXXXXX-9984-465f-9b6a-683639ed0fa6 DISPATCHER_ADDR=d.dev.videocoin.network:5008
./transcoder_arm mine -k <keyfile>
Environment variables and command-line options
Ethereum key file. Ethereum key file can be created using the ethkey tool as detailed in the following link..
Miner ID obtained from the worker menu of VideoCoin Network Console
Password for the ethereum key file
Obtain the dispatch address from VideCoin support Example: d.dev.videocoin.network:5008
Nvidia jetson-nano supports encoding of four streams at [email protected] H264 or H265.
We tested the worker for FullHD resolution at 30fps and following graph shows CPU usage when jetson-nano
The above graph can be interpreted as the VideCoin worker is handling FullHD transcoding with live streaming without any hiccups.
Jetson nano can be used to transcode up to 4k @30fps resolutions.