flowchart TB
input[Input Video File] --> audio_extract[Extract Audio]
input --> frame_extract[Frame Extraction System]
subgraph Transcription_Processor
audio_extract --> transcribe[Generate Transcription]
transcribe --> trans_json[Format as JSON]
end
subgraph Step_Identifier
trans_json --> llm[LLM Analysis]
llm --> steps_json[6 Steps JSON Output]
end
subgraph Image_Processor
steps_json --> frame_extract
frame_extract --> resize[Resize Images]
resize --> save_img[Save 6 PNG Files]
end
subgraph Article_Assembly
steps_json --> structure[Create Article Structure]
save_img --> embed[Embed Images]
structure --> embed
embed --> markdown[Format as Markdown]
end
markdown --> output[Final Article.md]
style input fill:#f9f,stroke:#333
style output fill:#9f9,stroke:#333