# Caption an interview with OpenVINO Whisper Unzip the practice folder first. You can watch the MP4 files and read the SRT files with a normal player and text editor. The optional installation below lets you run the model yourself. Open `interview.mp4` and listen to Jessica Watkins introduce her Crew-4 colleagues aboard the International Space Station. Play `raw-preview.mp4`, then `reviewed-preview.mp4`. At 4.00 seconds, Watkins is speaking in both files. The automatic caption has already ended. The reviewed version shows the three colleagues’ names. Both previews retain her original voice. `terminal.mp4` shows the actual local command running and the generated SRT opening on screen. See `README-zh-Hant.md` or `README-zh-Hans.md` for the Chinese quick start. ## Try the edit 1. Open `interview.mp4` in a subtitle editor that accepts SubRip (.srt), or in a video editor with a subtitle track. In Aegisub, open `raw.srt` from the File menu, then choose **Video → Open Video** and select the interview. [Aegisub video guide](https://aegisub.org/docs/latest/video/) 2. Import `raw.srt`. OpenVINO returned one timed cue ending at 2.340 seconds. Play past that cue and compare it with the speech. 3. Play the names again. Check the spellings of Kjell Lindgren, Samantha Cristoforetti and Bob Hines against NASA's Crew-4 roster. Add a second cue at 2.960–5.960 and save to a new SRT. `reviewed.srt` supplies BLA’s two-cue version for comparison. [NASA crew roster](https://www.nasa.gov/blogs/spacestation/2022/04/27/crew-4-now-aboard-the-space-station/) 4. Try `plain-speech/next-phrase.mp4`, which begins immediately after the names. On this separate 4.25-second input, the same model returned one complete sentence in the first four seconds. Its output is in `plain-speech/raw.srt`. Open `plain-speech/captioned-preview.mp4` to see that automatic cue play over the original footage. ## Ask Codex or Claude Code to reproduce the result Give a local coding assistant access to this folder and paste the following request. > Set up this subtitle exercise in a project-only Python environment. Read the README and transcribe.py. Check that my machine has a supported Python and FFmpeg. Download the pinned OpenVINO Whisper model from its official repository, use the CPU and select English. Transcribe interview.mp4 into a new replay folder. Open replay/raw.srt, tell me its end time, and compare it with reviewed.srt. Keep the original files intact. The following commands assume a macOS or Linux shell with FFmpeg on the path. BLA used Python 3.14.5 and OpenVINO GenAI 2025.4.1.0 on an Apple M4 CPU. A first model download needs internet access. The transcript runs locally after the dependencies and model are installed. This exercise accepts excerpts up to 30 seconds. ```sh python3 -m venv .venv .venv/bin/python -m pip install "openvino-genai==2025.4.1.0" huggingface_hub .venv/bin/hf download OpenVINO/whisper-base-int8-ov --revision 0606293f0511136ada21755a265492f623a934b8 --local-dir whisper-base-int8-ov .venv/bin/python transcribe.py interview.mp4 --out replay .venv/bin/python transcribe.py plain-speech/next-phrase.mp4 --out replay-plain-speech ``` On Windows, PowerShell uses `py -m venv .venv`, `.venv/Scripts/python.exe` and `.venv/Scripts/hf.exe` for the equivalent steps. This exercise was tested on macOS. If you prefer a local assistant, paste the request above and let it check compatibility and obtain FFmpeg for your system. OpenVINO GenAI's `WhisperPipeline` returns the text and segment boundaries. The included script serializes them as UTF-8 SRT. The recorded 6.2-second run took about three seconds from model loading through writing the SRT on the test machine. The reviewed track uses editorial timing, proper-name spellings and punctuation. Different checkpoints, hardware or cuts can produce different results. [Pinned model](https://huggingface.co/OpenVINO/whisper-base-int8-ov/tree/0606293f0511136ada21755a265492f623a934b8) · [OpenVINO speech recognition notebook](https://docs.openvino.ai/2024/notebooks/whisper-asr-genai-with-output.html) ## Source and credit Source footage and original voice — NASA / Johnson Space Center, Expedition 67, 13 May 2022. Astronaut Jessica Watkins spoke to AccuWeather and KMGH-TV during an in-flight interview. BLA excerpted the station footage, ran a local transcription and edited the captions for this independent tutorial. The interview is the subject of the exercise. - Main excerpt in the NASA master — 02:02.900–02:09.100. - Next sentence in the NASA master — 02:09.100–02:13.350. - Credit for a Simplified Chinese edition — 采访画面及原声来自美国国家航空航天局(NASA)约翰逊航天中心,2022 年 5 月 13 日。BLA 节选并制作字幕。 - Credit for a Traditional Chinese edition — 訪問畫面及原聲來自美國太空總署(NASA)約翰遜太空中心,2022 年 5 月 13 日。BLA 節選並製作字幕。 NASA's media guidelines permit factual educational and informational uses with source credit, subject to their terms, including the conditions for identified third-party material, advertising and implied endorsement. The NASA catalog credits the Johnson Space Center. The selected station-camera segment features the astronaut speaking. [Official NASA interview](https://images.nasa.gov/details/iss067m261331439_Expedition_67_Inflight_Accuweather_KMGH-TV_220513) · [Start the original at 02:02.900](https://images-assets.nasa.gov/video/iss067m261331439_Expedition_67_Inflight_Accuweather_KMGH-TV_220513/iss067m261331439_Expedition_67_Inflight_Accuweather_KMGH-TV_220513~medium.mp4#t=122.9,133.35) · [NASA media usage guidelines](https://www.nasa.gov/nasa-brand-center/images-and-media/)