Skip to docs navigation
On this page

ffmpeg Convert Any Video to HAPexternal link

Convert videos to the HAP codecexternal link with ffmpeg for use in virtual production or other workflows that require HAP is straight forward. HAP is open source and was made for super high resolution playback buy leveraging GPU computation so to save CPU cycles and compute for other needs.

  1. Make sure that you have ffmpeg installed.
  2. Ensure that your installation of ffmpeg includes HAP.
  3. Locate your video file and use one of the following commands with Terminal or the Command Prompt:1

Converts to plain HAP

ffmpeg -i input.mov -c:v hap output.mov

Converts to HAP Alpha

ffmpeg -i input.mov -c:v hap -format hap_alpha output.mov

Converts to HAP Q

ffmpeg -i input.mov -c:v hap -format hap_q output.mov

HAP Resources

HAP GitHub repositoryexternal link

References