What is Raspberry pi?

The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse. It is a capable little device that enables people of all ages to explore computing, and to learn how to program in languages like Scratch and Python. It’s capable of doing everything you’d expect a desktop computer to do, from browsing the internet and playing high-definition video, to making spreadsheets, word-processing, and playing games.

What’s more, the Raspberry Pi  has the ability to interact with the outside world, and has been used in a wide array of digital maker projects, from music machines and parent detectors to weather stations and tweeting birdhouses with infra-red cameras. We want to see the Raspberry Pi being used by kids all over the world to learn to program and understand how computers work.

Featured post

Parameters related to gstreamer Pipeline:

1.  v4l2src

2.  device

3.   video format 

4. Resolution

5. framerate

6. stream format      Ex.  omxh264enc

7.target-bitrate

8.control-rate

9. udpsink

10. host_id ,port

11. queue

12.decoders

13.filesink        Ex.   filesink location=/home/pi/a.avi

14.udpsrc           Ex.    udpsrc port=5001

15. encoding-name    Ex. encoding-name=H264

16.avdec_h264

17. videosink

 

 

 

 

 

Raspberry pi???

The Raspberry Pi hardware has evolved through several versions that feature variations in memory capacity and peripheral-device support.

Raspberrypi block function v01.svg

This block diagram depicts models A, B, A+, and B+. Model A, A+, and Zero lack the Ethernet and USB hub components. The Ethernet adapter is connected to an additional USB port. In model A and A+ the USB port is connected directly to the SoC. On model B+ and later models the USB/Ethernet chip contains a five-point USB hub, of which four ports are available, while model B only provides two. On the model Zero, the USB port is also connected directly to the SoC, but it uses a micro USB (OTG) port.

Processor

The system on a chip (SoC) used in the first generation Raspberry Pi is somewhat equivalent to the chip used in older smartphones (such as iPhone, 3G, 3GS). The Raspberry Pi is based on the Broadcom BCM2835 SoC,[15] which includes an 700 MHz ARM1176JZF-S processor, VideoCore IV graphics processing unit (GPU),[16] and RAM. It has a Level 1 cache of 16 KB and a Level 2 cache of 128 KB. The Level 2 cache is used primarily by the GPU. The SoC is stacked underneath the RAM chip, so only its edge is visible.

The Raspberry Pi 2 uses a Broadcom BCM2836 SoC with a 900 MHz 32-bit quad-core ARM Cortex-A7 processor, with 256 KB shared L2 cache.

The Raspberry Pi 3 uses a Broadcom BCM2837 SoC with a 1.2 GHz 64-bit quad-core ARM Cortex-A53 processor, with 512 KB shared L2 cache.[17]

Transmitting video and save it to a file format using a pi and Gstreamer:

Command on host(Raspberry pi):

gst-launch-1.0 -v -e v4l2src device=/dev/video0 ! ‘video/x-raw,format=I420,width=640,height=480,framerate=30/1’ ! omxh264enc target-bitrate=6500000 control-rate=variable ! tee name=t t. ! queue ! rtph264pay pt=96 ! udpsink host=192.168.XXX.XXX  port=1234 t. ! queue ! avimux ! filesink location =/home/pi

Run this command on putty or pi. 

Command on cmd on receiver end:

Steps:

  1. first go to the following path on receiving computer: C:>gstreamer>1.0>x86_>bin
  2. open cmd there.
  3. run the following command:

gst-launch-1.0 -v udpsrc port=1234 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false

Now you have finally broadcast  live video from camera and save it in .avi format .

thank you.

Video transmission by using pi and usb camera with GStreamer

Connection code:

At host computer:

gst-launch-1.0 -v -e v4l2src device=/dev/video0 ! ‘video/x-raw,format=I420,width=640,height=480,framerate=30/1’ ! omxh264enc target-bitrate=6500000 control-rate=variable ! rtph264pay pt=96 ! udpsink host=192.168.XXX.XXX  port=1234

run this on raspberry pi on which camera is connected or putty.

 

At Receiver end:

Steps:

  1. first go to the following path on receiving computer: C:>gstreamer>1.0>x86_>bin
  2. open cmd there.
  3. run the following command:

gst-launch-1.0 -v udpsrc port=1234 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false

 

Now you have finally broadcast video live from camera by using raspberry pi…

thank you.

 

WordPress.com.

Up ↑