Streaming Video Using gstreamer

gstreamer allows you to stream video with very low latency – a problem with VLC currently.  The catch is that you need need gstreamer on the client used to view the stream.  gstreamer is a development framework not a media player and there isn't a way to stream so that common players such as VLC can […]

Read More

Break

On the Raspberry Pi Command Line Break CTRL + Break Via SSH Terminal Programs CTRL + C

Read More

FireSSH

FireSSH is a firefox plugin which provides a great SSH interface to a Raspberry Pi over the network.   Sending Break CTRL+C  

Read More

Streaming Video Using VLC Player

Installing VLC Player sudo apt-get install vlc   Streaming The Camera Video Using RTSP Enter the following command to start the streaming: raspivid -o – -t 0 -n | cvlc -vvv stream:///dev/stdin –sout '#rtp{sdp=rtsp://:8554/}' :demux=h264 raspivid is used to capture the video "-o -" causes the output to be written to stdout "-t 0" sets […]

Read More

tar, for zipping files, directories, etc

Show all options tar –help Create Archive Of Specific Files tar -vfcz outputfilename.gz inputfile1 inputfile2 Zipping Files And Directories Use this to move to the directory containing the files and / or directories you want to zip cd projects/myfolder Zip 1 File tar -vczf zip_output_filename.gz file_to_zip.a Zip 2 Files tar -vczf zip_output_filename.gz file_to_zip1.a file_to_zip2.a Zip A […]

Read More

Help

Displaying a programs options Type this on the command line: program_name –help        

Read More

Bash Files

File Extension .sh is typical (but not mandatory) File Contents The file should start with: #!/bin/bash If there is a problem with the interpreter being found type error message you can see where your systems bash interpreter is by typing "which bash" on the command line. Blank lines are fine. Use the # character for […]

Read More

Sleep

Can be useful when chainging commands together in scripts etc: sleep 5 Will ause a pause of 5 second    

Read More