graph TD
A[MP4 Video Input] --> B[TranscriptionGenerator]
B --> C[Raw Transcription File]
C --> D[StepSelector]
D --> E[6 Steps with Timestamps]
E --> F[ImageExtractor]
A --> F
F --> G[6 Screenshot Images]
C --> H[MarkdownComposer]
E --> H
G --> H
H --> I[Final Markdown Article]
subgraph TranscriptionGenerator
B1[Load Video] --> B2[Extract Audio]
B2 --> B3[Generate Timestamped Text]
end
subgraph StepSelector
D1[Parse Transcription] --> D2[Identify Key Actions]
D2 --> D3[Select 6 Main Steps]
D3 --> D4[Format Step Data]
end
subgraph ImageExtractor
F1[Read Timestamps] --> F2[Load Video Frames]
F2 --> F3[Extract Frame at Time]
F3 --> F4[Save Screenshots]
end
subgraph MarkdownComposer
H1[Generate Intro] --> H2[Format Steps]
H2 --> H3[Insert Images]
H3 --> H4[Compile Final MD]
end