Difference between revisions of "Explorer/RaspberryPi/Softwares"

From PaparazziUAV
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
* Install softwares
[[Explorer]]
 
* Update softwares


  sudo apt-get update
  sudo apt-get update
Line 5: Line 7:
  (20 minutes)
  (20 minutes)


sudo apt-get install gstreamer1.0-plugins-base -y
* Install new softwares
sudo apt-get install gstreamer1.0-plugins-good -y
sudo apt-get install gstreamer1.0-plugins-bad -y
sudo apt-get install gstreamer1.0-plugins-ugly -y
sudo apt-get install gstreamer1.0-libav -y
sudo apt-get install gstreamer1.0-omx -y
sudo apt-get install gstreamer1.0-tools -y


* Check installation with camera broadcast
[[Explorer/RaspberryPi/Softwares/gstreamer]]
                      | --> camera1 (x-h264)
raspivid (x-h264) --> | 
                      | omxh264dec --> camera2 (x-raw,I420)


raspivid -t 0 -w 640 -h 480 -fps 30/1 -b 3000000 -g 5 -vf -hf -cd H264 -n -fl -ih -o -
[[Explorer/RaspberryPi/Softwares/rtsp-server]]
  | gst-launch-1.0 fdsrc
  ! h264parse
  ! video/x-h264,stream-format=byte-stream
  ! tee name=streams
  ! omxh264dec
  ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0
  ! shmsink socket-path=/tmp/camera2 wait-for-connection=false sync=false streams.
  ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0
  ! shmsink socket-path=/tmp/camera1 wait-for-connection=false sync=false

Latest revision as of 05:44, 29 September 2020

Explorer

  • Update softwares
sudo apt-get update
sudo apt-get upgrade
(20 minutes)
  • Install new softwares

Explorer/RaspberryPi/Softwares/gstreamer

Explorer/RaspberryPi/Softwares/rtsp-server