Parallel rendering: split the video into chunks and render them at the same time

Offen
#7 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
javascript, nodejs, playwright
Bereich
performance

Rechercherichtung

The work is in the render path that draws frames one by one in a single Chromium page; the payload does not name the files. Start by rendering examples/boat on a clean clone to reproduce the 86 s baseline and check the frame output. Done means the chunked, concatenated output is byte-identical to the single-page output, measurably faster on 4+ cores with numbers posted, glitch-free at the joins, and the single-page path kept behind a flag.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement help wanted performance

Baseline, measured on a clean clone: a 64 s video (examples/boat, no narration) took 86 s end to end on an Apple-silicon Mac. Frames are drawn one by one in one Chromium page.

What: render N chunks in separate pages (or processes), encode each, then join them with ffmpeg's concat. The same time must still give byte-identical frames.

Done when: the same example is measurably faster on a 4+ core machine (post your numbers), the output plays without a glitch at the joins, and the old single-page path stays available with a flag.

Vorherrschende Sprache
JavaScript
Sterne
0
Forks
2
Ø Merge
58 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus itzjk/explainkit

Alle Issues in itzjk/explainkit

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.