Timeout extracting video duration in bulk-import component

Resolved 💬 3 comments Opened Dec 23, 2025 by SabriEzzine Closed Feb 12, 2026

Description

Timeout error when extracting video duration for certain files in the bulk-import component.

Error Message

⏱️ Timeout extracting duration for zanzariera_scenipro_assemblaggio.mp4 - metadata took too long to load

File: bulk-import.component.ts:2298

Context

  • The Lambda media-intake function processes the video successfully
  • The video file itself is valid (h264 codec, proper metadata)
  • The issue occurs in the frontend when trying to extract duration metadata before upload

Expected Behavior

Video duration should be extracted within a reasonable timeout, or the upload should proceed even if duration extraction fails.

Suggested Fix

  1. Increase the metadata extraction timeout
  2. Or make duration extraction non-blocking (proceed with upload if it times out)
  3. Or handle the timeout gracefully without blocking the upload flow

Environment

  • Component: bulk-import.component.ts
  • Line: 2298

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗