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

How can I download this rtmp video?

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

Yelloworanges 06-29-2017 09:59 AM

Re: How can I download this rtmp video?


 
The output file name extension doesn't really matter either way.

The "http://pl.koolearn.com/video/m3u8_free?..." url is only valid for some number of seconds.

If streamlink returns the error "Could not open stream: Missing #EXTM3U header", then the koolearn url has expired.

slim10 06-29-2017 11:28 AM

Re: How can I download this rtmp video?


 
Quote:

Originally Posted by j_cool (Post 92367)
It works with extension mp4.

Code:

streamlink hls://http://pl.koolearn.com/video/m3u8_free?id=16918^&consumerType=1002001^&userId=-1^&keyNumber=0001^&timesTamp=1498749361742^&key=6F579762085E7B52B46AEED92726BE28^&hiddenTeach=1 best -o test.mp4
Code:

C:\>streamlink hls://http://pl.koolearn.com/video/m3u8_free?id=16918&consumerType=1002001&userId=-1&keyNumber=0001&timesTamp=1498749361742&key=6F579762085E7B52B46AEED92726BE28&hiddenTeach=1 best -o test.mp4
[cli][info] Found matching plugin stream for URL hls://http://pl.koolearn.com/video/m3u8_free?id=16918&consumerType=1002001&userId=-1&keyNumber=0001&timesTamp=1498749361742&key=6F579762085E7B52B46AEED92726BE28&hiddenTeach=1
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[download][test.mp4] Written 63.3 MB (6m33s @ 171.9 KB/s)
[cli][info] Stream ended
[cli][info] Closing currently open stream...

Code:

C:\>streamlink hls://http://pl.koolearn.com/video/m3u8_free?id=16918&consumerType=1002001&userId=-1&keyNumber=0001&timesTamp=1498749361742&key=6F579762085E7B52B46AEED92726BE28&hiddenTeach=1 best -o test.ts
[cli][info] Found matching plugin stream for URL hls://http://pl.koolearn.com/video/m3u8_free?id=16918&consumerType=1002001&userId=-1&keyNumber=0001&timesTamp=1498749361742&key=6F579762085E7B52B46AEED92726BE28&hiddenTeach=1
[cli][info] Available streams: live (best, worst)
[cli][info] Opening stream: live (hls)
[cli][error] Try 1/1: Could not open stream <HLSStream('http://pl.koolearn.com/video/m3u8_free?id=16918&consumerType=1002001&userId=-1&keyNumber=0001&timesTamp=1498749361742&key=6F579762085E7B52B46AEED92726BE28&hiddenTeach=1')> (Could not open stream: Missing #EXTM3U header)
error: Could not open stream <HLSStream('http://pl.koolearn.com/video/m3u8_free?id=16918&consumerType=1002001&userId=-1&keyNumber=0001&timesTamp=1498749361742&key=6F579762085E7B52B46AEED92726BE28&hiddenTeach=1')>, tried 1 times, exiting


The extension on the output file name does not make a difference to Streamlink or Livestreamer. You downloaded a TS file and misnamed it as an MP4.

The M3U8 link has an expiration timestamp on it and expires in a few seconds. Your second attempt to download the video with the TS extension failed because the link had expired before you tried it.

imagecad 06-30-2017 04:26 AM

Re: How can I download this rtmp video?


 
Quote:

Originally Posted by Yelloworanges (Post 92325)
They downloaded without any interruption.
Code:

http://www22.zippyshare.com/v/borjxt8o/file.html
http://www47.zippyshare.com/v/gMfs0B2W/file.html


WOW!

How did you make it ?!


All times are GMT -6. The time now is 12:40 PM.