Recall & Review
beginner
What is the basic command to start recording a video using the Raspberry Pi camera module?
The basic command is
raspivid -o video.h264 -t 10000, which records a 10-second video and saves it as video.h264.Click to reveal answer
beginner
What does the
-t option specify in the raspivid command?The
-t option sets the recording time in milliseconds. For example, -t 10000 records for 10 seconds.Click to reveal answer
intermediate
How can you record a video with a specific resolution using Raspberry Pi camera?
Use the
-w and -h options with raspivid to set width and height. For example, raspivid -o video.h264 -t 5000 -w 1280 -h 720 records a 720p video.Click to reveal answer
beginner
What file format does
raspivid save videos in by default?raspivid saves videos in the raw H.264 format by default, which can be played or converted to other formats like MP4.Click to reveal answer
intermediate
How do you convert a raw H.264 video file to MP4 on Raspberry Pi?
You can use
MP4Box with the command MP4Box -add video.h264 video.mp4 to convert the raw video to MP4 format.Click to reveal answer
Which command starts recording a 5-second video on Raspberry Pi?
✗ Incorrect
The
-t 5000 option records for 5000 milliseconds, which is 5 seconds.What does the
-o option specify in the raspivid command?✗ Incorrect
The
-o option sets the output file name for the recorded video.Which format does
raspivid save videos in by default?✗ Incorrect
raspivid saves videos in raw H.264 format by default.How do you specify the video resolution to 1920x1080 in
raspivid?✗ Incorrect
Use
-w for width and -h for height to set resolution.Which tool converts raw H.264 video to MP4 on Raspberry Pi?
✗ Incorrect
MP4Box is commonly used to convert raw H.264 files to MP4 format.Explain how to record a 10-second video at 1280x720 resolution using Raspberry Pi camera.
Think about the options needed to set file name, time, and resolution.
You got /4 concepts.
Describe the steps to convert a raw H.264 video file to MP4 format on Raspberry Pi.
Consider why raw H.264 might need conversion for easier playback.
You got /3 concepts.
