Commit 59a0feb
authored
feat: add minimal AI processing support (#133)
* transcoder: enable copy mode only the 'copy' is selected
* AI Processing Support: Real-ESRGAN model powered by BMF
- Add enahnce_module.py (Real-ESRGAN), support GPU acceleration.
- Both of GUI and CLI support call this AI feature.
**Python Runtime Support:**
- Add PythonManager for automatic Python environment setup
- Add PythonInstallDialog for user-friendly installation UI
- install Python runtime with PyTorch, Real-ESRGAN, OpenCV, NumPy
- Download Python in App Path
**BMF Integration:**
- Add runtime BMF library path detection
- Set BMF_MODULE_CONFIG_PATH and PYTHONPATH automatically
- Support both system BMF (Debug) and bundled BMF (Release)
* ui: only compile AI related component when bmf and gui enabled
* ai_processing_page: only set codec when user specific
* cd: use macos-14 runner for compatibility
enable bmf on linux
* cd: specific the python 3.9 for mac build
* cd: add linux arm build
* python_manager: set PATH and *_LIBRARY_PATH for python
* force require App Python for linux platform(release or not)
* cd: change the start entry to OpenConverter from AppRun
This avoid wrong App Data Path by Qt.
* transcoder_bmf: get module path from BMF_MODULE_PATH env
* cd: add libavdevices.so.59 for linux build
* cd: add build-linglong workflow job
add linglong.yaml and dynamically build default.desktop
* cd: get ll cache from docker
* python_manager: install cpu-only support torch
* cd: bundle the weight file for linux build
* python_manager: install bmf package from github for linux build
* cd: dynamically build the desktop file for ll
* cd: use defualt icon for ll build
* python_install_dialog: require user to restart app after python support installed
* ui: dynamically build the page list
Enable ai_processing page only if bmf is enabled
* cd: merge review.yaml and release.yaml into build.yaml
---------
Signed-off-by: Jack Lau <[email protected]>
Signed-off-by: Jack Lau <[email protected]>1 parent fec4186 commit 59a0feb
File tree
32 files changed
+3663
-686
lines changed- .github/workflows
- src
- builder
- include
- src
- common
- include
- src
- component
- include
- src
- engine/src
- modules
- resources
- transcoder
- include
- src
- tool
32 files changed
+3663
-686
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
257 | 262 | | |
258 | 263 | | |
259 | 264 | | |
260 | 265 | | |
261 | | - | |
262 | | - | |
| 266 | + | |
| 267 | + | |
263 | 268 | | |
264 | 269 | | |
265 | 270 | | |
266 | 271 | | |
267 | 272 | | |
268 | | - | |
269 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
270 | 307 | | |
271 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
272 | 361 | | |
273 | 362 | | |
274 | 363 | | |
| |||
0 commit comments