Video Recording

The following code block provides an example of encoding video stream content from camera/sensor into H.264 and encapsulating it to AVI format.
gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,width=640,height=480,format=NV12 !  omxh264enc ! avimux ! filesink location=11.avi
The following diagram shows the video recording workflow.
Figure 1. GStreamer Video Recording Workflow