Bird
0
0
Raspberry Piprogramming~5 mins

Recording video in Raspberry Pi - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
Araspivid -o video.h264 -t 50000
Braspivid -o video.h264 -t 50
Craspivid -o video.h264
Draspivid -o video.h264 -t 5000
What does the -o option specify in the raspivid command?
ARecording time
BVideo resolution
COutput file name
DFrame rate
Which format does raspivid save videos in by default?
AH.264
BAVI
CMOV
DMP4
How do you specify the video resolution to 1920x1080 in raspivid?
A-w 1920 -h 1080
B-r 1920 -c 1080
C-res 1920x1080
D-size 1920 1080
Which tool converts raw H.264 video to MP4 on Raspberry Pi?
Affmpeg
BMP4Box
Craspivid
Dvlc
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.