# Video composition use case Source: [https://docs.qualcomm.com/doc/80-88500-3/topic/58_Video_composition_use_case.html](https://docs.qualcomm.com/doc/80-88500-3/topic/58_Video_composition_use_case.html) ## Prerequisites: 1. Ensure that Weston is running. 2. Run the following command to create a test video. Press CTRL + C to stop the recording. gst-launch-1.0 -e qtiqmmfsrc name=qmmf camera=0 ! video/x-raw\(memory:GBM\),format=NV12,width=1920,height=1080,framerate=30/1 ! queue ! qtic2venc ! queue ! h264parse ! mp4mux ! queue ! filesink location=/data/output/mux.mp4Copy to clipboard - **[Picture-in-picture: 1080p camera preview and 1080p recorded H.264 video file playback](https://docs.qualcomm.com/doc/80-88500-3/topic/59_PiP___1080p_camera_preview_and_1080p_recorded_h264_video_file_playback.html)** - **[Video tiling: Multiple video streams tiled in one output](https://docs.qualcomm.com/doc/80-88500-3/topic/60_Video_tiling___Multiple_video_streams_tiled_in_one_output.html)** **Parent Topic:** [Multimedia use cases](https://docs.qualcomm.com/doc/80-88500-3/topic/28_Multimedia_use_cases.html) Last Published: Sep 26, 2023 [Previous Topic Update video encode parameter use case](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/57_Update_video_encode_parameter_use_case.md) [Next Topic Picture-in-picture: 1080p camera preview and 1080p recorded H.264 video file playback](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/59_PiP___1080p_camera_preview_and_1080p_recorded_h264_video_file_playback.md)