Example-4: (Transcode → to File) - 2023.1 English

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

Document ID
Release Date
2023.1 English

This example requires input sample files. If Example-1 is executed already, then sample videos are stored in the /home/root folder.

  1. Use the following command to transcode sample avc file into hevc file.
    vcu-demo-transcode-to-file.sh -i /home/root/
    bbb_sunflower_2160p_30fps_normal_avc.mp4 -c avc -a aac -o /home/root/transcode.mkv
  2. Use Example-1 to view the transcoded file on the Display. The sample command is shown below:
    vcu-demo-decode-display.sh -i /home/root/transcode.mkv -c hevc -a vorbis 
    --use-alsasink --audio-output "hw:0"