A researcher with several interviews needs to compare what participants said and return to the recording when a finding needs context. This example runs one pipeline per recording, then compiles its transcript-backed findings into a visual report and a spreadsheet.
llm step. Editframe enables pipelines and llm steps for an organization after you tell us about your footage.Example findings
This illustrative report uses curated findings from public recordings. Select a timeline bar to see the evidence at that point. Each theme counts the distinct recordings where it came up.
Open the full reportSource recordings
The Wikimania 2015 Mobile Contribution Discovery study asked participants how they contribute to Wikimedia on mobile devices. The study team grouped timestamped observations from the interviews into themes. This example applies the same idea to three participant recordings from the study.
| Recording | Portion used |
|---|---|
| Participant 6 | First 3 minutes |
| Participant 10 | Full recording, about 2½ minutes |
| Participant 12 | First 3 minutes |
What the pipeline does
| Step | Output |
|---|---|
probe | Media duration and tracks. |
transcript | Timestamped speech.segment and speech.word annotations from the recording's audio. |
evidence | Findings with a category, topic, expressed sentiment, short summary, and exact text and time range from one supporting transcript segment. |
Each finding is a problem, praise, opinion, reported fact, or reported event. A reported fact describes a claim about the participant's situation or usual practice. A reported event describes a specific action or outcome the participant recounts. Its timestamp points to where they describe it. Sentiment applies to the point being discussed and can be positive, negative, mixed, or neutral.
The LLM step uses the recording to help distinguish the participant from the moderator. The transcript has no speaker labels. Treat the summary and category as candidates for review, and listen at the cited timestamp before using a finding in a decision. The report counts distinct recordings per topic and keeps conflicting accounts visible.
Run it
Use Bash, Node.js, FFmpeg, and jq from the root of the Editframe checkout. Set EDITFRAME_TOKEN to your organization's API key. The files under elements/examples/research-interviews/ specify the recordings and the pipeline.
Download the source media and verify its checksums. The recordings are Ogg video, so convert them to MP4 before using the CLI to upload them. The excerpts for p6 and p12 start at zero, so the report times also work in the source recordings.
(
set -euo pipefail
demo_dir=".workspace/research-interviews"
mkdir -p "$demo_dir"
node elements/examples/scripts/fetch-sources.mjs --slug research-interviews > "$demo_dir/sources.json"
for id in p6 p10 p12; do
original="$(jq -er --arg id "$id" '.[$id]' "$demo_dir/sources.json")"
excerpt=()
if [[ "$id" != p10 ]]; then excerpt=(-t 180); fi
ffmpeg -hide_banner -loglevel error -y -i "$original" "${excerpt[@]}" \
-map 0:v:0 -map 0:a:0 -c:v libx264 -preset fast -pix_fmt yuv420p \
-c:a aac -movflags +faststart "$demo_dir/$id.mp4"
elements/scripts/editframe pipelines upload "$demo_dir/$id.mp4" --json > "$demo_dir/$id-upload.json"
jq -e --arg id "$id" '{($id): (.file.id // error("missing file ID"))}' \
"$demo_dir/$id-upload.json" > "$demo_dir/$id-file.json"
done
jq -s add "$demo_dir/p6-file.json" "$demo_dir/p10-file.json" "$demo_dir/p12-file.json" > "$demo_dir/files.json"
group_dir="$(node elements/examples/scripts/run-example.mjs research-interviews --files "$demo_dir/files.json")"
node elements/examples/research-interviews/compile.mjs "$group_dir"
printf 'Results saved in %s\n' "$group_dir"
)The runner starts a pipeline group with one run per uploaded recording and prints the saved group directory. The source ID becomes the run's external ID, so the report can link each finding to the right recording. To collect the group again, pass the group ID to the runner with --group.
Read the compiled results
The compiler writes three files in the saved group directory.
report.htmlopens in a browser and shows sentiment timelines, theme counts by distinct recordings, and evidence with timestamps and source links.findings.jsonis the research brief. It lists recordings and run IDs, coverage, counts by theme and sentiment, and the underlying evidence. Use the theme counts to find patterns and the cited segments to see where participants agree or differ.evidence.csvhas one finding per row. Filter by topic, category, or sentiment. Open its source page and seek to the row's start time to check a finding.- Each
<source-id>/outputs/transcript.jsonholds all the transcript annotations returned for the submitted recording. Each<source-id>/outputs/evidence.jsonholds the raw model output.
The compiler checks each quote and time range against the saved transcript. If a run failed, an output was truncated, or a finding could not be matched to a segment, coverage records the gap. An empty findings list can also mean the recording had no clear evidence for the research question.
Licences
The three recordings are credited to Jmorgan (WMF) and are available via Wikimedia Commons under CC BY-SA 4.0. Use the credited file pages above when sharing these recordings or adaptations. This example converts them to MP4 and uses excerpts as indicated.