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
  #61  
Old 06-12-2014, 10:39 PM
enrud enrud is offline
Member
 
Join Date: Jun 2014
Posts: 33
enrud is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by ItsAngel View Post
okay, so in order to get this HD file decrypted and playable, i must remove the "junk" which is the first line in the M3u8, which in this case is "EXT-X-BYTERANGE:6772528@7520
-_2" And THEN go ahead and decrypt the file? Because from what i understood the first line of byterange is what is causing the video to not decrypt. By the way, by any chance did you successfully get an HD video to decrypt?
Each segment specified by byte range needs to be decrypted separately. Each segment has it's own IV.

So if the first byte range starts at 6772528, then everything before it needs to be removed.

Yes I've decrypted HD content.
Reply With Quote
  #62  
Old 06-12-2014, 10:43 PM
ItsAngel ItsAngel is offline
Senior Member
 
Join Date: Jul 2012
Posts: 102
ItsAngel is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by enrud View Post
Each segment specified by byte range needs to be decrypted separately. Each segment has it's own IV.

So if the first byte range starts at 6772528, then everything before it needs to be removed.

Yes I've decrypted HD content.
oh. Okay! sorry its taking me a bit to understand.
there is many byteranges. is the only way to do it, one at a time?
and youre using a PHP script, right?
Reply With Quote
  #63  
Old 06-12-2014, 11:09 PM
enrud enrud is offline
Member
 
Join Date: Jun 2014
Posts: 33
enrud is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by ItsAngel View Post
oh. Okay! sorry its taking me a bit to understand.
there is many byteranges. is the only way to do it, one at a time?
and youre using a PHP script, right?
Yes. They have to be decrypted distinctly.

No, mine is written in Python. I never did use UVD. I have my own tweak that goes into the netflix app and extracts the M3U8 playlist and keys. It also runs a service on the ipad that let's me trigger playback of a movie and then after it captures the playlists and keys, it stops playback. I can bulk rip that way.

But, everything else is the same as what you are doing. The python code downloads the media, decrypts it, and so forth.
Reply With Quote
  #64  
Old 06-12-2014, 11:17 PM
ItsAngel ItsAngel is offline
Senior Member
 
Join Date: Jul 2012
Posts: 102
ItsAngel is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by enrud View Post
Yes. They have to be decrypted distinctly.

No, mine is written in Python. I never did use UVD. I have my own tweak that goes into the netflix app and extracts the M3U8 playlist and keys. It also runs a service on the ipad that let's me trigger playback of a movie and then after it captures the playlists and keys, it stops playback. I can bulk rip that way.

But, everything else is the same as what you are doing. The python code downloads the media, decrypts it, and so forth.
it seems as if your method is much more efficient. do you mind if i can try it out? because im fairly new to php and that might be why its so complicated for me to get this right. & thanks again for sticking around & helping me. i was never able to even know where to begin decrypting hd files until now.
Reply With Quote
  #65  
Old 06-13-2014, 03:38 AM
WHOOKIDSON WHOOKIDSON is offline
Senior Member
 
Join Date: Dec 2010
Posts: 142
WHOOKIDSON is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by ItsAngel View Post
Here are all the files that are downloaded from netflix when downloading an HD video. Video/Audio files included https://www.dropbox.com/sh/ynohnax12...sREoOHZF2jvxsa
Sorry no luck bro .. basically kept getting the same error as you were
Reply With Quote
  #66  
Old 06-13-2014, 12:46 PM
ItsAngel ItsAngel is offline
Senior Member
 
Join Date: Jul 2012
Posts: 102
ItsAngel is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by WHOOKIDSON View Post
Sorry no luck bro .. basically kept getting the same error as you were
same here, i feel like we are getting closer to being able to decrypt these HD files. Especially With The Help Of enrud. We should have this in no time!
Reply With Quote
  #67  
Old 06-13-2014, 02:38 PM
enrud enrud is offline
Member
 
Join Date: Jun 2014
Posts: 33
enrud is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by ItsAngel View Post
it seems as if your method is much more efficient. do you mind if i can try it out? because im fairly new to php and that might be why its so complicated for me to get this right. & thanks again for sticking around & helping me. i was never able to even know where to begin decrypting hd files until now.
OK, I wrote a python script that does what you were trying to do in php. It requires that you have already downloaded the files from the cdn. I tested it against your shrek sample. It will also work against HD stuff as well.

This runs in Python 2.7 and requires either the pycrypto or M2Crypto packages which implement AES. This *should* work platform independently, but I haven't tested that.

Have fun.
Attached Files
File Type: zip decrypt.zip (1.6 KB, 0 views)
Reply With Quote
  #68  
Old 06-13-2014, 04:23 PM
ItsAngel ItsAngel is offline
Senior Member
 
Join Date: Jul 2012
Posts: 102
ItsAngel is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by enrud View Post
OK, I wrote a python script that does what you were trying to do in php. It requires that you have already downloaded the files from the cdn. I tested it against your shrek sample. It will also work against HD stuff as well.

This runs in Python 2.7 and requires either the pycrypto or M2Crypto packages which implement AES. This *should* work platform independently, but I haven't tested that.

Have fun.
thank you! question, every time i try running the script, i get this in response. did i miss a step?

"I:\Python27>python decrypt.py
Traceback (most recent call last):
File "decrypt.py", line 19, in <module>
except ImportException:
NameError: name 'ImportException' is not defined

I:\Python27>"
Reply With Quote
  #69  
Old 06-13-2014, 04:34 PM
enrud enrud is offline
Member
 
Join Date: Jun 2014
Posts: 33
enrud is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Sorry. But it does mean that you need to install a crypto package for python. Either of these will work:
https://pypi.python.org/pypi/pycrypto
https://pypi.python.org/pypi/M2Crypto

Fix attached.
Attached Files
File Type: zip decrypt.zip (1.6 KB, 0 views)
Reply With Quote
  #70  
Old 06-13-2014, 04:35 PM
enrud enrud is offline
Member
 
Join Date: Jun 2014
Posts: 33
enrud is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


pycrypto prebuilt for windows:
http://www.voidspace.org.uk/python/m...shtml#pycrypto
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 08:16 AM.


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