0

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?

2
  • 1
    Not possible...
    – Gyan
    Sep 2 '19 at 15:21
  • Is it ok to separate them after downloading as a single file?
    – Gyan
    Sep 3 '19 at 5:25
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.