The script "gst-camera.sh" is use to test camera's functions for FriendlyELEC RK3399 boards. You can run it in a commandline to test picture taking and video recording.
Note: FriendlyCore-20190511+/FriendlyDesktop-20190511+ required.
Please download the latest FriendlyCore/FriendlyDesktop Image file from the following URL: http://download.friendlyarm.com/nanopct4
cd /tmp/
git clone https://github.com/friendlyarm/gst-camera-sh.git
sudo cp gst-camera-sh/gst-camera.sh `which gst-camera.sh`