You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've followed the build directions and was able to build capsulerun. However when pressing F9 to record, ffmpeg is throwing an error when opening the "capture.mp4" file to write.
The error stems from the call to avio_open and it's PROTOCOL_NOT_FOUND. Doing some digging it seems that ffmpeg needs to be built with different configuration options, possibly --enable-protocol=file. I ran out of time to dig further and I don't know how the cmake provided ffmpeg is built, so I don't know exactly what could fix it, and I have not tried rebuilding ffmpeg with a different configuration.
Error location in source:
// In: capsulerun/src/encoder.cc/* open the output file, if needed */
ret = avio_open(&oc->pb, output_path, AVIO_FLAG_WRITE);
if (ret < 0) {
Log("Could not open '%s'", output_path);
exit(1);
}
Environment notes:
macOS Sierra
FFmpeg was also installed via homebrew initially, but I uninstalled that version when trying to debug
I've followed the build directions and was able to build capsulerun. However when pressing F9 to record, ffmpeg is throwing an error when opening the "capture.mp4" file to write.
The error stems from the call to
avio_open
and it'sPROTOCOL_NOT_FOUND
. Doing some digging it seems that ffmpeg needs to be built with different configuration options, possibly--enable-protocol=file
. I ran out of time to dig further and I don't know how the cmake provided ffmpeg is built, so I don't know exactly what could fix it, and I have not tried rebuilding ffmpeg with a different configuration.Error location in source:
Environment notes:
.app
gameResearch references:
The text was updated successfully, but these errors were encountered: