Files
nvgstapps/nvgstapps_src/README.txt
svcmobrel-release f851378099 Updating prebuilts and/or headers
9b47978b5f3b6672dd4d6ad5ebe80c9b945a7eba - nvgstapps_src/nvgst_sample_apps/nvgstplayer-1.0/nvgst_x11_common.c
33a285339d714d5546cddb92a710e418853470aa - nvgstapps_src/nvgst_sample_apps/nvgstplayer-1.0/nvgst_asound_common.c
6bafa48f47ad43d33ee446cf86f2b1da134f7868 - nvgstapps_src/nvgst_sample_apps/nvgstplayer-1.0/nvgst_asound_common.h
599544266262509705c60ca9e8d2c8ade3bdfc30 - nvgstapps_src/nvgst_sample_apps/nvgstplayer-1.0/nvgstplayer.c
aaafd7fd4c0214a52bf73dd2a0ba0af08c675b85 - nvgstapps_src/nvgst_sample_apps/nvgstplayer-1.0/nvgst_x11_common.h
c028fa403772288daf002520356e8e18cce5cb06 - nvgstapps_src/nvgst_sample_apps/nvgstplayer-1.0/nvgstplayer.h
a5bdf6935960973677a005d9d28a04c023f5ec6f - nvgstapps_src/nvgst_sample_apps/nvgstcapture-1.0/nvgst_x11_common.c
39d7bace9939d38f221edd9f87dc8e8dab2c2365 - nvgstapps_src/nvgst_sample_apps/nvgstcapture-1.0/nvgstcapture.c
87556b6e7da0ec3865546f10b7a58959cd8c6bfc - nvgstapps_src/nvgst_sample_apps/nvgstcapture-1.0/nvgst_x11_common.h
8531d3b2fb38ae84efeaadf6cc177e1e2b07a90b - nvgstapps_src/nvgst_sample_apps/nvgstcapture-1.0/nvgstcapture.h

Change-Id: I3f530cebe9621b158ebd81afd203e6225008c876
2023-08-03 21:10:45 -07:00

65 lines
2.6 KiB
Plaintext

This file explains the procedure to compile NvGstApps sources for hardfp(armhf)
ARM architecture.
--------------------------------------------------------------------------------
Prerequisites for nvgst-1.0 applications
--------------------------------------------------------------------------------
For nvgstcapture-1.0 and nvgstplayer-1.0 applications:
* You must install GStreamer-1.0 on the target board using apt-get, as follows:
sudo apt-get install gstreamer1.0-tools gstreamer1.0-alsa \
gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
gstreamer1.0-libav libgstreamer1.0-dev
* Download or copy the nvgstapps_src.tbz2 file on device and untar it.
tar -xpf nvgstapps_src.tbz2
* Compile nvgstapps with following procedures.
--------------------------------------------------------------------------------
Procedure to compile nvgstcapture-1.0:
--------------------------------------------------------------------------------
On the target, execute the following commands:
sudo apt-get install libgstreamer-plugins-base1.0-dev
sudo apt-get install libegl1-mesa-dev
sudo apt-get install libx11-dev libxext-dev
As the above steps will overwrite the sym-links to the hardware accelerated libegl
binary, to point back to the tegra version, execute the following commands:
Export ARM application binary interface based on the Linux and ARM platform:
Linux 64bit userspace support:
export TEGRA_ARMABI=aarch64-linux-gnu
Linux 32bit userspace and ARM hardfp support:
export TEGRA_ARMABI=arm-linux-gnueabihf
cd nvgstapps_src/nvgst_sample_apps/nvgstcapture-1.0
gcc nvgstcapture.c nvgst_x11_common.c -o nvgstcapture-1.0 \
$(pkg-config --cflags --libs gstreamer-1.0 gstreamer-plugins-base-1.0 \
gstreamer-pbutils-1.0 x11 xext gstreamer-video-1.0) -ldl
--------------------------------------------------------------------------------
Procedure to compile nvgstplayer-1.0:
--------------------------------------------------------------------------------
On the target, execute the following commands:
cd nvgstapps_src/nvgst_sample_apps/nvgstplayer-1.0
gcc nvgstplayer.c nvgst_x11_common.c nvgst_asound_common.c -o nvgstplayer-1.0 \
$(pkg-config --cflags --libs gstreamer-1.0 gstreamer-plugins-base-1.0 \
gstreamer-pbutils-1.0 gstreamer-video-1.0 x11 xext alsa)
* For nvgstcapture-1.0 usage, refer to
nvgstapps_src/nvgst_sample_apps/nvgstcapture-1.0/nvgstcapture-1.0_README.txt
* For nvgstplayer-1.0 usage, refer to
nvgstapps_src/nvgst_sample_apps/nvgstplayer-1.0/nvgstplayer-1.0_README.txt