CapSoftware / Cap

Open source Loom alternative. Effortless, instant screen sharing.
https://cap.so
GNU Affero General Public License v3.0
3.63k stars 169 forks source link

fix: ffmpeg not found #10

Closed mooyg closed 8 months ago

mooyg commented 8 months ago
vercel[bot] commented 8 months ago

@mooyg is attempting to deploy a commit to the McIlroy Team on Vercel.

A member of the Team first needs to authorize it.

richiemcilroy commented 8 months ago

Hey! Thanks for the submission. Tried running but I get this error:

desktop:dev: Thread panicked: PanicInfo { payload: Any { .. }, message: Some(calledResult::unwrap()on anErrvalue: CannotFindBinaryPath), location: Location { file: "src/main.rs", line: 81, col: 54 }, can_unwind: true }

The existing code in main works for me.

What device are you using?

mooyg commented 8 months ago

Oh that's weird, do you have ffmpeg in the path? I didn't do error handling there. I am on macos 14.1.2 (23B92). Current main branch code still doesn't run for me as it can't find the ffmpeg path.

Thread panicked: PanicInfo { payload: Any { .. }, message: Some(called `Result::unwrap()` on an `Err` value: "Failed to start FFmpeg: No such file or directory (os error 2)"), location: Location { file: "src/recorder.rs", line: 114, col: 14 }, can_unwind: true }