View Single Post
  #23  
Old 02-20-2014, 02:39 PM
ehurdler ehurdler is offline
Senior Member
 
Join Date: Feb 2014
Location: NY
Posts: 126
ehurdler 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 KSV View Post
here is my UVD Converter.

Usage:
Code:
php UVDConvert.php <m3u8_file> <ts.prdy_file> <key_file> <output_file>
Video:
Code:
php UVDConvert.php 100000-1.m3u8 1043168926.ts.prdy crypt0.key video.ts
Audio:
Code:
php UVDConvert.php en-64000.m3u8 1043128474.aac crypt0.key audio.aac
Remux:
Code:
ffmpeg -i video.ts -i audio.aac -bsf:a aac_adtstoasc -c copy movie.mp4
I tried this method. I downloaded, or created I guess the UVDConvert.php file from the linked ksv_uvd_converter.txt. I run with the syntax/example above and I get the following error in Terminal. I am using a Mac btw. Fatal error: Call to undefined function mcrypt_module_open() in /path-to-file/UVDConvert.php on line 92.

Any ideas? I downloaded the Shrek example as stated in earlier posts. I do not have issues running other php scripts.

Nevermind!!! My Fault, I will leave this post just to show the error and letting people know that I had to ensure mcrypt had to be configured correctly and PATH set. I following the following info:


Go to Terminal
Enter which php
If it says /usr/bin/php, then proceed to 3.
Enter sudo nano ~/.bash_profile (or sudo vim ~/.bash_profile if you know how to use it)
then paste this export PATH="/Applications/XAMPP/xamppfiles/bin:$PATH"
ctrl - O then enter to save, then ctrl - X to exit.
restart terminal.
Enter which php
If you did it right, it should be the same as the path in #4.

Last edited by ehurdler : 02-20-2014 at 03:06 PM. Reason: My fault, wanted to give info incase anyone else makes same dumb mistake.
Reply With Quote