Example-6: (Camera Audio/Video → Encode → File A/V Record) - 2024.1 English

H.264/H.265 Video Codec Unit v1.2 Solutions LogiCORE IP Product Guide (PG252)

Document ID
PG252
Release Date
2024-05-30
Version
2024.1 English
  1. Connect a USB camera to the board (Verified cameras: Logitech HD camera C920).
  2. Execute the following command for USB video recording.
    vcu-demo-camera-encode-file.sh -a aac -n 1000 --use-alsasrc -i "hw:1"

An output file camera_output.ts is generated in the current directory which has recorded an audio/video file in the mpegts container.

The file can be played on media players like VLC.