Blob


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