Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 06-22-2016, 05:53 PM
ser_Zone ser_Zone is offline
Junior Member
 
Join Date: Jun 2016
Posts: 1
ser_Zone is on a distinguished road
Question

How do i record this steam? Can I schedule it?


I'm trying to record a local news stream from this site:
http://abc7news.com/live/

Digging around in the code for the page I found this url:
Code:
http://content.uplynk.com/channel/ext/4413701bf5a1488db55b767f8ae9d4fa/KGOwatch.m3u8?tc=1&exp=1466635774096&rn=4904.781713486257&ct=c&oid=4413701bf5a1488db55b767f8ae9d4fa&eid=KGOwatch&ad=watchkgolive&ad.kv=station%2Ckgo&ad.adUnit=midroll&ad.flex=0&ad._v=2&sig=75760240b6f88fb5e9f583ba27053b487f2a1adb55f9eaebbc554f168951f61f
I'm not sure if that's are the URL I need to use or not, but VLC wouldn't open it. I'm trying to capture the stream and, if it's indeed possible to capture it, I'd like to schedule the capture so that it starts the caputre let's say every day at 6pm and ends at 7pm. Can that be done? Where do I start?

Thank you!
Reply With Quote
  #2  
Old 06-22-2016, 09:18 PM
nambac nambac is offline
Junior Member
 
Join Date: Jun 2016
Posts: 4
nambac is on a distinguished road
Default

Re: How do i record this steam? Can I schedule it?


Skmobile thay m?*n h?¬nh LG KS660
Dịch vá»? thay m?*n h?¬nh LG KS660, thay thá?? m?*n h?¬nh LG KS660, sá»*a chá»?a LG KS660 ch?*nh h??ng gi?? rá?» chỉ c?? duy nhá??t tá??i SkMobile - địa chỉ thay thá?? v?* bá??o h?*nh Ä‘iện thoá??i uy t?*n tr??n địa b?*n H?* Ná»™i. Ä?iện thoá??i LG KS660 của bá??n Ä‘ang gá?·p phá??i c??c lá»—i vá»›i cá??m ứng v?* Ä‘ang bÄ?n khoÄ?n kh?´ng biá??t Ä‘em Ä‘á??n trung t??m n?*o c?? dịch vá»? uy t?*n Ä‘á»? sá»*a. H??y Ä‘á??n ngay SKmobile, Ä‘á??m bá??o qu?? kh??ch sá?? thá??y h?*i l??ng sau khi sá»* dá»?ng dịch vá»? thay thá?? cá??m ứng LG KS660 chuy??n nghiệp của h?*ng ng?© nh??n vi??n l??u nÄ?m tá??i SkMobile.
Chuy??n thay cá??m ứng LG KS660
Cam ká??t của Skmobile vá»›i dịch vá»? thay thá?? má?·t k?*nh LG KS660
♦ Trung t??m Skmobile c?? mức gi?? cá??nh tranh nhá??t thị tr?°á»?ng hiện nay
♦ H?*ng ng?© ká»? thuá?*t c?? tay nghá»? cao, lu?´n lu?´n sá?µn s?*ng gi??p Ä‘á»? kh??ch h?*ng tá»›i sá»*a chá»?a
♦ Dịch vá»? thay má?·t k?*nh LG KS660 c?? chi ph?* phá??i chÄ?ng, tiện Ä‘?°á»?ng Ä‘i lá??i
♦ Dịch vá»? sá»*a chá»?a c?? ch?*nh s??ch bá??o h?*nh d?*i há??n chá??t l?°á»?ng tốt nhá??t
♦ Ä?á»™i ng?© nh??n vi??n ká»? thuá?*t c?? tay nghá»? cao
Dịch vá»? thay thá?? m?*n h?¬nh LG KS660
Reply With Quote
  #3  
Old 06-24-2016, 06:55 PM
mrberni mrberni is offline
Member
 
Join Date: May 2014
Posts: 58
mrberni is on a distinguished road
Default

Re: How do i record this steam? Can I schedule it?


That m3u8 link you found should work (works for me at least), but it could be, that it expires, so you have to experiment how long you can access the m3u8 file, before you have to update it.

To download the stream you have to do the following:
Download the m3u8 file, or open it in your browser (in Firefox write "view-source:" in front of it). Now take the complete URL for your desired resolution (probably 720p which is the k.m3u8). Download ffmpeg and use the following command:

Code:
ffmpeg -i "YOUR M3U8 URL" -c copy "your path\output.ts"
Of course replace "YOUR M3U8 URL" with the m3u8 you copied before and "your path\output.ts" wherever you want it to save the file and which name (but keep the .ts ending).

Important: when you have recorded the desired length don't just close the window. Stop the encoding with pressing "q" first.

example:
Code:
ffmpeg -i "http://content-aeuf2.uplynk.com/channel/0194acb14e714610b2598d206811d951/k.m3u8?tc=1&exp=1466810449802&rn=4520.329983492225&ct=c&oid=4413701bf5a1488db55b767f8ae9d4fa&eid=KGOwatch&ad=watchkgolive&ad.kv=station%2Ckgo&ad.adUnit=midroll&ad.flex=0&ad._v=2&sig=d383f219bc78be6a8c969393eba0da9255ac8b73f3fd400d73953cfda8878791&pbs=8e1ef53f24a74277951ba0dbf8736d80" -c copy "news.ts"

Now how you could schedule it (if you have Windows):
First modify the ffmpeg command with the -t parameter. It will tell ffmpeg how long it will record and then stops it. Here for one hour:

Code:
ffmpeg -i "YOUR M3U8 URL" -c copy -t 01:00:00.000 "your path\output.ts"
Now create a .bat file containing the ffmpeg command. Replace ffmpeg with the full path to the ffmpeg.exe (just to be safe) and now VERY important: replace every % in the m3u8 URL with %%.

Then you open the "Task Scheduler" (click on Start and search for "Task Scheduler"), and plan a new task starting at 6pm and take the .bat file to start. Here a tutorial I found: http://www.digitalcitizen.life/how-c...ic-task-wizard

The only problem is, that you have to move your recording everyday to another folder, or ffmpeg will override it.
Reply With Quote
  #4  
Old 06-24-2016, 08:20 PM
nguyentuanhhn06 nguyentuanhhn06 is offline
Junior Member
 
Join Date: Jun 2016
Posts: 12
nguyentuanhhn06 is on a distinguished road
Default

Re: How do i record this steam? Can I schedule it?


http://caobanlong.org/tac-dung-cua-c...oi-voi-tre-nho
Reply With Quote
Reply Post New Thread
Tags: , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 02:59 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons