lipsync-benchmark / README.md
freelipsync's picture
Translate Batch 1 evaluator metadata to English
b32106b verified
|
Raw History Blame Contribute Delete
4.93 kB
metadata
pretty_name: FreeLipSync Lip Sync Benchmark — Batch 1
language:
  - en
  - zh
  - es
size_categories:
  - n<1K
tags:
  - benchmark
  - lip-sync
  - synthetic
  - image
  - audio
  - video
configs:
  - config_name: default
    data_files:
      - split: test
        path: cases.jsonl

FreeLipSync Lip Sync Benchmark — Batch 1

Batch 1 is the first release of the FreeLipSync Lip Sync Benchmark. It contains 48 fixed-input cases for evaluating audio-driven lip sync. The FreeLipSync team maintains the dataset and evaluates its own product alongside other systems.

Tasks and languages

Scene Task Inputs Cases
TP Photo narration Image and speech 8
VD Replace a video soundtrack Original video and new speech. Each is 20 seconds 8
SS Solo singing Image and contiguous vocal excerpt 8
PT Pet performance Pet image and speech or singing 8
CT Cartoon performance 2D/3D character image and speech or singing 8
DP Two-person dialogue Two-person image, mixed audio and aligned A/B tracks 8

Each task has four English, two Chinese (Mandarin), and two Spanish target cases. The corpus has 16 singing cases. Each singing excerpt runs for at most 15 seconds. The eight dialogue tracks run for 9.4–12.6 seconds, with a target maximum speaker-change pause of 0.8 seconds. A is on the viewer's left and B on the right. Both stems start at time zero and have the same length as the mix, including silence.

Files and use

Case titles and evaluation notes are in English. Transcripts and lyrics retain their original languages.

  • cases.jsonl has one record per case in the test split. It includes the brief metadata, target script or lyrics, segment times, and media paths. VD rows also include the original transcript and media paths. Timing marks are editorial or approximate phrase windows.
  • batch-1-media.zip contains the 120 fixed input files. Extract it to create media/<case_id>/ at the dataset root. Each case has target.wav. Image cases have reference.png. VD cases have source.mp4 and a separate source.wav for inspecting the original soundtrack. DP cases have target-left.wav and target-right.wav for models accepting two tracks.
  • manifest.json records media roles, file sizes, SHA-256 and format metadata. SHA256SUMS also covers the case table and manifest.

The Hub viewer indexes the case table and displays media paths as strings. Download a dataset snapshot and extract the media archive to play or process the assets. Use a fixed commit in reproducible experiments.

import json
from pathlib import Path
from zipfile import ZipFile

from huggingface_hub import snapshot_download

snapshot = Path(snapshot_download(repo_id=repo_id, repo_type="dataset", revision=revision))
dataset = Path("freelipsync-batch-1")
dataset.mkdir(exist_ok=True)
with ZipFile(snapshot / "batch-1-media.zip") as archive:
    archive.extractall(dataset)
with (snapshot / "cases.jsonl").open(encoding="utf-8") as stream:
    cases = [json.loads(line) for line in stream]
audio_path = dataset / cases[0]["target_audio"]

Set repo_id to the dataset repository and revision to the commit in the benchmark release record. To verify all files, put the downloaded case table, manifest, checksum list, and extracted media/ tree in one directory and run shasum -a 256 -c SHA256SUMS there.

Provenance and limitations

The images were synthetically generated as fictional subjects. Script and lyric material was written for the benchmark. Spoken audio uses existing public-catalog voices available in FreeLipSync. Singing samples are excerpts from generated songs, including their backing tracks. The source videos were synthesized with FreeLipSync Motion Control / Super, then prepared as 20-second H.264 clips with the fixed original soundtrack. All evaluated systems use the same selected input for a given case. The synthetic source-video pipeline may influence results on the video replacement task.

The dataset intentionally includes different facial angles, framing, character appearance and age presentations. It is a curated synthetic test suite with eight cases per task. It cannot estimate demographic performance or represent the full distribution of real footage. The synthetic subject descriptions reflect asset design. This version contains benchmark inputs. Generation attempts, model outputs and human ratings are part of the results release.

Release and citation

We plan to expand the benchmark with new batches of cases over time. Cite the batch number and the fixed repository revision used in an evaluation. Earlier revisions remain available through the repository history. The accompanying benchmark report will be linked when it is available.