fix mp4 compatibility issues

This commit is contained in:
zaiun xu
2026-04-10 18:16:15 +08:00
parent 09736f9e15
commit 62bff77fa0
15 changed files with 748 additions and 98 deletions

View File

@@ -4,6 +4,9 @@
# bash fish_api/start_fresh.sh
# PORT=8001 HOST=0.0.0.0 bash fish_api/start_fresh.sh
#
# 保留测量输出目录以复用点云(配合 .env 中 MEASURE_REUSE_EXISTING_CLOUDS=true
# KEEP_MEASURE_OUTPUT=1 bash fish_api/start_fresh.sh
#
# 首次使用请先cd fish_api && uv sync
#
set -euo pipefail
@@ -11,7 +14,8 @@ set -euo pipefail
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$DIR"
export PUBLIC_BASE_URL="${PUBLIC_BASE_URL:-http://127.0.0.1:8000}"
# 勿在此默认导出 PUBLIC_BASE_URLshell 环境会覆盖 fish_api/.envpydantic 优先级)。
# 未设置时由 app/settings.py 的默认值或 .env 中的 PUBLIC_BASE_URL 决定。
unset PYTHON_FISH_MEASURE PYTHON_FISH_ACTION 2>/dev/null || true
if command -v uv >/dev/null 2>&1; then