Skip to content

Read media metadata (duration, resolution, codecs) #267

Done

Description

@clbotdev

Summary

Read technical metadata from every uploaded file and store it on the media record:

  • Video: duration, width, height, frame rate, codecs, bitrate, rotation
  • Audio: duration, codec, sample rate, channels
  • Images: width, height, format

Part of Phase 1 of #247.

Notes

  • Use ffprobe for audio and video, and libvips for images.
  • HLS, MP4 and captions use this to decide what to do, e.g. no HLS rendition larger than the source, and no audio extraction from a video with no audio.
  • Return it in the REST API, MCP tools and CLI.
  • Runs for every upload. There's no media setting for it.

Activity

  1. added
    enhancement
    on Nov 17, 2026
  2. s3rot0n1n commented on Nov 28, 2026

    @s3rot0n1n
    Contributor

    Delivered in #291 (pipelines phase 1, step 2): media metadata (duration, resolution, codecs) read at seal and returned as metadata. Closing; the PR didn't use a closing keyword.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions