1
0
Fork 0

doc/muxers: add hds

This commit is contained in:
Stefano Sabatini 2024-03-20 17:27:20 +01:00
parent 25248c9d75
commit 7852bf02b0
1 changed files with 39 additions and 0 deletions

View File

@ -1833,6 +1833,45 @@ ffmpeg -i INPUT -f hash -hash md5 -
See also the @ref{framehash} muxer.
@anchor{hds}
@section hds
HTTP Dynamic Streaming (HDS) muxer.
HTTP dynamic streaming, or HDS, is an adaptive bitrate streaming method
developed by Adobe. HDS delivers MP4 video content over HTTP connections. HDS
can be used for on-demand streaming or live streaming.
This muxer creates an .f4m (Adobe Flash Media Manifest File) manifest, an .abst
(Adobe Bootstrap File) for each stream, and segment files in a directory
specified as the output.
These needs to be accessed by an HDS player throuhg HTTPS for it to be able to
perform playback on the generated stream.
@subsection Options
@table @option
@item extra_window_size @var{int}
number of fragments kept outside of the manifest before removing from disk
@item min_frag_duration @var{microseconds}
minimum fragment duration (in microseconds), default value is 1 second
(@code{10000000})
@item remove_at_exit @var{bool}
remove all fragments when finished when set to @code{true}
@item window_size @var{int}
number of fragments kept in the manifest, if set to a value different from
@code{0}. By default all segments are kept in the output directory.
@end table
@subsection Example
Use @command{ffmpeg} to generate HDS files to the @file{output.hds} directory in
real-time rate:
@example
ffmpeg -re -i INPUT -f hds -b:v 200k output.hds
@end example
@anchor{hls}
@section hls