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 02-28-2017, 10:06 PM
rla999 rla999 is offline
Junior Member
 
Join Date: Feb 2017
Posts: 4
rla999 is on a distinguished road
Default

M3U8 Download from Playstation Vue


Hello,
I am trying to download DVR and On-Demand programs that I have access to through my Playstation Vue account.

Here is an example of a DVR program:
https://vue.playstation.com/watch/pr...-earth/1291419

Note that you will not be able to watch any of the videos here unless you also have a PlayStation Vue subscription (or free trial), which is only available in the US. They actually restrict your access to your home network only; but the files for most national TV programs I imagine would be the same.

Here is the m3u8 file for one of the episodes from that page:
https://media-framework.totsuko.tv/m...96/master.m3u8

Here's the highest quality variant m3u8:
https://media-framework.totsuko.tv/m..._complete.m3u8


Here is one of the key files that the m3u8 links to:
https://key-service.totsuko.tv/key-s...4&kid=25780698

I've tried both youtube-dl and ffmepg on its own. And it gives the following error:
Code:
Unable to open key file https://key-service.totsuko.tv/key-service/key/key?contentId=13865096&channelId=2754&kid=25778616
[hls,applehttp @ 00000000026525a0] Error when loading first segment 'http://dsc-science.dvr.sonytv.adaptive.level3.net/PROD01/sony/DSC_SCIENCE/dvr/2017/03/01/13865096/SENTV_20170301_What_on_Earth_13865096/4500K/060/01/56/03.ts'
https://media-framework.totsuko.tv/media-framework/media/dynamicGeneration/play/profileId/1748175/contentId/13865096/variant/4500K/4500_complete.m3u8: Invalid data found when processing input

ERROR: ffmpeg exited with code 1
I've even manually downloaded all the TS files and key files and arranged them in folders like the m3u8 spells out. FFmpeg still fails locally, something to do with the key file.

Atresdownloader latest version 18.1 seems to download the whole file, but then starts to mux the segments and then mysteriously deletes everything and I get a partial unplayable file.

Do you guys have any suggestion to download this video and any of them from Vue which I assume have a similar URL format?

I've tried to sniff my phone's traffic when using the Vue app but it refuses to function if it detects a tool is sniffing the traffic.

I own both an NVIDIA Shield Android TV box and the new Amazon Fire TV box. Maybe there is a way to sniff traffic from them?

Note: DO NOT ASK for login details because it won't work outside my home network. Do feel free to sign up for the 7-day free trial of the service to assist me.
Reply With Quote
  #2  
Old 03-01-2017, 05:43 PM
rla999 rla999 is offline
Junior Member
 
Join Date: Feb 2017
Posts: 4
rla999 is on a distinguished road
Default

Re: M3U8 Download from Playstation Vue


Never mind found solution.

First use Firefox as your browser (I don't know if there's a suitable plugin in any other one.)

Then install the following plugin: https://addons.mozilla.org/en-Us/fir...ream-detector/
In the settings for the addon once installed, make sure that when you click on the popup it is set to give you the full FFMPEG command.

Then open another browser, i.e. Google Chrome. Then go to the page on PlayStation Vue for the show you want. Then open the Developer Tools by right-clicking and choosing Inspect Element. Go to the network tab. Then play your desired episode. Search for any link that says something like 4500 m3u8. This will be the HD 720p stream.
Copy the URL and go the following website:
http://osmfhls.kutu.ru/

Paste the URL in and choose whether its a live stream or VOD depending on if you were watching a channel live or a DVR/on-demand recording in Vue.
Finally, click the blue play button.
You should notice a pop-up in the corner from the HLS detector addon. Click on it to copy the URL that is already for ffmpeg and includes the cookie, user agent, and other data for authentication.

Then use ffmpeg in the command prompt and paste the command. It should start downloading without issues.

Maybe this will work for other sites that youtube-dl and streamlink can't handle on their own.
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 10:52 PM.


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