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 08-09-2017, 03:11 AM
chanc chanc is offline
Senior Member
 
Join Date: Sep 2012
Posts: 115
chanc is on a distinguished road
Default

help with the m3u8 link from nbc


When I am trying to download shows from nbc, take the following link as an example
https://www.nbc.com/today/video/toda...8-2017/3545906
I get an m3u8 link from the console
That is
https://nbcmpx-vh.akamaihd.net/i/vid...il/master.m3u8

But when I use this link to ffmpeg with a code like this :
ffmpeg -i "https://nbcmpx-vh.akamaihd.net/i/video/1000/467/170704_3545906_Today___Aug_08__2017_,25,40,18,12,7 ,4,2,00.mp4.csmil/master.m3u8" -c copy today_170808.mp4
ffmpeg2.jpg

Is there anyway to get this video downloaded ?
Thanks in advance!
Reply With Quote
  #2  
Old 08-09-2017, 03:48 AM
hjjj259999 hjjj259999 is offline
Member
 
Join Date: Jul 2017
Posts: 52
hjjj259999 is on a distinguished road
Default

Re: help with the m3u8 link from nbc


Code:
ffmpeg -user-agent "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36" -i "https://nbcmpx-vh.akamaihd.net/i/video/1000/467/170704_3545906_Today___Aug_08__2017_,25,40,18,12,7,4,2,00.mp4.csmil/master.m3u8?hdnea=st=1502268142~exp=1502280772~acl=/i/video/1000/467/170704_3545906_Today___Aug_08__2017_*~id=45ae9ff6-b9b2-49a7-b70f-af0727e1ae82~hmac=37091d2c6398c07e0a65bb6e60869ca4c56487e18d315cb278935d6584b4033f" -c copy today_170808.mp4

Code:
ffmpeg -user_agent 'curl/7.51.0' -i https://nbcmpx-vh.akamaihd.net/i/video/1000/467/170704_3545906_Today___Aug_08__2017_,25,40,18,12,7,4,2,00.mp4.csmil/master.m3u8?hdnea=st=1502268142~exp=1502280772~acl=/i/video/1000/467/170704_3545906_Today___Aug_08__2017_*~id=45ae9ff6-b9b2-49a7-b70f-af0727e1ae82~hmac=37091d2c6398c07e0a65bb6e60869ca4c56487e18d315cb278935d6584b4033f -c copy oooo.mp4
Reply With Quote
  #3  
Old 08-09-2017, 09:38 AM
chanc chanc is offline
Senior Member
 
Join Date: Sep 2012
Posts: 115
chanc is on a distinguished road
Default

Re: help with the m3u8 link from nbc


thanks for your kind help!
But please forgive me for my foolishness.

I have no idea about the part of -user-agent "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36" in the code. It seems to be connected with the browser ?

So I just copy your code directly and apply it to the ffmepg as the follows:
For the first time ,I used.<code>ffmpeg -user-agent "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36" -i "https://nbcmpx-vh.akamaihd.net/i/video/1000/467/170704_3545906_Today___Aug_08__2017_,25,40,18,12,7 ,4,2,00.mp4.csmil/master.m3u8?hdnea=st=1502268142~exp=1502280772~acl =/i/video/1000/467/170704_3545906_Today___Aug_08__2017_*~id=45ae9ff6-b9b2-49a7-b70f-af0727e1ae82~hmac=37091d2c6398c07e0a65bb6e60869ca4 c56487e18d315cb278935d6584b4033f" -c copy today_170808.mp4</code>

For the 2nd time , I used <code>ffmpeg -user-agent "Mozilla/5.0" -i "https://nbcmpx-vh.akamaihd.net/i/video/1000/467/170704_3545906_Today___Aug_08__2017_,25,40,18,12,7 ,4,2,00.mp4.csmil/master.m3u8?hdnea=st=1502268142~exp=1502280772~acl =/i/video/1000/467/170704_3545906_Today___Aug_08__2017_*~id=45ae9ff6-b9b2-49a7-b70f-af0727e1ae82~hmac=37091d2c6398c07e0a65bb6e60869ca4 c56487e18d315cb278935d6584b4033f" -c copy today_170808.mp4</code>

AND for the 3rd time, <code>ffmpeg -i "https://nbcmpx-vh.akamaihd.net/i/video/1000/467/170704_3545906_Today___Aug_08__2017_,25,40,18,12,7 ,4,2,00.mp4.csmil/master.m3u8?hdnea=st=1502268142~exp=1502280772~acl =/i/video/1000/467/170704_3545906_Today___Aug_08__2017_*~id=45ae9ff6-b9b2-49a7-b70f-af0727e1ae82~hmac=37091d2c6398c07e0a65bb6e60869ca4 c56487e18d315cb278935d6584b4033f" -c copy today_170808.mp4</code>

ALL the three attempts gave me the same result
ffmpeg3.jpg

Could you be patient enough to teach me more about this ?
thank you very much!!
Reply With Quote
  #4  
Old 08-09-2017, 10:25 AM
hjjj259999 hjjj259999 is offline
Member
 
Join Date: Jul 2017
Posts: 52
hjjj259999 is on a distinguished road
Default

Re: help with the m3u8 link from nbc


I do not understand,



Code:
"https://nbcmpx-vh.akamaihd.net/i/video/1000/467/170704_3545906_Today___Aug_08__2017_,25,40,18,12,7,4,2,00.mp4.csmil/master.m3u8?hdnea=st=1502268142~exp=1502280772~acl=/i/video/1000/467/170704_3545906_Today___Aug_08__2017_*~id=45ae9ff6-b9b2-49a7-b70f-af0727e1ae82~hmac=37091d2c6398c07e0a65bb6e60869ca4c56487e18d315cb278935d6584b4033f"

This address you want to re-crawl, because there is a time period


Replace with new ones
Reply With Quote
  #5  
Old 08-09-2017, 07:00 PM
chanc chanc is offline
Senior Member
 
Join Date: Sep 2012
Posts: 115
chanc is on a distinguished road
Default

Re: help with the m3u8 link from nbc


Thank you very much for you kindness!

I re-crawled, and then used the code to download this time ,

Code:
ffmpeg -user-agent "Mozilla/5.0" -i "https://nbcmpx-vh.akamaihd.net/i/video/1000/467/170704_3545906_Today___Aug_08__2017_,25,40,18,12,7,4,2,00.mp4.csmil/master.m3u8?hdnea=st=1502322576~exp=1502335206~acl=/i/video/1000/467/170704_3545906_Today___Aug_08__2017_*~id=00137e73-b5b4-4f38-8080-1a2f7ebfd8a8~hmac=21b5342b2ca3521cbde6abcb98b28d01c351f04a8933f54af7d3939bfdd7c51c" -c copy today_170808.mp4
and got a different result than the previous attempts

ffmpeg4.jpg
Apparently , the code works!
But I have some other things to fix before I am able to get this video down.
How do I fix the problem mentioned which is in red in the prompt ?
Thank you !
Reply With Quote
  #6  
Old 08-09-2017, 11:15 PM
surya987 surya987 is offline
Senior Member
 
Join Date: May 2014
Location: India
Posts: 280
surya987 is on a distinguished road
Default

Re: help with the m3u8 link from nbc


Code:
ffmpeg -protocol_whitelist "file,http,https,crypto,tcp,tls" -user-agent "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"  -i "https://nbcmpxvh.akamaihd.net/i/video/1000/467/170704_3545906_Today___Aug_08__2017_,25,40,18,12,7,4,2,00.mp4.csmil/master.m3u8?hdnea=st=1502337817~exp=1502350447~acl=/i/video/1000/467/170704_3545906_Today___Aug_08__2017_*~id=c5cc5724-6fba-4df9-ae8a-a64042069b74~hmac=6a3587706fc94f1483398007a93ba1651b405d14d31da4485309f7f3343d8374" -c copy -bsf:a aac_adtstoasc output.mp4

Reply With Quote
  #7  
Old 08-10-2017, 11:46 PM
tienhinhconcho2018 tienhinhconcho2018 is offline
Member
 
Join Date: Jun 2017
Posts: 36
tienhinhconcho2018 is on a distinguished road
Default

Re: help with the m3u8 link from nbc


Bá??n tin ICT 29/07: Bphone 2 lá»™ cá??u h?¬nh tá?§m trung, thiá??t ká?? kh??c biệt so vá»›i Bphone 1

Má»™t nguồn tin ná»™i bá»™ từ nh?* m??y lá??p r??p linh kiện tá??i Bá??c Ninh cho hay Ä‘??y l?* bá??ng má??ch của chiá??c Bphone 2 sá??p Ä‘?°á»?c ra má??t. Bphone 2017 sá»? há»?u m?*n h?¬nh IPS 5,5 inch Ä‘á»™ ph??n giá??i 1. Vá?*y việc s??p nhá?*p Bkis vá»›i Bkav Ä‘?? l?*m á??nh h?°á»?ng c?? dá??u hiệu x??m phá??m nghi??m trá»?ng Ä‘á??n an ninh quốc gia, song song d??ng tr??i ph?©p t?*i sá??n nh?* n?°á»›c cho việc kinh dinh c?? nh??n. D??ng ng?°á»?i tá??p ná?*p Ä‘á??n tham gia.

Ở Nhá?*t c?? c?´ng ty chuy??n sá??n xuá??t smartphone cho tien 2usd nam 1963 ng?°á»?i gi?*. bá»?a nay, 8/8, tr?°á»›c sá»± chứng kiá??n của khoá??ng 2. Vá»›i việc xuá??t hiện h?*ng loá??t nhá»?ng tin t?°á»?ng.#, h?¬nh á??nh, thá?*m ch?* cá?? clip vá»? BPhone 2, c?? thá»? thá??y chừng nh?° Bkav Ä‘ang bá??t Ä‘á?§u chiá??n dịch truyá»?n th?´ng của há»? ngay tr?°á»›c thá»?i Ä‘iá»?m má?«u Ä‘iện thoá??i n?*y Ä‘?°á»?c cho ra má??t. So Bphone vá»›i iPhone 6. Theo anh n?*y, Bphone n??n Ä‘?°á»?c Ä‘á?·t gi?? thá??p, sau Ä‘?? tÄ?ng dá?§n, d?? c?? thá»? sá?? lá»— đối vá»›i sá??n phá?©m Ä‘á?§u tay nh?°ng lá??i th?*nh c?´ng vá»? má?·t th?°??ng hiệu, gi?*nh Ä‘?°á»?c sá»± tin t?°á»?ng.# của kh??ch h?*ng. Vá»›i con chip 625 n?*y th?¬ chiá??c Bphone c?©ng Ä‘?°á»?c trang bị ká??t nối 4G.

https://tienquocte.net/2-usd-1963
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 09:41 AM.


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