Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

ffmpeg m3u8 livestream recording (downloading)

(http://stream-recorder.com/forum/showthread.php?t=20681)

stream_monkey 01-30-2016 07:18 PM

ffmpeg m3u8 livestream recording (downloading)


 
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

Re: ffmpeg m3u8 livestream recording (downloading)


 
Seems that using -to hh:mm:ss after the m3u8 link and before the -c copy file.ts worked.

Solved.


All times are GMT -6. The time now is 10:56 PM.