HDR layered composite repeats video frames: ~50% duplicates when the source <video> is HLG
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
Direzione di ricerca
Start at the HDR auto-promotion and capture_hdr_layered path named in the report, then trace how it captures and composites the extracted video frames. The report confirms the frame cache contains 300 distinct frames, so compare those with frames from the HDR layered output and use the SDR render as a control. Done means the HLG render preserves all source frames without duplicates.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
When a composition contains an HLG (HDR) <video>, the render auto-promotes to HDR and goes through the HDR layered composite path. In that path the output repeats video frames: about half of the frames are duplicates of the previous one, so playback visibly stutters. The same composition with an SDR copy of the same clip renders every frame correctly.
Reproduction
A blank project from npx hyperframes init with one full-frame video. No other elements or animation.
# 10 s, 30 fps HLG test clip (synthetic, so every source frame is distinct)
ffmpeg -f lavfi -i "testsrc2=size=1920x1080:rate=30" -f lavfi -i "sine=frequency=440" -t 10 \
-c:v libx265 -pix_fmt yuv420p10le \
-x265-params "colorprim=bt2020:transfer=arib-std-b67:colormatrix=bt2020nc" \
-tag:v hvc1 -c:a aac -shortest assets/hlg.mp4
# SDR control clip
ffmpeg -f lavfi -i "testsrc2=size=1920x1080:rate=30" -f lavfi -i "sine=frequency=440" -t 10 \
-c:v libx264 -pix_fmt yuv420p -c:a aac -shortest assets/clip.mp4
<div id="root" data-composition-id="main" data-start="0" data-duration="10" data-width="1920" data-height="1080">
<video id="footage" class="clip" src="assets/hlg.mp4" data-start="0" data-duration="10"
data-track-index="0" data-has-audio="true"></video>
</div>
<script>
const tl = gsap.timeline({ paused: true });
window.__timelines["main"] = tl;
tl.seek(0);
</script>
npx hyperframes render --quality draft --output out.mp4
# count distinct frames (300 expected)
ffmpeg -i out.mp4 -vf "mpdecimate=hi=200:lo=100:frac=0.1,showinfo" -an -f null - 2>&1 | grep -c pts_time
Results
| Source | Distinct frames in output | Render time |
|---|---|---|
SDR H.264 (clip.mp4) |
300 / 300 | 9.9 s |
HLG HEVC 10-bit (hlg.mp4) |
155 / 300 | 34.5 s |
| Real iPhone HLG recording (8-bit re-encode, HLG tags kept) | 64 / 302 | — |
The log for the HLG run shows HDR auto-promotion triggered by "assets/hlg.mp4", then capture_hdr_layered with captureMode: screenshot, useLayeredComposite: true. The frames HyperFrames extracts into its frame cache are all distinct (checked: 300/300), so the repeats appear to come from the layered capture/composite step rather than from extraction.
--experimental-fast-capture=false, --workers 1, and an all-intra source (-g 1 -bf 0) did not change the result.
Expected
Every source frame appears once in the output, as with SDR input.
Environment
- hyperframes 0.8.208 (also seen on 0.8.206)
- macOS 15.7.9, Apple M1 Pro
- Google Chrome 156.0.8078.48 (hardware GPU)
- FFmpeg 8.1.1
Workaround
Tone-map the HLG clip to SDR BT.709 before using it in a composition. iPhones record HDR (HLG / Dolby Vision) by default, so phone footage hits this path without the author choosing HDR.
- Lingua principale
- TypeScript
- Stelle
- 54.1k
- Fork
- 4.9k
- Merge medio
- 11h 3m
- PR unite (30g)
- 772
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di heygen-com/hyperframes
-
Batch rendering rejects JSON files saved with a byte order markForse già presa @AksharP5 l’ha presa 1 giorno fa. Apertabug triage/ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
heygen-com/hyperframes#6604 ·
I maintainer di solito rispondono entro 1 giorno
-
bug difficulty/easy triage/ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
heygen-com/hyperframes#6481 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Timeline: show a clip's full name when its label is cut offForse già presa @DanielMcSheehy l’ha presa 11 giorni fa. Apertadesktop-candidate difficulty/easy enhancement good first issue help wanted triage/ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
heygen-com/hyperframes#5582 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Studio: press ? to open the keyboard shortcuts panelForse già presa @B-Payal l’ha presa 15 giorni fa. Apertadesktop-candidate difficulty/easy enhancement good first issue help wanted triage/ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
heygen-com/hyperframes#5580 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
lint: add tests for three caption rules that have noneForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertadifficulty/easy enhancement help wanted triage/ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
heygen-com/hyperframes#5388 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di heygen-com/hyperframes
Issue simili
-
Parallel reticle_verify opens per-flow leases without the source lease's ignoreHTTPSErrorsForse già presa @as992949791 l’ha presa oggi. Apertagood first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
reticlehq/reticle#2033 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:quality p3-medium ready-for-agent type:docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
fderuiter/deruiter.dev#3589 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
manfredsteyer/angular-oauth2-oidc#1514 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
marmelab/react-admin#11431 ·
I maintainer di solito rispondono entro 1 giorno