2025-12-02 11:21:50 - DeconstructionSystem - INFO - [logger.py:58] - DeconstructionLogger initialized successfully 2025-12-02 11:21:51 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:56] - ScriptWorkflowV2 初始化完成,model_provider: google_genai 2025-12-02 11:21:51 - DeconstructionSystem.__main__ - INFO - [run_batch_script_v2.py:87] - 处理视频: channel_content_id=53009047 title=人到晚年,看看咱年轻时的模样!😊 2025-12-02 11:21:51 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:171] - === 开始执行 ScriptWorkflowV2(视频 → L3 单元 → L1/L2 整体解构) === 2025-12-02 11:21:51 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:73] - ScriptWorkflowV2 图构建完成 - 流程:视频上传 → L3 单元拆分 → 整体理解 2025-12-02 11:21:51 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:79] - === ScriptWorkflowV2:执行节点 video_upload === 2025-12-02 11:21:51 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:68] - 开始下载视频: https://rescdn.yishihui.com/longvideo/transcode/video/vpc/20250517/93cac5eae2b371328a163f3208a22d10.mp4 2025-12-02 11:21:51 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:275] - 构建文件路径: /Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/examples/53009047/53009047.mp4 2025-12-02 11:21:51 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:153] - 未在examples目录下找到同名文件,开始下载... 2025-12-02 11:21:53 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:203] - 视频下载完成,大小: 19.19 MB 2025-12-02 11:21:53 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:82] - 视频文件路径: /var/folders/zg/ktsngwv13cd2wp32tyfx17_c0000gn/T/tmp3mvz7kw9.mp4 2025-12-02 11:21:53 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:164] - 上传视频到Gemini: /var/folders/zg/ktsngwv13cd2wp32tyfx17_c0000gn/T/tmp3mvz7kw9.mp4 2025-12-02 11:22:05 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:120] - 等待文件处理... 2025-12-02 11:22:18 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:149] - 文件处理完成 2025-12-02 11:22:18 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:172] - 视频上传并处理完成 2025-12-02 11:22:18 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:114] - 视频上传成功,文件名称: None 2025-12-02 11:22:18 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:90] - 视频上传完成 - URI: https://generativelanguage.googleapis.com/v1beta/files/shzu3ko2ixj4 2025-12-02 11:22:18 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:107] - === ScriptWorkflowV2:执行节点 content_unit_split === 2025-12-02 11:22:18 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:82] - ================================================================================ 2025-12-02 11:22:18 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:83] - 内容单元拆分 (ContentUnitSplitAgent) 2025-12-02 11:22:18 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:84] - ================================================================================ 2025-12-02 11:22:18 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:79] - 通过 URI 提取的 file_name 获取文件: shzu3ko2ixj4 2025-12-02 11:22:18 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:101] - 开始视频脚本分析和L3单元拆分... 2025-12-02 11:22:18 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:258] - 内容单元拆分分析 - 开始视频分析... 2025-12-02 11:25:22 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:298] - 内容单元拆分分析 - 视频分析完成 2025-12-02 11:25:22 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:126] - 分析完成,单元数量: 87 2025-12-02 11:25:22 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:127] - ================================================================================ 2025-12-02 11:25:22 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:117] - L3 单元拆分完成,是否包含 markdown_result: False, 长度: 0 2025-12-02 11:25:22 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:133] - === ScriptWorkflowV2:执行节点 content_unit_understand === 2025-12-02 11:25:22 - DeconstructionSystem.src.components.agents.content_unit_understand - INFO - [content_unit_understand.py:92] - ================================================================================ 2025-12-02 11:25:22 - DeconstructionSystem.src.components.agents.content_unit_understand - INFO - [content_unit_understand.py:93] - 内容整体结构理解 (ContentUnitUnderstandAgent) 2025-12-02 11:25:22 - DeconstructionSystem.src.components.agents.content_unit_understand - INFO - [content_unit_understand.py:94] - ================================================================================ 2025-12-02 11:25:22 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:79] - 通过 URI 提取的 file_name 获取文件: shzu3ko2ixj4 2025-12-02 11:25:22 - DeconstructionSystem.src.components.agents.content_unit_understand - ERROR - [content_unit_understand.py:158] - 内容整体结构理解分析失败: Invalid format specifier ' "具体元素名称", "对应形式-文案": "文案形式", "对应形式-画面": "画面形式", "对应形式-声音": "声音形式" ' for object of type 'str' Traceback (most recent call last): File "/Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/src/components/agents/content_unit_understand.py", line 116, in process prompt = self._build_analysis_prompt(content_unit_analysis=content_unit_analysis) File "/Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/src/components/agents/content_unit_understand.py", line 219, in _build_analysis_prompt { ...<4 lines>... } ValueError: Invalid format specifier ' "具体元素名称", "对应形式-文案": "文案形式", "对应形式-画面": "画面形式", "对应形式-声音": "声音形式" ' for object of type 'str' 2025-12-02 11:25:22 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:143] - 整体结构理解完成,是否包含 markdown_result: True, 长度: 0 2025-12-02 11:25:22 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:184] - === ScriptWorkflowV2 执行完成 === 2025-12-02 11:25:22 - DeconstructionSystem.__main__ - INFO - [run_batch_script_v2.py:87] - 处理视频: channel_content_id=58840748 title=🔴😂笑死了!让狗咬了,还要粘住嘴 2025-12-02 11:25:22 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:171] - === 开始执行 ScriptWorkflowV2(视频 → L3 单元 → L1/L2 整体解构) === 2025-12-02 11:25:22 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:79] - === ScriptWorkflowV2:执行节点 video_upload === 2025-12-02 11:25:22 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:68] - 开始下载视频: https://rescdn.yishihui.com/longvideo/transcode/video/vpc/20250929/ce8968e2f346103b83b75c0c8100028e.mp4 2025-12-02 11:25:22 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:275] - 构建文件路径: /Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/examples/58840748/58840748.mp4 2025-12-02 11:25:22 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:153] - 未在examples目录下找到同名文件,开始下载... 2025-12-02 11:25:25 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:203] - 视频下载完成,大小: 21.70 MB 2025-12-02 11:25:25 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:82] - 视频文件路径: /var/folders/zg/ktsngwv13cd2wp32tyfx17_c0000gn/T/tmpi3u8_ssg.mp4 2025-12-02 11:25:25 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:164] - 上传视频到Gemini: /var/folders/zg/ktsngwv13cd2wp32tyfx17_c0000gn/T/tmpi3u8_ssg.mp4 2025-12-02 11:25:38 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:120] - 等待文件处理... 2025-12-02 11:25:50 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:149] - 文件处理完成 2025-12-02 11:25:50 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:172] - 视频上传并处理完成 2025-12-02 11:25:50 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:114] - 视频上传成功,文件名称: None 2025-12-02 11:25:50 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:90] - 视频上传完成 - URI: https://generativelanguage.googleapis.com/v1beta/files/wlqqafryt2ao 2025-12-02 11:25:50 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:107] - === ScriptWorkflowV2:执行节点 content_unit_split === 2025-12-02 11:25:50 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:82] - ================================================================================ 2025-12-02 11:25:50 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:83] - 内容单元拆分 (ContentUnitSplitAgent) 2025-12-02 11:25:50 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:84] - ================================================================================ 2025-12-02 11:25:50 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:79] - 通过 URI 提取的 file_name 获取文件: wlqqafryt2ao 2025-12-02 11:25:50 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:101] - 开始视频脚本分析和L3单元拆分... 2025-12-02 11:25:50 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:258] - 内容单元拆分分析 - 开始视频分析... 2025-12-02 11:27:24 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:298] - 内容单元拆分分析 - 视频分析完成 2025-12-02 11:27:24 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:126] - 分析完成,单元数量: 40 2025-12-02 11:27:24 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:127] - ================================================================================ 2025-12-02 11:27:24 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:117] - L3 单元拆分完成,是否包含 markdown_result: False, 长度: 0 2025-12-02 11:27:24 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:133] - === ScriptWorkflowV2:执行节点 content_unit_understand === 2025-12-02 11:27:24 - DeconstructionSystem.src.components.agents.content_unit_understand - INFO - [content_unit_understand.py:92] - ================================================================================ 2025-12-02 11:27:24 - DeconstructionSystem.src.components.agents.content_unit_understand - INFO - [content_unit_understand.py:93] - 内容整体结构理解 (ContentUnitUnderstandAgent) 2025-12-02 11:27:24 - DeconstructionSystem.src.components.agents.content_unit_understand - INFO - [content_unit_understand.py:94] - ================================================================================ 2025-12-02 11:27:24 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:79] - 通过 URI 提取的 file_name 获取文件: wlqqafryt2ao 2025-12-02 11:27:25 - DeconstructionSystem.src.components.agents.content_unit_understand - ERROR - [content_unit_understand.py:158] - 内容整体结构理解分析失败: Invalid format specifier ' "具体元素名称", "对应形式-文案": "文案形式", "对应形式-画面": "画面形式", "对应形式-声音": "声音形式" ' for object of type 'str' Traceback (most recent call last): File "/Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/src/components/agents/content_unit_understand.py", line 116, in process prompt = self._build_analysis_prompt(content_unit_analysis=content_unit_analysis) File "/Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/src/components/agents/content_unit_understand.py", line 219, in _build_analysis_prompt {{ ^^ ...<4 lines>... }} ^ ValueError: Invalid format specifier ' "具体元素名称", "对应形式-文案": "文案形式", "对应形式-画面": "画面形式", "对应形式-声音": "声音形式" ' for object of type 'str' 2025-12-02 11:27:25 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:143] - 整体结构理解完成,是否包含 markdown_result: True, 长度: 0 2025-12-02 11:27:25 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:184] - === ScriptWorkflowV2 执行完成 === 2025-12-02 11:27:25 - DeconstructionSystem.__main__ - INFO - [run_batch_script_v2.py:87] - 处理视频: channel_content_id=31877786 title=⭕九九重阳节,将出现“双月同天”的天文景象‌ 2025-12-02 11:27:25 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:171] - === 开始执行 ScriptWorkflowV2(视频 → L3 单元 → L1/L2 整体解构) === 2025-12-02 11:27:25 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:79] - === ScriptWorkflowV2:执行节点 video_upload === 2025-12-02 11:27:25 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:68] - 开始下载视频: https://rescdn.yishihui.com/longvideo/transcode/video/vpc/20241009/57463791OoDiuHeqBZlhyJJ4vt.mp4 2025-12-02 11:27:25 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:275] - 构建文件路径: /Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/examples/31877786/31877786.mp4 2025-12-02 11:27:25 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:153] - 未在examples目录下找到同名文件,开始下载... 2025-12-02 11:27:33 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:203] - 视频下载完成,大小: 57.86 MB 2025-12-02 11:27:33 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:82] - 视频文件路径: /var/folders/zg/ktsngwv13cd2wp32tyfx17_c0000gn/T/tmp5l3gbrmo.mp4 2025-12-02 11:27:33 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:164] - 上传视频到Gemini: /var/folders/zg/ktsngwv13cd2wp32tyfx17_c0000gn/T/tmp5l3gbrmo.mp4