Skip to content

feat: playback can skip gap between segments #3816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MengLi619
Copy link

Related to #3510, It will be very useful to concat record segments by Mediamtx. In our project, the network is not stable and will generate a lot of small segments. Also, we need to playback the video in real time. It's very difficult for us to concat the segments out of mediamtx, this is the PR to concat the segments when playback by the mediamtx.

I don't know if this pull request can be merged, please help to review it, thanks a lot!

@dillanspencer
Copy link

I also need this feature. Specifically, I want the ability to download video recordings from any time within the last 24 hours, even if the requested duration spans multiple recording segments. For example, if a 15-minute event occurred, I need to be able to retrieve an exact 15-minute video, regardless of whether it falls within a single recording segment or across multiple segments.

@aler9
Copy link
Member

aler9 commented Mar 4, 2025

@dillanspencer the feature you described is already implemented.
This PR is related to gaps caused by multiple starts and stops of streams.

@dillanspencer
Copy link

@aler9 Ok I might have an issue then. It seems that when I download large video clips it causes an error that creates a new segment. Then when I re-request video it only gives me video from the previous segment. Should I make an issue for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants