Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-03T19:50:43.603Z
Answers.LastActivityDate: 2019-09-08T03:14:40.253Z
Answers.LastEditDate: 2019-09-08T03:14:40.253Z
Answers.UserDisplayName: Leroy Scandal
Body: <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>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-09-02T15:21:27.400Z
Comments.Text: Not possible...
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-09-03T05:25:05.870Z
Comments.Text: Is it ok to separate them after downloading as a single file?
Comments.UserDisplayName: Gyan
Tags: <ffmpeg>
Title: Is it possible to download m3u8 as separate files using ffmpeg?
UserDisplayName: joliclick
ThreadText: # 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.
  
  
  ---
  
  