Open Karrtojal opened 6 years ago
Executing the example vodworkflow_drm_fairplay.php with only set the parameters in userconfig.png this is the result:
Azure SDK for PHP - FairPlay Dynamic Encryption Sample Asset created: name=Mezzanine Azure-Video.wmv id=nb:cid:UUID:6ec8da00-ef76-4a14-bdac-987767cc8455 Uploading... File uploaded: size=3797556 Using Media Processor: Media Encoder Standard version 1.1 Created Job with Id: nb:jid:UUID:4c1826ff-0300-bce6-bd93-f1e89fdaa875 Job status: Queued Job status: Queued Job status: Queued Job status: Scheduled Job status: Processing Job status: Processing Job status: Processing Job status: Processing Job status: Processing Job status: Processing Job status: Processing Job status: Processing Job status: Processing Job status: Processing Job Finished! Asset encoded: name=Encoded Mezzanine Azure-Video.wmv id=nb:cid:UUID:ffdba7be-e581-45d5-bec9-f3e4060242b4 Content Key id=nb:kid:UUID:2b613d99-2167-4ea1-befc-97fb6caf93b5 <br /> <b>Warning</b>: hex2bin(): Input string must be hexadecimal string in <b>/var/www/api.azure.0.5.7/vendor/microsoft/windowsazure/examples/MediaServices/vodworkflow_drm_fairplay.php</b> on line <b>407</b><br /> FairPlay ASK Content Key id=nb:kid:UUID:718b8123-304e-4f5d-b5be-8ac75ba90754 FairPlay PFX Password Content Key id=nb:kid:UUID:0b52249b-27cf-43a5-885e-fc99c9f45d11 <br /> <b>Warning</b>: file_get_contents(<path to the pfx file>): failed to open stream: No such file or directory in <b>/var/www/api.azure.0.5.7/vendor/microsoft/windowsazure/examples/MediaServices/vodworkflow_drm_fairplay.php</b> on line <b>397</b><br /> <br /> <b>Warning</b>: openssl_pkcs12_export(): cannot get cert from parameter 1 in <b>/var/www/api.azure.0.5.7/vendor/microsoft/windowsazure/src/MediaServices/Templates/FairPlayConfiguration.php</b> on line <b>76</b><br /> <br /> <b>Fatal error</b>: Uncaught WindowsAzure\Common\ServiceException: Fail: Code: 400 Value: Bad Request details (if any): <?xml version="1.0" encoding="utf-8"?><m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><m:code /><m:message xml:lang="en-US">FairPlay configuration must have FairPlayPfx.</m:message></m:error>. in /var/www/api.azure.0.5.7/vendor/microsoft/windowsazure/src/Common/Internal/Http/HttpClient.php:405 Stack trace: #0 /var/www/api.azure.0.5.7/vendor/microsoft/windowsazure/src/Common/Internal/Http/HttpClient.php(301): WindowsAzure\Common\Internal\Http\HttpClient::throwIfError(400, 'Bad Request', Object(GuzzleHttp\Psr7\Stream), Array) #1 /var/www/api.azure.0.5.7/vendor/microsoft/windowsazure/src/Common/Internal/RestProxy.php(144): WindowsAzure\Common\Internal\Http\HttpClient->sendAndGetHttpResponse(Array, Object(WindowsAzure\Common\Internal\Http\Url)) #2 /var/www/api.azure.0.5.7/vendor/micr in <b>/var/www/api.azure.0.5.7/vendor/microsoft/windowsazure/src/Common/Internal/Http/HttpClient.php</b> on line <b>405</b><br />
Any idea the reason? Thanks in advance.
Executing the example vodworkflow_drm_fairplay.php with only set the parameters in userconfig.png this is the result:
Any idea the reason? Thanks in advance.