Blame


1 48138d09 2023-06-15 o .Dd
2 48138d09 2023-06-15 o .Dt HLSGET 1
3 48138d09 2023-06-15 o .Sh Name
4 48138d09 2023-06-15 o .Nm hlsget
5 48138d09 2023-06-15 o .Nd download the contents of a HLS playlist
6 48138d09 2023-06-15 o .Sh SYNOPSIS
7 48138d09 2023-06-15 o .Nm
8 48138d09 2023-06-15 o .Op Fl d
9 48138d09 2023-06-15 o .Op Fl ls
10 48138d09 2023-06-15 o .Ar url
11 48138d09 2023-06-15 o .Sh DESCRIPTION
12 48138d09 2023-06-15 o .Nm
13 48138d09 2023-06-15 o reads the m3u8 playlist pointed to by
14 48138d09 2023-06-15 o .Ar url,
15 48138d09 2023-06-15 o fetches each file listed
16 48138d09 2023-06-15 o and writes it to the standard output.
17 48138d09 2023-06-15 o .Pp
18 48138d09 2023-06-15 o The following flags are understood:
19 48138d09 2023-06-15 o .Bl -tag -width Ds
20 48138d09 2023-06-15 o .It Fl d
21 48138d09 2023-06-15 o Enable debugging output to standard error.
22 48138d09 2023-06-15 o .It Fl l
23 48138d09 2023-06-15 o Print the URLs to each file in the playlist; do not download.
24 48138d09 2023-06-15 o .It Fl s
25 48138d09 2023-06-15 o Write each file in the playlist to a new file in the current working directory
26 48138d09 2023-06-15 o instead of concatenating to the standard output.
27 48138d09 2023-06-15 o .Sh EXAMPLE
28 48138d09 2023-06-15 o Stream video to ffplay(1):
29 48138d09 2023-06-15 o .Dl hlsget http://video.example.com/index.m3u8 | ffplay -i -
30 48138d09 2023-06-15 o .Sh EXIT STATUS
31 48138d09 2023-06-15 o .Ex
32 48138d09 2023-06-15 o .Sh SEE ALSO
33 48138d09 2023-06-15 o .Xr curl 1