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 05-09-2017, 10:12 AM
arec arec is offline
Junior Member
 
Join Date: May 2017
Posts: 8
arec is on a distinguished road
Default

PJ Masks


Hello there, I've been trying to download PJ Masks episodes from watchdisneyjuniorgo.com for my kids and I cannot for the life of me figure it out. I have seen examples in this forum using ffmpeg (which I am extremely new to) but they have not worked for me.

Example episode would be here:
http://watchdisneyjunior.go.com/pj-m...s-special-rock

I can grab the m3u8 file from the browser and I see all the .ts files being loaded but they are encrypted, so I tried downloading some of the individual .ts files and decrypting them (well, just one to start) using openssl but that did not work.

The beginning of the j.m3u8 file looks like this:

#EXTM3U
#EXT-X-VERSION:5
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-TARGETDURATION:5
#UPLYNK-SEGMENT: 622fa0207ea8412a9ce6b8cdffab03e1,00000000,segment
#UPLYNK-KEY:https://content-ausc3.uplynk.com/che... 96209da40046
#EXT-X-PROGRAM-DATE-TIME:2017-05-09T14:59:47.017000+00:00
#EXT-X-KEY:METHOD=AES-128,URI="https://content-ausc3.uplynk.com/check2?b=622fa0207ea8412a9ce6b8cdffab03e1&v=622fa0 207ea8412a9ce6b8cdffab03e1&r=j&pbs=759c17fcad314bd da02396209da40046",IV=0x00000000000000000000000000 000000
#EXTINF:4.0960,
https://x-disney-datg-stgec.uplynk.c...-06-00_NA&si=0

Can anyone assist me in how i can go about grabbing this using ffmpeg? Thank you.
Reply With Quote
  #2  
Old 05-10-2017, 09:36 AM
ehurdler ehurdler is offline
Senior Member
 
Join Date: Feb 2014
Location: NY
Posts: 126
ehurdler is on a distinguished road
Default

Re: PJ Masks


what exactly have you done? Code, etc?

It works easily with livestreamer, or ffmpeg. You are using the wrong m3u8 file however no matter what you tried. I am not sure you are finding the m3u8 file. The process I use is the following:

I use Firefox.
I have AdBlock Plus add-on installed.
Have "Open Blockable Items" selected and shown for AdBlock Plus.
Load video url. In your example:
http://watchdisneyjunior.go.com/pj-m...s-special-rock

Search for ".m3u8"
with the video running it will probably show 2 or 3 different .m3u8 files.
You want to copy the url with numbers, not one of the alphabetical file name.

For the video you posted about it was 10086441.m3u8.

Copy that entire url into either ffmpeg or livestreamer code and you'll get the video.

I used
Code:
livestreamer "hlsvariant://https://content.uplynk.com/ext/21885d134fa441488df8e1d7acee8c66/10086441.m3u8?exp=1494426530&ct=a&oid=218*********longerLineOfCodeIRemoved********" 720p -o pjmasks.mp4
Also tried ffmpeg from last post you made:

ffmpeg -protocol_whitelist file,udp,rtp,crypto,tcp,https,rtsp,tls -i "https://content.uplynk.com/ext/21885d134fa441488df8e1d7acee8c66/10086441.m3u8?exp=1494426530&ct=a&oid=218********* longerLineOfCodeIRemoved********" -c:a copy -c:v copy "OUTPUT FILE HERE.ts"

I prefer livestreamer on Disney or ABC's websites. can choose version easier in my opinion.

Hope this helps. The .mp4 file downloaded won't be playable. I Do a fast re-encode with ffmpeg afterwards anyways to .mkv so that fixes that for me anyway. Could also change ffmpeg code to in download to .mp4.
Reply With Quote
  #3  
Old 05-10-2017, 09:09 PM
arec arec is offline
Junior Member
 
Join Date: May 2017
Posts: 8
arec is on a distinguished road
Default

Re: PJ Masks


ehurdler, thank you. HUGE thank you, actually. Man, do I feel dumb. I used the m3u8 file you specified with ffmpeg and boom, it worked perfectly. I think I psyched myself out with how difficult this was going to be with keys and whatnot. I am very, very new to ffmpeg and have not had lots of time to fiddle with it.
I personally prefer .mp4 files as I put them on the ipad for the kids for when we drive around, and with my first video it played perfectly. Thank you again.
One more thing, if you don't mind me asking. My laptop is not 1080p. Do you know how I can get the 1080p version of that .m3u8 file to load so I can grab that instead of just 720p?
Reply With Quote
  #4  
Old 05-11-2017, 07:50 AM
ehurdler ehurdler is offline
Senior Member
 
Join Date: Feb 2014
Location: NY
Posts: 126
ehurdler is on a distinguished road
Default

Re: PJ Masks


I don't use ffmpeg much to capture from disney websites. But the pjmasks video in first post doesn't have a 1080 version. For videos that may have a 1080 version do some searching on ffmpeg map option "ffmpeg -map". Otherwise, as I suggested livestreamer to me, is easier to select to quality you want.
Reply With Quote
  #5  
Old 10-07-2017, 03:29 PM
Dark Kotik Dark Kotik is offline
Junior Member
 
Join Date: Oct 2017
Posts: 1
Dark Kotik is on a distinguished road
Default

Re: PJ Masks


Thanks for your help! I searched this information for many months, and finally it all worked!

But i can't download video with subtitles. Is it even possible with FFMpeg?

(Sorry for my bad english )
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 06:50 PM.


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