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
  #91  
Old 06-13-2014, 08:56 PM
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 enrud View Post
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 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)
Reply With Quote
  #92  
Old 06-13-2014, 09:25 PM
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


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 ..
Reply With Quote
  #93  
Old 06-13-2014, 09:51 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
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
Reply With Quote
  #94  
Old 06-13-2014, 10:11 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 WHOOKIDSON View Post
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.
Reply With Quote
  #95  
Old 06-13-2014, 10:13 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


Also you only need to convert the audio once. I would do it on the second ffmpeg command. That might resolve your audio issues.
Reply With Quote
  #96  
Old 06-13-2014, 10:14 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
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?
Reply With Quote
  #97  
Old 06-13-2014, 10:26 PM
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 enrud View Post
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 ..

Last edited by WHOOKIDSON : 06-13-2014 at 10:33 PM. Reason: It worked :)
Reply With Quote
  #98  
Old 06-13-2014, 10:33 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 WHOOKIDSON View Post
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.
Reply With Quote
  #99  
Old 06-13-2014, 10: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


Quote:
Originally Posted by ItsAngel View Post
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?
I'm clever.
Reply With Quote
  #100  
Old 06-13-2014, 10:54 PM
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 enrud View Post
I'm clever.
Yes you are .. thanks!
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 07:35 AM.


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