Skip to content

The flv file recorded by SRS does not support skipping playback. #3700

Closed Answered by winlinvip
jiangbo asked this question in Q&A
Discussion options

You must be logged in to vote

Playing by jumping, essentially means clicking on the progress bar and jumping to a certain time. At this time, it is necessary to convert the time into file offset and use the HTTP range to return the data.

MP4 files support jumping because there is a corresponding relationship between time and offset in MP4, which can be achieved by combining with HTTP range requests.

FLV generally relies on metadata to inject the relationship between time and offset into the metadata. This data can be injected using ffmpeg.

Of course, FLV requires player support for this operation, not just server support. On the other hand, MP4 is naturally supported by browsers as a player.

Therefore, SRS should not …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jiangbo
Comment options

@winlinvip
Comment options

Answer selected by winlinvip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
TransByAI Translated by AI/GPT.
2 participants
Converted from issue

This discussion was converted from issue #3698 on July 21, 2023 10:51.