Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
PJ MasksHello 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. |
#2
|
|||
|
|||
Re: PJ Maskswhat 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 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. |
#3
|
|||
|
|||
Re: PJ Masksehurdler, 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? |
#4
|
|||
|
|||
Re: PJ MasksI 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.
|
#5
|
|||
|
|||
Re: PJ MasksThanks 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 ) |
Tags: aes 128, pj masks, uplynk |
Thread Tools | |
Display Modes | |
|
|