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)

WHOOKIDSON 06-13-2014 07:56 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 68319)
Try using the attached file.

I currently use a different method. The tweak I described in another post is an older mechanism. It worked pretty slick, though. I'll test it tomorrow.

:D Wow that worked nicely .. but at least for me the video plays fine but I don't hear any audio .. and I know audio is present (checked the .mp4 with Mediainfo)

WHOOKIDSON 06-13-2014 08:25 PM

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


 
I sorta fixed that issue .. I edited the decrypt.py and changed the audio instruction in ffmpeg to "libvo_aacenc" instead of "copy"
These are the EDITED lines below

Line 96: subprocess.Popen([ffmpeg, '-i', video_temp_name, '-i', audio_temp_name, '-acodec', 'libvo_aacenc', '-vcodec', 'copy', muxed_temp_name], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()

Line 111: subprocess.Popen([ffmpeg, '-i', output_temp_name, '-acodec', 'libvo_aacenc', '-vcodec', 'copy', '-bsf:a', 'aac_adtstoasc', out_file],

Now I can hear audio and it plays through out fine .. cept for you can tell a little tiny drop or something in the audio

I'm not sure at all but I think while it's decrypting in the temp folder it pieces the audio back together as full .. I believe they are in chunks so that's why it sounds like that when you play the output.mp4

As its decrypting in the temp folder I was watching it and aac files were being produced over and over I assume it was decrypting pieces by pieces then joined them all into 1 AAC then muxed with FFMPEG ..

ItsAngel 06-13-2014 08:51 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 68319)
Try using the attached file.

I currently use a different method. The tweak I described in another post is an older mechanism. It worked pretty slick, though. I'll test it tomorrow.

Wow, it seems as if its working! how did changing the .key file work? this is great

enrud 06-13-2014 09:11 PM

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


 
Quote:

Originally Posted by WHOOKIDSON (Post 68322)
I sorta fixed that issue .. I edited the decrypt.py and changed the audio instruction in ffmpeg to "libvo_aacenc" instead of "copy"
These are the EDITED lines below

Line 96: subprocess.Popen([ffmpeg, '-i', video_temp_name, '-i', audio_temp_name, '-acodec', 'libvo_aacenc', '-vcodec', 'copy', muxed_temp_name], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()

Line 111: subprocess.Popen([ffmpeg, '-i', output_temp_name, '-acodec', 'libvo_aacenc', '-vcodec', 'copy', '-bsf:a', 'aac_adtstoasc', out_file],

Now I can hear audio and it plays through out fine .. cept for you can tell a little tiny drop or something in the audio

I'm not sure at all but I think while it's decrypting in the temp folder it pieces the audio back together as full .. I believe they are in chunks so that's why it sounds like that when you play the output.mp4

As its decrypting in the temp folder I was watching it and aac files were being produced over and over I assume it was decrypting pieces by pieces then joined them all into 1 AAC then muxed with FFMPEG ..

Transcoding the audio would imply you didn't have codecs installed for whatever it was before. I was able to play the original audio just fine.

Each audio chunk gets mixed with each corresponding video chunk. All mixed pieces are concatenation together and finally converted to .mp4

The audio pieces are not encrypted, also. Just the video.

enrud 06-13-2014 09:13 PM

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


 
Also you only need to convert the audio once. I would do it on the second ffmpeg command. That might resolve your audio issues.

ItsAngel 06-13-2014 09:14 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 68324)
Transcoding the audio would imply you didn't have codecs installed for whatever it was before. I was able to play the original audio just fine.

Each audio chunk gets mixed with each corresponding video chunk. All mixed pieces are concatenation together and finally converted to .mp4

The audio pieces are not encrypted, also. Just the video.

mine too doesnt play the audio. but ill mess around with it. by the way the video is in 1080p! how awesome! how did you know what the .key file was?

WHOOKIDSON 06-13-2014 09:26 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 68325)
Also you only need to convert the audio once. I would do it on the second ffmpeg command. That might resolve your audio issues.

Thanks! I only edited Line 111 this time and it works .. thank you again

question .. if I DELETE Line 114 .. will it KEEP the temp.ts file?

os.unlink(output_temp_name)


Edit: It worked ..

enrud 06-13-2014 09:33 PM

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


 
Quote:

Originally Posted by WHOOKIDSON (Post 68327)
Thanks! I only edited Line 111 this time and it works .. thank you again

question .. if I DELETE Line 114 .. will it KEEP the temp.ts file?

os.unlink(output_temp_name)

Yes that will keep it.

enrud 06-13-2014 09:35 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 68326)
mine too doesnt play the audio. but ill mess around with it. by the way the video is in 1080p! how awesome! how did you know what the .key file was?

:D I'm clever.

WHOOKIDSON 06-13-2014 09:54 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 68329)
:D I'm clever.

Yes you are .. thanks!


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