PDA

View Full Version : ffmpeg m3u8 livestream recording (downloading)


stream_monkey
01-30-2016, 07:18 PM
Hello, community-

I have been looking around the interwebz to see if there is a simple way to tell ffmpeg to only download a live m3u8 stream for a specified period of time.

I am hoping to be able to start the download at the beginning of a broadcast and have it automatically stop, say 2 hrs later.

I tried the -t handle but it did not work.

Any help would be appreciated.

Thank you.

stream_monkey
01-30-2016, 07:58 PM
Seems that using -to hh:mm:ss after the m3u8 link and before the -c copy file.ts worked.

Solved.