I needed this to add Youtube ingestion to BookCrafter. Many Youtube videos already have transcripts, but if they do not Gemini will create one with the script below.
*****
The All-in-One Transcription Prompt
Task:Please provide a full transcript of the YouTube video linked below.
Instructions:
1. If a transcript/caption track exists: Pull and extract the transcript text accurately.
2. If no transcript exists: Listen to the audio directly and transcribe the spoken content verbatim.
3. Formatting Requirements:
A. Include timestamps (e.g., [00:00]) at the start of each section or paragraph.
B. Identify and label distinct speakers (e.g., Speaker 1:, Speaker 2:) if there is more than one.
C. Remove filler words (such as um, uh, like) and correct clear speech stumbles while keeping the actual phrasing intact.
D. Break the text into clean, readable paragraphs.
YouTube URL: [PASTE YOUR YOUTUBE LINK HERE]