Skip to content

Add support for fMP4 (fragmented mp4) (Dispatcharr only) #79

@Drvolks

Description

@Drvolks

Context

Dispatcharr supports serving media as fMP4 (fragmented MP4) — a format that allows for adaptive bitrate streaming and partial content fetching. StreamClient currently only supports standard MP4/HLS streams and cannot handle fMP4 streams directly from Dispatcharr.

Problem

When streaming from a Dispatcharr server that serves fMP4 content, the player fails to initialize because the stream format is not recognized by libmpv in its current configuration.

Expected Behavior

StreamClient should detect and handle fMP4 streams from Dispatcharr, enabling adaptive streaming playback without requiring transcoding on the server side.

Implementation Notes

  • fMP4 support is specific to the Dispatcharr backend (Django REST API)
  • NextPVR variant does not need this feature
  • Requires libmpv configuration update to handle fMP4 container format
  • May need demuxer-lavf-o configuration or similar to enable fMP4 demuxing in libmpv

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions