Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

I downloaded NF videos in HD, I can play off line,need a little help W/.key file

(http://stream-recorder.com/forum/showthread.php?t=16825)

ItsAngel 06-13-2014 03:50 PM

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


 
Quote:

Originally Posted by enrud (Post 68296)

this fixed it! Thank you. but now, it appears as if my computer isnt letting python create a temp file? at leas that what appears to be the issue:confused:
"
I:\Python27>decrypt.py video-4300000.m3u8 audio-en-64000-286493787.m3u8 ScrubsHD
Test.ts.prdy ScrubsHDTestaudio.aac crypt0.key output.mp4
Traceback (most recent call last):
File "I:\Python27\decrypt.py", line 127, in <module>
sys.argv[6])
File "I:\Python27\decrypt.py", line 103, in decrypt
with file(muxed_temp_name, 'rb') as muxed_temp:
IOError: [Errno 2] No such file or directory: 'c:\\users\\angel\\appdata\\local\
\temp\\tmpqfdxqa.ts'

I:\Python27>"

WHOOKIDSON 06-13-2014 04:16 PM

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


 
Quote:

Originally Posted by ItsAngel (Post 68297)
this fixed it! Thank you. but now, it appears as if my computer isnt letting python create a temp file? at leas that what appears to be the issue:confused:
"
I:\Python27>decrypt.py video-4300000.m3u8 audio-en-64000-286493787.m3u8 ScrubsHD
Test.ts.prdy ScrubsHDTestaudio.aac crypt0.key output.mp4
Traceback (most recent call last):
File "I:\Python27\decrypt.py", line 127, in <module>
sys.argv[6])
File "I:\Python27\decrypt.py", line 103, in decrypt
with file(muxed_temp_name, 'rb') as muxed_temp:
IOError: [Errno 2] No such file or directory: 'c:\\users\\angel\\appdata\\local\
\temp\\tmpqfdxqa.ts'

I:\Python27>"

can you post the steps you took?

enrud 06-13-2014 04:24 PM

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


 
the error occurs because the temp file doesn't exist. That is probably because something didn't happen in the ffmpeg muxing.

Change line 96 to add a print to the beginning of the statement as in:
Code:

        print subprocess.Popen([ffmpeg, '-i', video_temp_name, '-i', audio_temp_name, '-acodec', 'copy', '-vcodec', 'copy', muxed_temp_name], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
Post the results

ItsAngel 06-13-2014 05:06 PM

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


 
Quote:

Originally Posted by enrud (Post 68300)
the error occurs because the temp file doesn't exist. That is probably because something didn't happen in the ffmpeg muxing.

Change line 96 to add a print to the beginning of the statement as in:
Code:

        print subprocess.Popen([ffmpeg, '-i', video_temp_name, '-i', audio_temp_name, '-acodec', 'copy', '-vcodec', 'copy', muxed_temp_name], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
Post the results

edit: This is what i got

I:\Python27>decrypt.py video-4300000.m3u8 audio-en-64000-286493787.m3u8 ScrubsHD
Test.ts.prdy ScrubsHDTestaudio.aac crypt0.key output.mp4
('', 'ffmpeg version N-63930-g1c5aa64 Copyright (c) 2000-2014 the FFmpeg develop
ers\r\n built on Jun 12 2014 22:14:34 with gcc 4.8.3 (GCC)\r\n configuration:
--enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-b
zlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable
-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgme
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enab
le-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-li
bopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspe
ex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aac
enc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpa
ck --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-
libxvid --enable-decklink --enable-zlib\r\n libavutil 52. 89.100 / 52. 89.
100\r\n libavcodec 55. 66.100 / 55. 66.100\r\n libavformat 55. 43.100 /
55. 43.100\r\n libavdevice 55. 13.101 / 55. 13.101\r\n libavfilter 4.
8.100 / 4. 8.100\r\n libswscale 2. 6.100 / 2. 6.100\r\n libswresamp
le 0. 19.100 / 0. 19.100\r\n libpostproc 52. 3.100 / 52. 3.100\r\nc:\\u
sers\\angel\\appdata\\local\\temp\\tmpycdx4j.ts: Invalid data found when process
ing input\r\n')
Traceback (most recent call last):
File "I:\Python27\decrypt.py", line 127, in <module>
sys.argv[6])
File "I:\Python27\decrypt.py", line 103, in decrypt
with file(muxed_temp_name, 'rb') as muxed_temp:
IOError: [Errno 2] No such file or directory: 'c:\\users\\angel\\appdata\\local\
\temp\\tmpcmp9le.ts'

I:\Python27>

enrud 06-13-2014 05:19 PM

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


 
decryption is failing. :(

what is the movieid of the content? And can you post the M3U8 files and the key file?

ItsAngel 06-13-2014 05:29 PM

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


 
Quote:

Originally Posted by enrud (Post 68302)
decryption is failing. :(

what is the movieid of the content? And can you post the M3U8 files and the key file?

the movieid? and here is the video file and m3u8 + keyfiles


https://www.dropbox.com/sh/ynohnax12...sREoOHZF2jvxsa

WHOOKIDSON 06-13-2014 05:32 PM

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


 
Quote:

Originally Posted by ItsAngel (Post 68303)
the movieid? and here is the video file and m3u8 + keyfiles


https://www.dropbox.com/sh/ynohnax12...sREoOHZF2jvxsa

I think he may be talking about the Netflix ID of it (it might be in the address bar of the video)

btw I got the exact same error as you .. it produces an empty .ts which of course indicates the decryption failed as he stated before .. I tried his decrypt.py script with your Shrek sample and it worked perfectly btw .. so yea .. the decryption is the problem :(

enrud 06-13-2014 05:33 PM

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


 
When you browse to the movie in the browser, it will be to a url that looks like:

http://www.netflix.com/WiMovie/{movieid}?trkid={trackid}

ItsAngel 06-13-2014 05:47 PM

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


 
Quote:

Originally Posted by enrud (Post 68305)
When you browse to the movie in the browser, it will be to a url that looks like:

http://www.netflix.com/WiMovie/{movieid}?trkid={trackid}

oh, okay. here it is
http://www.netflix.com/WiPlayer?movi...&trkid=3325854

enrud 06-13-2014 06:17 PM

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


 
The key is wrong. Curious.


All times are GMT -6. The time now is 10:10 AM.