NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 3 4 5 6 7 … 159 Next »
NASA TV

 
  • 0 Vote(s) - 0 Average
NASA TV
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#1
2020-05-31, 02:28 PM
Has anyone had any success in getting NextPVR to record NASA TV with an m3u/m3u8 IPTV list? (I hope I said that right. I kinda new with IPTV.)
Later...JohnC

System Status: Humming nicely!  Smile
Desktop: Intel DX38BT MB - Intel Q9650 3GHz Quad - NVIDIA GeForce GTX 1050 Ti Graphics
Software: Win 10 Pro(Build 1909) - NextPVR - WinTV8
Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2
RaspberryPi 4 Raspbian and FLIRC
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,498
Threads: 963
Joined: May 2006
#2
2020-05-31, 03:38 PM (This post was last modified: 2020-05-31, 03:57 PM by mvallevand.)
I have before but just checked and the normal ustream url's that I used are failing.  As a hint before adding a URL to NextPVR  try it with with ffplay (which sub now includes in the windows builds C:\Program Files\NextPVR\Other\ffplay.exe)

If you want a little fun try this extra. Save as extra-nasa.xml  in the user-data folder

Code:
<extras>
  <channel name="NASA TV">
    <command>c:/Program Files/NextPVR/Other/ffmpeg.exe</command>
    <args>-v panic -user_agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0" -referer "https://www.nasa.gov/" -headers "Cookie: domain: nasa-i.akamaihd.net\r\nOrigin: https://www.nasa.gov" -i https://nasa-i.akamaihd.net/hls/live/253565/NASA-NTV1-Public/master_2000.m3u8 -codec copy -f mpegts -</args>
  </channel>
</extras>

Martin


Attached Files Thumbnail(s)
   
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#3
2020-05-31, 04:11 PM
That's what I'm talkin' about! I give it a try.

Many thanks!
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#4
2020-05-31, 04:21 PM
Whoa! You're a magician! Just like any cable channel with full recording capability?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,498
Threads: 963
Joined: May 2006
#5
2020-05-31, 04:29 PM
ffmpeg and NextPVR do the hard lifting. This field is commercial grade CDN so it should be pretty good quality. I don't know how long the 253565 id will last.

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#6
2020-05-31, 05:38 PM
Recording is HD grade and clear as a bell. CPU load is less than 10%.

With regard to that number 253565, why would it change? Is there something I can "poll" to see if it changes?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,498
Threads: 963
Joined: May 2006
#7
2020-05-31, 07:20 PM (This post was last modified: 2020-05-31, 08:31 PM by mvallevand.)
I'm surprised CPU is that high. In any case the short answer to your second question is yes. The longer answer is you need to read up about web site scraping. An extra can do more than poll it could scrape the site and dynamically use URL's that don't have DRM.

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#8
2020-06-01, 01:18 PM
OK, thanks.

Any recommended reading for website scraping that would enhance the extra? I can start with Wikipedia. Is the target website to scrape "https://nasa-i.akamaihd.net/hls/live/253565/NASA-NTV1-Public/master_2000.m3u8?"
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,498
Threads: 963
Joined: May 2006
#9
2020-06-01, 01:41 PM
I would start with reading about python and beautiful soap and check out many kodi addons that scrape web sites. Knowing regex is useful too.

No point on starting with the m3u8 I would start here

https://www.nasa.gov/multimedia/nasatv/i...tml#public

and follow your browser with f12 to find out how it gets that url. I see there is a link from the CDN earlier but I didn't dig deep to see what call caused that.

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#10
2020-06-01, 02:33 PM
OK, thanks, Martin. I'll find out what I can.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode