user26157: I know it is possible to download playlist and concatenate it on the fly with something like this:
ffmpeg.exe -protocol_whitelist "file,http,https,tls,tcp" -i input.m3u8 -codec copy output.mp4

But I need to get all playlist files separated. Is there a ffmpeg option for that?

user26160: Maybe I misunderstood the question.

Do you want to download each segment in the playlist as an mp4?

if you know the length of time of the segments, you could do** 
ffmpeg -i  'https://example.com/hls/index.m3u8 \
-f segment -segment_time 10  -c copy  -y out%03d.mp4

just match the segment time.

26157: <p>I know it is possible to download playlist and concatenate it on the fly with something like this:</p>

<pre><code>ffmpeg.exe -protocol_whitelist "file,http,https,tls,tcp" -i input.m3u8 -codec copy output.mp4
</code></pre>

<p>But I need to get all playlist files separated. Is there a ffmpeg option for that?</p>
 26160: <p>Maybe I misunderstood the question.</p>

<blockquote>
  <p>Do you want to download each segment in the playlist as an mp4?</p>
</blockquote>

<p>if you know the length of time of the segments, you could do** </p>

<pre><code>ffmpeg -i  'https://example.com/hls/index.m3u8 \
-f segment -segment_time 10  -c copy  -y out%03d.mp4
</code></pre>

<p>just match the segment time.</p>
