Let us move on to recording a video, again we’ll use command line to control the recording. Open up LX Terminal and type in the the following code, we’ll create a folder named webcam for our video clips first :

mkdir Video
cd Video

lets start the code for a 10 second film clip (10000 milliseconds ):

raspivid -o video1.h264 -t 10000

This will record a 10 sec video clip in your newly created Video folder. Again we can use omx player to play back the clip:

omxplayer video1.h264

Congratulations , you should now have your first Raspi Cam video playing on your screen.



. . . share the geek love . . .Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPin on Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *