Miguel Ángel
437784038b
fix(engine): late-starting MP4 and WebM videos render every frame the preview shows ( #6664 )
...
* fix(engine): late-starting MP4 and WebM videos render every frame the preview shows
The browser counts an MP4 or WebM from timestamp 0, but FFmpeg seeks from the file's
earliest stream start. A file whose first frame comes after 0 (a fragment cut from a
longer stream, an edit-list offset, a WebM with a start offset) was extracted early and
short, so renders tripped the video coverage gate. Every video seek now maps media time
to FFmpeg's timeline, and the video begins where the browser shows it.
* fix(engine): audio from late-starting MP4 and WebM plays when the preview plays it
The mixer seeked and trimmed audio by FFmpeg's clock, which starts at the file's earliest
stream. In an MP4 or WebM whose streams all start after 0, the browser plays that audio
later, so the render heard it early by the same amount. The mixer now maps media time onto
FFmpeg's clock with the same offset frame extraction uses.
* fix(engine): a late-starting file's picture shows on the clock its audio plays on
* test(producer): vfr-screen-recording baseline shows each frame at its timestamp
2026-10-28 13:09:53 +00:00
..
2026-10-27 15:49:13 +00:00
2026-10-24 16:10:44 +00:00
2026-10-28 07:48:40 +00:00
2026-10-22 20:12:49 +00:00
2026-10-14 20:26:59 +00:00
2026-10-20 04:13:29 +00:00
2026-10-27 13:26:01 +00:00
2026-10-27 13:26:01 +00:00
2026-10-22 20:12:49 +00:00
2026-10-27 14:28:43 +00:00
2026-10-11 23:56:09 +00:00
2026-10-11 23:56:09 +00:00
2026-09-21 18:45:08 -04:00
2026-10-22 20:12:49 +00:00
2026-08-23 18:09:21 -07:00
2026-10-24 07:18:32 +00:00
2026-10-23 12:09:39 +00:00
2026-10-28 13:09:53 +00:00
2026-10-23 18:24:50 +00:00
2026-10-27 13:09:02 +00:00
2026-10-28 13:09:53 +00:00
2026-10-24 14:30:16 +00:00
2026-10-27 13:09:02 +00:00
2026-10-25 15:25:34 +00:00
2026-10-24 09:51:28 +00:00
2026-10-27 14:28:43 +00:00
2026-10-25 19:15:18 +00:00
2026-09-22 22:49:44 -04:00
2026-10-14 06:22:39 +00:00
2026-10-24 23:09:57 +00:00
2026-10-27 13:26:01 +00:00
2026-10-25 03:00:14 +00:00
2026-10-14 06:22:39 +00:00
2026-10-27 10:08:51 +00:00
2026-10-27 13:26:01 +00:00
2026-10-24 10:33:03 +00:00
2026-10-24 10:33:03 +00:00
2026-10-23 17:37:41 -07:00
2026-10-14 20:26:59 +00:00
2026-10-14 20:26:59 +00:00
2026-10-27 11:09:05 +00:00
2026-10-28 07:48:40 +00:00
2026-10-24 04:10:28 +00:00
2026-09-18 20:52:02 -07:00
2026-10-28 09:41:17 +00:00
2026-10-28 09:41:17 +00:00
2026-10-27 18:15:39 +00:00
2026-10-23 07:33:25 +00:00
2026-10-25 00:29:23 +00:00
2026-10-27 19:28:49 +00:00
2026-10-28 08:44:28 +00:00
2026-10-27 00:29:06 +00:00
2026-10-21 01:49:36 +00:00
2026-10-28 09:24:27 +00:00
2026-10-26 19:50:02 +00:00
2026-07-06 16:19:17 -07:00
2026-07-28 00:55:10 -07:00
2026-10-28 10:41:22 +00:00
2026-08-26 12:30:49 -04:00
2026-10-23 07:33:25 +00:00
2026-10-24 04:10:21 +00:00
2026-10-24 04:10:21 +00:00
2026-10-27 14:28:43 +00:00
2026-09-05 21:38:42 -04:00
2026-09-22 22:18:56 -04:00
2026-09-04 19:54:29 -04:00
2026-09-22 22:18:56 -04:00
2026-10-26 12:20:19 +00:00
2026-10-12 12:52:44 +00:00
2026-10-24 00:28:13 +00:00
2026-10-08 20:00:27 +00:00
2026-10-19 00:13:02 +00:00
2026-09-08 18:10:28 +00:00
2026-10-26 19:50:02 +00:00
2026-10-07 05:46:10 +00:00
2026-10-23 23:24:04 +00:00
2026-10-26 16:15:42 +00:00
2026-10-21 19:19:31 +00:00
2026-10-25 23:04:09 +00:00
2026-07-16 00:28:40 +00:00
2026-06-04 03:28:20 -04:00
2026-07-13 19:07:39 -04:00
2026-10-12 12:52:44 +00:00
2026-08-23 13:18:18 -04:00
2026-10-26 01:32:12 +00:00
2026-07-21 03:05:53 +00:00
2026-10-09 16:34:12 +00:00
2026-09-09 01:57:36 +00:00
2026-10-23 22:33:05 +00:00
2026-10-26 17:28:56 +00:00
2026-10-26 17:28:56 +00:00
2026-07-14 18:10:03 -04:00
2026-10-25 19:57:09 +00:00
2026-07-11 12:00:25 -07:00
2026-10-25 17:34:41 +00:00
2026-10-19 18:12:50 +00:00
2026-10-24 14:30:16 +00:00
2026-10-14 06:22:39 +00:00
2026-06-24 19:21:46 -04:00
2026-10-25 23:04:09 +00:00
2026-10-28 10:41:22 +00:00
2026-10-24 23:09:57 +00:00
2026-10-26 17:28:50 +00:00
2026-10-02 02:28:30 +00:00
2026-10-22 23:23:17 +00:00
2026-08-18 10:17:02 -04:00
2026-08-18 10:17:02 -04:00
2026-09-17 01:09:12 -04:00
2026-09-17 01:09:12 -04:00
2026-10-09 23:09:10 +00:00
2026-10-25 23:04:09 +00:00
2026-10-23 14:20:17 -07:00
2026-07-15 22:33:37 +00:00
2026-07-15 22:33:37 +00:00
2026-10-27 09:08:54 +00:00
2026-10-28 08:42:31 +00:00
2026-10-28 08:42:31 +00:00
2026-10-17 18:03:34 +00:00
2026-07-15 22:11:44 +00:00
2026-07-15 22:11:44 +00:00
2026-10-28 07:48:40 +00:00
2026-10-21 06:24:33 +00:00
2026-10-23 20:52:08 +00:00
2026-10-23 20:52:08 +00:00
2026-10-25 19:15:18 +00:00
2026-10-25 19:15:18 +00:00
2026-10-25 19:15:18 +00:00
2026-10-27 13:26:01 +00:00
2026-10-25 23:03:24 +00:00
2026-10-26 16:12:30 +00:00
2026-10-24 05:33:56 +00:00
2026-10-24 05:33:56 +00:00
2026-10-18 22:15:31 +00:00
2026-10-27 00:29:06 +00:00
2026-10-28 13:09:53 +00:00
2026-08-02 20:21:54 -07:00
2026-10-25 19:15:18 +00:00
2026-10-25 19:15:18 +00:00
2026-10-25 19:15:18 +00:00
2026-09-26 22:14:14 +00:00
2026-10-27 02:52:25 +00:00
2026-10-10 08:09:39 +00:00
2026-09-01 21:35:40 -04:00
2026-10-27 07:29:03 +00:00
2026-10-24 14:30:16 +00:00
2026-10-27 20:09:05 +00:00
2026-10-24 14:30:16 +00:00
2026-10-27 23:09:15 +00:00
2026-10-28 13:09:53 +00:00
2026-10-21 05:32:19 +00:00
2026-10-26 16:12:30 +00:00
2026-10-26 16:12:30 +00:00
2026-10-22 22:35:17 +00:00
2026-10-12 12:52:44 +00:00
2026-10-12 12:52:44 +00:00
2026-06-20 16:36:59 -04:00
2026-09-22 00:15:42 -04:00
2026-09-22 00:15:42 -04:00
2026-10-14 06:22:39 +00:00
2026-10-14 06:22:39 +00:00