dragonflight/services/worker/src/workers
zgaetano b449ef0ce3 fix(worker): YouTube importer prefers H.264 so originals import in Premiere
YouTube now packs AV1 inside .mp4, so the old `bv*[ext=mp4]` format selector
grabbed AV1 for the downloaded ORIGINAL. Premiere rejects AV1 on hi-res import
("unsupported file type"). The h264 proxy was fine, but the original wasn't.

Prefer avc1 (H.264) so the original is Premiere-native, falling back to the
previous any-mp4 behaviour only when no H.264 rendition exists. avc1 tops out
at 1080p on YouTube (above that is AV1/VP9 only), which is the universally
importable ceiling anyway.

Verified on a real URL: old selector -> av01 1080p; new selector -> avc1 1080p
(same resolution, now Premiere-native).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-29 21:21:44 -04:00
..
conform.js feat(worker): conform — queue proxy build for the conformed output 2026-05-28 15:49:01 -04:00
filmstrip.js feat: server-side filmstrip worker + fix scheduler crash + fix clip freeze 2026-05-26 16:39:44 +00:00
hls.js feat(playback): HLS VOD rendition for browser (supplements MP4 proxy) 2026-05-29 16:18:15 -04:00
promotion.js fix(promotion): singleton proxyQueue; await promote(); return shutdown fn (issue #94 bugs 3, 4) 2026-05-26 07:36:08 -04:00
proxy.js feat(playback): HLS VOD rendition for browser (supplements MP4 proxy) 2026-05-29 16:18:15 -04:00
thumbnail.js feat: server-side filmstrip worker + fix scheduler crash + fix clip freeze 2026-05-26 16:39:44 +00:00
trimWorker.js fix(trim): update jobs table status on complete/fail (issue #94 bug 2) 2026-05-26 07:35:28 -04:00
youtube-import.js fix(worker): YouTube importer prefers H.264 so originals import in Premiere 2026-05-29 21:21:44 -04:00