Files
ViGent2/Docs/Logs.md
2026-01-20 17:14:10 +08:00

4.9 KiB
Raw Blame History

(venv) rongye@r730-ubuntu:~/ProgramFiles/ViGent2/backend$ uvicorn app.main:app --host 0.0.0.0 --port 8006
INFO: Started server process [2398255]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8006 (Press CTRL+C to quit)
INFO: 192.168.110.188:5826 - "GET /api/materials/?t=1768899244071 HTTP/1.1" 200 OK
INFO: 192.168.110.188:5826 - "GET /api/materials/?t=1768899248452 HTTP/1.1" 200 OK
INFO: 192.168.110.188:5826 - "GET /api/materials/?t=1768899250145 HTTP/1.1" 200 OK
INFO: 192.168.110.188:5826 - "GET /api/materials/?t=1768899250420 HTTP/1.1" 200 OK
INFO: 192.168.110.188:5826 - "GET /api/materials/?t=1768899250774 HTTP/1.1" 200 OK
INFO: 192.168.110.188:5826 - "GET /api/materials/?t=1768899251257 HTTP/1.1" 200 OK
INFO: 192.168.110.188:5826 - "OPTIONS /api/videos/generate HTTP/1.1" 200 OK
INFO: 192.168.110.188:5826 - "POST /api/videos/generate HTTP/1.1" 200 OK
2026-01-20 16:54:13.143 | INFO | app.services.tts_service:generate_audio:20 - TTS Generating: 大家好,欢迎来到我的频道,今天给大家分享... (zh-CN-YunxiNeural)
INFO: 192.168.110.188:5826 - "GET /api/videos/tasks/33c43a79-6e25-471f-873d-54d651d13474 HTTP/1.1" 200 OK
INFO: 192.168.110.188:5826 - "GET /api/videos/tasks/33c43a79-6e25-471f-873d-54d651d13474 HTTP/1.1" 200 OK
[Pipeline] TTS completed in 1.4s
2026-01-20 16:54:14.547 | INFO | app.services.lipsync_service:_check_weights:56 - LatentSync 权重文件已就绪
[LipSync] Health check: ready=True
[LipSync] Starting LatentSync inference...
2026-01-20 16:54:16.799 | INFO | app.services.lipsync_service:generate:172 - 🎬 唇形同步任务: 0bc1aa95-c567-4022-8d8b-cd3e439c78c0.mov + 33c43a79-6e25-471f-873d-54d651d13474_audio.mp3
2026-01-20 16:54:16.799 | INFO | app.services.lipsync_service:_local_generate:200 - 🔄 调用 LatentSync 推理 (subprocess)...
2026-01-20 16:54:17.004 | INFO | app.services.lipsync_service:_preprocess_video:111 - 📹 原始视频分辨率: 1920×1080
2026-01-20 16:54:17.005 | INFO | app.services.lipsync_service:_preprocess_video:128 - 📹 预处理视频: 1080p → 720p
2026-01-20 16:54:18.285 | INFO | app.services.lipsync_service:_preprocess_video:152 - 视频压缩完成: 14.9MB → 1.1MB
2026-01-20 16:54:18.285 | INFO | app.services.lipsync_service:_local_generate:237 - 🖥️ 执行命令: /home/rongye/ProgramFiles/miniconda3/envs/latentsync/bin/python -m scripts.inference --unet_config_path configs/unet/stage2_512.yaml --inference_ckpt_path checkpoints/latentsync_unet.pt --inference_steps...
2026-01-20 16:54:18.285 | INFO | app.services.lipsync_service:_local_generate:238 - 🖥️ GPU: CUDA_VISIBLE_DEVICES=1
2026-01-20 16:57:52.285 | INFO | app.services.lipsync_service:_local_generate:257 - LatentSync 输出:
'0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'use_ep_level_unified_stream': '0', 'device_id': '0', 'gpu_external_alloc': '0', 'sdpa_kernel': '0', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'gpu_external_free': '0', 'use_tf32': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'do_copy_in_default_stream': '1'}} model ignore: checkpoints/auxiliary/models/buffalo_l/w600k_r50.onnx recognition set det-size: (512, 512) video in 25 FPS, audio idx in 50FPS Affine transforming 135 faces... Restoring 135 faces...

2026-01-20 16:57:52.287 | INFO | app.services.lipsync_service:_local_generate:262 - 唇形同步完成: /home/rongye/ProgramFiles/ViGent2/backend/outputs/33c43a79-6e25-471f-873d-54d651d13474_lipsync.mp4 [Pipeline] LipSync completed in 217.7s 2026-01-20 16:57:52.616 | DEBUG | app.services.video_service:_run_ffmpeg:17 - FFmpeg CMD: ffmpeg -y -i /home/rongye/ProgramFiles/ViGent2/backend/outputs/33c43a79-6e25-471f-873d-54d651d13474_lipsync.mp4 -i /home/rongye/ProgramFiles/ViGent2/backend/outputs/33c43a79-6e25-471f-873d-54d651d13474_audio.mp3 -c:v libx264 -c:a aac -shortest -map 0:v -map 1:a /home/rongye/ProgramFiles/ViGent2/backend/outputs/33c43a79-6e25-471f-873d-54d651d13474_output.mp4 [Pipeline] Total generation time: 220.4s INFO: 192.168.110.188:5826 - "GET /api/videos/tasks/33c43a79-6e25-471f-873d-54d651d13474 HTTP/1.1" 200 OK INFO: 192.168.110.188:10104 - "GET /outputs/33c43a79-6e25-471f-873d-54d651d13474_output.mp4 HTTP/1.1" 206 Partial Content INFO: 192.168.110.188:6759 - "GET /outputs/33c43a79-6e25-471f-873d-54d651d13474_output.mp4 HTTP/1.1" 206 Partial Content INFO: 192.168.110.188:6759 - "GET /outputs/33c43a79-6e25-471f-873d-54d651d13474_output.mp4 HTTP/1.1" 304 Not Modified INFO: 192.168.110.188:6759 - "GET /outputs/33c43a79-6e25-471f-873d-54d651d13474_output.mp4 HTTP/1.1" 206 Partial Content INFO: 192.168.110.188:6759 - "GET /outputs/33c43a79-6e25-471f-873d-54d651d13474_output.mp4 HTTP/1.1" 206 Partial Content INFO: 192.168.110.188:10233 - "GET /outputs/33c43a79-6e25-471f-873d-54d651d13474_output.mp4 HTTP/1.1" 304 Not Modified