Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: re-re-revert windows ffmpeg

Louis Beaumont67b10ff2b502
diff --git a/screenpipe-app-tauri/scripts/pre_build.js b/screenpipe-app-tauri/scripts/pre_build.js
index 58055b95d..0d7f70f7c 100644
--- a/screenpipe-app-tauri/scripts/pre_build.js
+++ b/screenpipe-app-tauri/scripts/pre_build.js
@@ -24,8 +24,8 @@ const mkdirp = async (dir) => await fs.mkdir(dir, { recursive: true });
const config = {
ffmpegRealname: 'ffmpeg',
windows: {
- ffmpegName: 'ffmpeg-7.0-windows-desktop-vs2022-default',
- ffmpegUrl: 'https://unlimited.dl.sourceforge.net/project/avbuild/windows-desktop/ffmpeg-7.0-windows-desktop-vs2022-default.7z?viasf=1',
+ ffmpegName: 'ffmpeg-7.0.2-full_build-shared',
+ ffmpegUrl: 'https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-7.0.2-full_build-shared.7z',
vcpkgPackages: ['opencl', 'onnxruntime-gpu'],
},
linux: {
@@ -317,7 +317,7 @@ if (platform == 'windows') {
await $`'C:\\Program Files\\7-Zip\\7z.exe' x ${config.windows.ffmpegName}.7z`
await $`mv ${config.windows.ffmpegName} ${config.ffmpegRealname}`
await $`rm -rf ${config.windows.ffmpegName}.7z`
- await $`mv ${config.ffmpegRealname}/lib/x64/* ${config.ffmpegRealname}/lib/`
+ // await $`mv ${config.ffmpegRealname}/lib/x64/* ${config.ffmpegRealname}/lib/`
}
// Setup ONNX Runtime
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 265c8701c..1a157ec63 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.9.27"
+version = "0.9.28"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json b/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
index aa9cfeeac..0cb2bd2b9 100644
--- a/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
+++ b/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
@@ -6,7 +6,9 @@
"ollama"
],
"resources": {
- "ffmpeg\\bin\\x64\\*": "./",
+ "ffmpeg\\bin\\ffmpeg.exe": "./",
+ "ffmpeg\\bin\\ffprobe.exe": "./",
+ "ffmpeg\\bin\\*.dll": "./",
"ffmpeg\\lib\\*": "./",
"onnxruntime*\\lib\\onnxruntime.dll": "./",
"onnxruntime*\\lib\\onnxruntime_providers_cuda.dll": "./",