Use of the NVIDIA Jetson Nano for DATV

Digital ATV - The latest generation, cutting edge ATV - Please discuss it all here.
Forum rules
This forum is run by the BATC (British Amateur Television Club), it is service made freely available to all interested parties, please do not abuse this privilege.

Thank you
G4ZRT
Posts: 4
Joined: Mon Aug 19, 2019 10:12 pm

Re: Use of the NVIDIA Jetson Nano for DATV

Post by G4ZRT » Tue Aug 20, 2019 4:56 pm

Have tried installing as per the instructions using the latest Jetson build JP 4.2.1 dated 2019/7/19. Many issues with this build and no success.

Then tried version 3.2.1 dated 2018/06/13 and while this got a little further still would not complete.

The fatal error was during the installation of hacktv where it could not find the ffmpeg libraries:

Line that failed:

Code: Select all

gcc -g -Wall -pthread -O3   -c ffmpeg.c -o ffmpeg.o
With the errors (abbreviated):

Perhaps you should add the directory containing `libavutil.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavutil' found
gcc -g -Wall -pthread -O3 -c ffmpeg.c -o ffmpeg.o
ffmpeg.c:39:10: fatal error: libavcodec/avcodec.h: No such file or directory
#include <libavcodec/avcodec.h>
^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:32: recipe for target 'ffmpeg.o' failed
make: *** [ffmpeg.o] Error 1

I did install the developer version off ffmpeg but this made no difference. Tried changing the PKG_CONFIG_PATH variable but still no luck.

Have been through this several times today...

Any help appreciated.

Mark

g0mjw
Posts: 888
Joined: Sat Sep 20, 2014 9:15 am

Re: Use of the NVIDIA Jetson Nano for DATV

Post by g0mjw » Thu Aug 22, 2019 9:24 pm


G4ZRT
Posts: 4
Joined: Mon Aug 19, 2019 10:12 pm

Re: Use of the NVIDIA Jetson Nano for DATV

Post by G4ZRT » Fri Aug 23, 2019 12:37 pm

OK so here is the solution to my problem creating a workable image on the Jetson Nano:

Do not use the latest Jetson Nano Jetpack v 4.2.1 but use the older 3.2.1 image here - https://developer.nvidia.com/embedded/d ... -l4t-3_2_1

The installation instructions should then be:

sudo apt-get update
sudo apt-get -y dist-upgrade
sudo apt-get -y install git htop nano vlc v4l-utils

sudo apt-get install libhackrf-dev libavutil-dev libavdevice-dev libswresample-dev libswscale-dev libavformat-dev libavcodec-dev

git clone https://github.com/F5OEO/dvbsdr
cd dvbsdr
./install.sh

This still gives some errors during the compile but produces a working system.

Hope this helps others.


73
Mark

g0mjw
Posts: 888
Joined: Sat Sep 20, 2014 9:15 am

Re: Use of the NVIDIA Jetson Nano for DATV

Post by g0mjw » Fri Aug 23, 2019 12:53 pm

I will check what Jetpack version I have - I know it won't be the latest as this is only just released. Usually the latest version is to be preferred and there is a year and a version upgrade between 3.2 and 4.2. https://developer.nvidia.com/embedded/jetpack-archive

I do not recall needing to install the extra libs. Anyway, we should update the WiKi with the latest dependencies.

Mike

G4ZRT
Posts: 4
Joined: Mon Aug 19, 2019 10:12 pm

Re: Use of the NVIDIA Jetson Nano for DATV

Post by G4ZRT » Fri Aug 23, 2019 1:38 pm

There are many changes in the latest release that cause problems.

As an example the name of the Jetson Nano ( found in /proc/device-tree/model) detected by detect_platform.sh in the dvbsdr package has changed so the Jetson Nano unique options are then not installed by install.sh (eg ffmpeg). There also seem to be other changes including SSH but I didn't delve any further into those.

Mark

g0mjw
Posts: 888
Joined: Sat Sep 20, 2014 9:15 am

Re: Use of the NVIDIA Jetson Nano for DATV

Post by g0mjw » Fri Aug 23, 2019 1:45 pm

They must be taking lessons from Microsoft!

Post Reply

Return to “DATV - Digital ATV”