Describe the bug
When I use the same video 3 times, the rendering fails (2 times is acceptable)
<video id="video1" src="1.mp4" data-start="0" muted data-duration="4" data-track-index="0" data-media-start="0"></video>
<video id="video2" src="1.mp4" data-start="4" muted data-duration="4" data-track-index="0" data-media-start="4"></video>
<video id="video3" src="1.mp4" data-start="8" muted data-duration="4" data-track-index="0" data-media-start="8"></video>
C:\Users\DELL\Desktop\test-hyperframes\my-video>hyperframes render --workers 1 --output output.mp4
◆ Rendering my-video → C:\Users\DELL\Desktop\test-hyperframes\my-video\output.mp4
30fps · standard · 1 workers
|
o Browser: cache
█░░░░░░░░░░░░░░░░░░░░░░░░ 5% Compiling composition[Compiler] Inlined CDN script: https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js
[INFO] Compiled composition metadata {"entryFile":"index.html","staticDuration":12,"width":1920,"height":1080,"videoCount":3,"audioCount":3,"renderModeHints":{"recommendScreenshot":false,"reasons":[]}}
██░░░░░░░░░░░░░░░░░░░░░░░ 10% Extracting video frames[INFO] [Render] No HDR sources detected — rendering SDR
██████░░░░░░░░░░░░░░░░░░░ 25% Failed: [FrameCapture] video metadata not ready after 45000ms. Video elements must load metadata before capture starts.
✗ Render failed
[FrameCapture] video metadata not ready after 45000ms. Video elements must load metadata before capture starts.
Try --docker for containerized rendering
Link to reproduction
https://github.com/heygen-com/hyperframes
Steps to reproduce
Expected behavior
Actual behavior
Environment
C:\Users\DELL>npx hyperframes doctor
hyperframes doctor
✓ Version 0.4.38 (latest)
✓ Node.js v22.17.0 (win32 x64)
✓ CPU 6 cores · Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz @ 2904MHz
✓ Memory 31.8 GB total · 6.9 GB free
✓ Disk 15.7 GB free
✓ Environment Native terminal
✓ FFmpeg ffmpeg version 4.4-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
✓ FFprobe ffprobe version 4.4-full_build-www.gyan.dev Copyright (c) 2007-2021 the FFmpeg developers
✓ Chrome cache: C:\Users\DELL\.cache\hyperframes\chrome\chrome-headless-shell\win64-131.0.6778.85\chrome-headless-shell-win64\chrome-headless-shell.exe
'docker' �����ڲ����ⲿ���Ҳ���ǿ����еij���
�����������
✗ Docker Not found
https://docs.docker.com/get-docker/
✗ Docker running Not running
Start Docker Desktop or run: sudo systemctl start docker
◇ Some checks failed — see hints above
Additional context
No response
Describe the bug
When I use the same video 3 times, the rendering fails (2 times is acceptable)
C:\Users\DELL\Desktop\test-hyperframes\my-video>hyperframes render --workers 1 --output output.mp4
◆ Rendering my-video → C:\Users\DELL\Desktop\test-hyperframes\my-video\output.mp4
30fps · standard · 1 workers
|
o Browser: cache
█░░░░░░░░░░░░░░░░░░░░░░░░ 5% Compiling composition[Compiler] Inlined CDN script: https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js
[INFO] Compiled composition metadata {"entryFile":"index.html","staticDuration":12,"width":1920,"height":1080,"videoCount":3,"audioCount":3,"renderModeHints":{"recommendScreenshot":false,"reasons":[]}}
██░░░░░░░░░░░░░░░░░░░░░░░ 10% Extracting video frames[INFO] [Render] No HDR sources detected — rendering SDR
██████░░░░░░░░░░░░░░░░░░░ 25% Failed: [FrameCapture] video metadata not ready after 45000ms. Video elements must load metadata before capture starts.
✗ Render failed
[FrameCapture] video metadata not ready after 45000ms. Video elements must load metadata before capture starts.
Try --docker for containerized rendering
Link to reproduction
https://github.com/heygen-com/hyperframes
Steps to reproduce
Expected behavior
Actual behavior
Environment
Additional context
No response