Description
Generating captions for a recording fails immediately with the following error:
Failed to generate captions: Failed to extract audio from video: Failed to open video file: Is a directory
When Cap tries to extract the audio track from the recording (the first step of caption generation), it attempts to open a path that is a directory rather than the actual video file, so the call fails with "Is a directory" (EISDIR). No audio is extracted and no captions are generated. It looks like the recording's folder path is being passed to the audio-extraction step instead of the path to the video file inside it.
Reproduction
- Open a recording in the Cap editor
- Go to the Captions tab
- Click Generate Captions
- The operation fails immediately with the error above — no captions are produced
Additional Context
- Cap version: 0.5.2 (0.5.2)
- Operating system, version: Mac OS Tahoe 26.5.1
- Device (optional): Macbook Air M5

Description
Generating captions for a recording fails immediately with the following error:
Failed to generate captions: Failed to extract audio from video: Failed to open video file: Is a directoryWhen Cap tries to extract the audio track from the recording (the first step of caption generation), it attempts to open a path that is a directory rather than the actual video file, so the call fails with "Is a directory" (EISDIR). No audio is extracted and no captions are generated. It looks like the recording's folder path is being passed to the audio-extraction step instead of the path to the video file inside it.
Reproduction
Additional Context