<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>

CC BY-SA 4.0
2019-09-03T19:50:43.603Z
2019-09-08T03:14:40.253Z
2019-09-08T03:14:40.253Z
Leroy Scandal
<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>

CC BY-SA 4.0
2019-09-02T15:21:27.400Z
Not possible...
Gyan
CC BY-SA 4.0
2019-09-03T05:25:05.870Z
Is it ok to separate them after downloading as a single file?
Gyan
<ffmpeg>
Is it possible to download m3u8 as separate files using ffmpeg?
joliclick
# Is it possible to download m3u8 as separate files using ffmpeg?

(Asked by: username_0 on 2019-09-02)

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?

**Tags:** ffmpeg

> **Comments:**
> **username_1**: Not possible...  
> **username_1**: Is it ok to separate them after downloading as a single file?  

---

## 1 answers

### Answer by username_2 on 2019-09-03. Score: 1

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.


---

