Skip to content

Video Editor import media not working on macOS - ffmpeg not found #94

@Mars535821089

Description

@Mars535821089

Bug: LTX Desktop cannot import media on macOS API mode

Issue

When trying to import local video files via "Import Media" in Video Editor, nothing happens. The files are not added to the project.

Environment

  • macOS (Apple Silicon, MacBook Pro)
  • LTX Desktop v1.0.4
  • API mode (LTX API key configured)
  • Models stored on external volume via symlink: ~/Library/Application Support/LTXDesktop/models -> /Volumes/Mars_990Pro_AI_Models/LTX Desktop Models/models

Error from logs

2026-04-08 13:13:32,589 - ERROR - [Electron] Error adding asset to project: Error: ffmpeg not found
2026-04-08 13:13:32,589 - WARNING - [Renderer] Failed to add asset to project folder: Error: ffmpeg not found

Investigation

  • ffmpeg is installed on the system at /opt/homebrew/bin/ffmpeg
  • LTX Desktop bundled Python includes imageio-ffmpeg with its own ffmpeg binary
  • The Electron subprocess cannot find ffmpeg because:
    1. macOS sandbox restricts PATH access
    2. LTX Desktop app bundle does not include ffmpeg in its executable PATH
    3. The app's bundled ffmpeg is not accessible from Electron's subprocess calls

Expected behavior

User should be able to import locally stored video files for editing in the Video Editor, regardless of whether models are stored locally or on external storage.

Suggested fix

  1. Bundle ffmpeg in a location accessible to Electron subprocess
  2. Or modify the import media code to use the bundled Python's ffmpeg instead of spawning a new subprocess
  3. Or add ffmpeg to the app's internal PATH via LSEnvironment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions