[FFmpeg-user] HTTP input file seeking

Moritz Barsnick barsnick at gmx.net
Mon May 25 12:57:58 EEST 2020


On Thu, May 21, 2020 at 10:55:39 -0400, Jimmy wrote:
> Does ffmpeg have the capability to handle an HTTP input file as seekable?

Yes, it does.

> I was hopeful that it would support something like RFC7233
> <https://tools.ietf.org/html/rfc7233> but it appears to treat it like
> stdin.

Only under certain circumstances will ffmpeg refuse to make it
seekable, and treat it as a stream.

What did you try, what was the result? Have you tried using the
protocol's input option "seekable", and setting that to "1"?

> Hopefully my webserver is missing a needed capability.

It needs to advertise "Accept-Ranges".

Cheers,
Moritz


More information about the ffmpeg-user mailing list