Michael Wang
aefca2baff
fix(media-use): carve decodes only media files inside the composition's folder ( #8649 )
...
* fix(media-use): carve decodes only media files inside the composition's folder
carve.mjs resolved each media src from the composition and handed the result to ffmpeg, so an
absolute, climbing, UNC or linked name reached a file outside the project, and a playlist inside
the project was followed to the files it lists. Each src must now be a relative name that lands
on a regular file inside the composition's folder after links are resolved, outside the files the
project keeps private, and free of ffmpeg pattern characters. Every source is checked before any
is decoded. ffmpeg then reads the one file, pinned to its probed format and the file protocol,
and a list or playlist format is refused.
The probe and the pinned input move from recording.mjs into lib/media-input.mjs so both scripts
share them. The private-path rule and the image2 pattern guard are bundled into audio-carve.mjs
from packages/parsers.
* fix(media-use): media-input.mjs loads the Windows program guard first
Every skill script that starts programs imports windows-exe-search.mjs before anything else, so
ffprobe and ffmpeg are never looked up in the working directory on Windows.
2026-11-24 09:25:11 +00:00
..
2026-10-02 17:14:52 +00:00
2026-11-21 07:51:06 +00:00
2026-11-23 01:05:16 +00:00
2026-11-17 20:01:35 +00:00
2026-09-24 20:26:15 -04:00
2026-05-15 16:23:12 -07:00
2026-10-21 19:19:31 +00:00
2026-10-04 01:27:10 +00:00
2026-10-04 01:27:10 +00:00
2026-09-18 15:10:35 -04:00
2026-11-15 02:12:42 +00:00
2026-10-09 18:04:42 +00:00
2026-10-09 22:19:38 +00:00
2026-09-19 16:53:29 -04:00
2026-09-19 16:53:29 -04:00
2026-09-23 12:09:46 -04:00
2026-09-10 08:21:49 -04:00
2026-09-10 08:21:49 -04:00
2026-10-07 03:11:49 +00:00
2026-10-07 03:11:49 +00:00
2026-08-10 18:46:03 -04:00
2026-08-14 11:20:37 -07:00
2026-11-16 18:16:05 +00:00
2026-10-05 15:52:51 -07:00
2026-10-05 23:32:46 +00:00
2026-10-09 22:19:38 +00:00
2026-11-12 11:39:42 +00:00
2026-08-04 03:08:04 -07:00
2026-08-09 22:07:57 -07:00
2026-08-01 17:21:41 -07:00
2026-09-23 12:09:46 -04:00
2026-09-23 12:09:46 -04:00
2026-10-20 09:12:47 +00:00
2026-10-20 09:12:47 +00:00
2026-10-21 02:46:17 +00:00
2026-10-21 02:46:17 +00:00
2026-11-11 06:26:24 +00:00
2026-11-17 05:05:28 +00:00
2026-11-14 17:00:47 +00:00
2026-11-16 00:21:21 +00:00
2026-11-16 00:21:21 +00:00
2026-11-23 07:12:36 +00:00
2026-11-18 09:26:49 +00:00
2026-09-22 07:04:54 -04:00
2026-10-22 18:45:53 +00:00
2026-08-04 00:37:48 -07:00
2026-10-26 08:38:20 +00:00
2026-10-30 03:06:12 +00:00
2026-10-10 09:04:47 +00:00
2026-10-10 09:04:47 +00:00
2026-11-16 05:52:09 +00:00
2026-11-17 19:26:39 +00:00
2026-09-23 16:56:16 -04:00
2026-11-21 19:08:49 +00:00
2026-11-02 04:13:57 +00:00
2026-07-18 13:24:57 -04:00
2026-07-18 13:24:57 -04:00
2026-11-22 02:59:24 +00:00
2026-11-22 02:59:24 +00:00
2026-11-15 02:12:42 +00:00
2026-11-15 02:12:42 +00:00
2026-09-22 11:24:51 -04:00
2026-09-22 11:24:51 -04:00
2026-09-23 19:09:09 -04:00
2026-07-16 17:29:19 -04:00
2026-11-12 19:58:01 +00:00
2026-10-28 05:15:06 +00:00
2026-10-10 19:08:30 +00:00
2026-11-21 09:03:14 +00:00
2026-11-21 09:03:14 +00:00
2026-09-23 16:56:16 -04:00
2026-11-15 00:47:08 +00:00
2026-11-15 00:47:08 +00:00
2026-10-27 05:38:33 +00:00
2026-10-27 05:38:33 +00:00
2026-07-11 01:20:22 -07:00
2026-07-11 01:20:22 -07:00
2026-07-11 21:57:45 -07:00
2026-07-11 21:57:45 -07:00
2026-11-16 01:09:58 +00:00
2026-06-25 11:20:11 -04:00
2026-10-29 05:20:41 +00:00
2026-10-29 05:20:41 +00:00
2026-10-22 08:49:29 +00:00
2026-10-22 08:49:29 +00:00
2026-06-02 20:34:29 -04:00
2026-08-09 22:07:57 -07:00
2026-10-22 21:18:17 +00:00
2026-11-17 05:05:28 +00:00
2026-09-24 23:28:36 -04:00
2026-10-01 07:21:05 -07:00
2026-10-01 10:13:48 -07:00
2026-10-01 07:21:05 -07:00
2026-10-01 07:21:05 -07:00
2026-10-21 19:19:31 +00:00
2026-11-16 01:50:04 +00:00
2026-09-19 16:53:29 -04:00
2026-11-13 19:15:42 +00:00
2026-11-13 19:15:42 +00:00
2026-11-22 10:57:59 +00:00
2026-08-18 01:37:46 -04:00
2026-10-20 19:09:11 +00:00
2026-11-04 18:09:27 +00:00
2026-10-30 15:48:25 +00:00
2026-09-18 13:06:09 -04:00
2026-10-02 17:14:52 +00:00
2026-10-21 05:25:09 +00:00
2026-11-04 18:09:27 +00:00
2026-09-23 12:09:46 -04:00
2026-11-24 09:25:11 +00:00
2026-09-23 16:56:16 -04:00
2026-09-23 12:09:46 -04:00
2026-09-23 12:09:46 -04:00
2026-11-24 08:05:08 +00:00
2026-10-01 23:56:36 +00:00
2026-11-10 20:01:29 +00:00
2026-11-10 20:01:29 +00:00
2026-10-26 08:20:55 +00:00
2026-08-04 23:13:19 +00:00
2026-10-26 07:20:03 +00:00
2026-08-03 10:14:37 +02:00
2026-11-22 22:39:57 +00:00
2026-11-22 22:39:57 +00:00
2026-11-17 21:47:09 +00:00
2026-11-17 21:47:09 +00:00
2026-09-25 16:50:55 +00:00
2026-09-27 21:58:51 +00:00
2026-09-27 21:58:51 +00:00
2026-07-22 00:41:40 +08:00
2026-11-24 09:22:41 +00:00
2026-07-18 15:58:23 -04:00
2026-07-18 15:58:23 -04:00
2026-09-28 22:03:59 +00:00
2026-09-24 11:19:00 -04:00
2026-09-19 16:53:29 -04:00
2026-11-16 18:16:05 +00:00
2026-11-17 20:00:37 +00:00
2026-11-24 07:02:33 +00:00
2026-11-10 20:01:29 +00:00
2026-09-09 00:47:31 -04:00
2026-08-10 18:46:03 -04:00
2026-11-17 20:01:35 +00:00
2026-08-04 03:06:32 -07:00
2026-08-04 03:06:32 -07:00
2026-10-21 05:25:09 +00:00
2026-11-24 07:02:33 +00:00
2026-06-02 20:34:29 -04:00
2026-06-02 20:34:29 -04:00
2026-10-15 05:59:41 +00:00
2026-10-15 05:59:41 +00:00
2026-09-23 12:09:46 -04:00
2026-09-27 21:58:51 +00:00
2026-11-06 04:35:33 +00:00
2026-11-16 04:48:52 +00:00
2026-11-11 06:26:24 +00:00
2026-11-21 09:03:14 +00:00
2026-09-28 22:03:59 +00:00
2026-04-17 17:43:43 +02:00
2026-11-23 16:15:14 +00:00
2026-09-21 21:14:49 -04:00
2026-11-03 11:07:02 +00:00
2026-08-09 22:07:57 -07:00
2026-11-15 00:47:08 +00:00
2026-11-15 00:47:08 +00:00
2026-11-17 05:20:53 +00:00
2026-11-17 05:20:53 +00:00
2026-11-15 07:22:20 +00:00
2026-11-15 07:22:20 +00:00
2026-11-11 06:26:24 +00:00
2026-11-06 04:35:33 +00:00