Php question-how can I get the returned persistentId value for Video Transcoding uploaded by PHP?

Source: Internet
Author: User
PHP Upload Video Transcoding how to get the hashFpjkD7IOJe2vgI6sRMi-0erHYLazkeyFpjkD7IOJe2vgI6sRMi-0erHYLazpersistentId551903297823de4068cc6910 data? {Code...} How to obtain video transcoding uploaded by PHP hash FpjkD7IOJe2vgI6sRMi-0erHYLaz key FpjkD7IOJe2vgI6sRMi-0erHYLaz persistentId 551903297823de4068cc6910What data?

$ PutPolicy = new Qiniu_RS_PutPolicy ($ bucket); $ putPolicy-> Scope = "{$ bucket}"; $ putPolicy-> Expires = time () + (24*60*60); // 24 hour $ sFileName = Qiniu_Encode ("qiniu: {$ newFileName}.mp4"); // domain: $ putPolicy-> PersistentOps = "avthumb/mp4/r/24/vcodec/libx264/acodec/libfaac | saveas/{$ sFileName}"; $ putPolicy-> persistentpolicyurl = 'HTTP: // t.refineit.cn: 88/qiniu2/p_policy_url.php '; $ upToken = $ putPolicy-> Token (null );

Reply content:

How to Get PHP video upload and Transcodinghash FpjkD7IOJe2vgI6sRMi-0erHYLaz key FpjkD7IOJe2vgI6sRMi-0erHYLaz persistentId 551903297823de4068cc6910What data?

$ PutPolicy = new Qiniu_RS_PutPolicy ($ bucket); $ putPolicy-> Scope = "{$ bucket}"; $ putPolicy-> Expires = time () + (24*60*60); // 24 hour $ sFileName = Qiniu_Encode ("qiniu: {$ newFileName}.mp4"); // domain: $ putPolicy-> PersistentOps = "avthumb/mp4/r/24/vcodec/libx264/acodec/libfaac | saveas/{$ sFileName}"; $ putPolicy-> persistentpolicyurl = 'HTTP: // t.refineit.cn: 88/qiniu2/p_policy_url.php '; $ upToken = $ putPolicy-> Token (null );

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.