How to copy uploaded blob to asset for AMS processing using PHP SDK

I'm using Azure PHP SDK for Azure Media services and having problem with uploading large files (< 64 mb). So i tried using Blob service to upload as a chunk and commit it as a single file. It also works fine, and now media services won't directly take blob
as a input. So i need to convert it into an Asset.
I'm following the link https://msdn.microsoft.com/en-us/library/azure/jj933290.aspx which
has example using .NET, is there a PHP sdk library support available for copying blob to asset. If yes please let me know the class and its methods or link.
Please advice
Mohanraj

Hi Mohanraj,
We recently had a fix for the problem you mentioned above:
https://github.com/Azure/azure-sdk-for-php/commit/972e09c74308411602027280ededb3048b1e2fc4. We will try to release it asap but you can now try to upload by using this code pulled from dev branch.

Similar Messages

  • How can i upload two different logos for 2 sub sites [which falls under one super site ] in share point 2013 ?

    hello,
    How can i upload two different logos for 2 sub sites [which falls under one super site ] in share point 2013 ?
    thanks,
    Jay

    Hi,
    I understand that it applied first logo to all other sub sites.
    Please make sure that you change the logos in the subsites.
    If we change the logo in the root site, the logos in the subsites will be changed at the same time.
    However, we can change the logo in the subsites separately.
    We can go to a subsite, click the Site Sitting-> Look and Feel-> Title, description, and logo->Insert Logo->select a picture, then it will has a different logo than the root site.
    Then go to the other subsite, click the Site Sitting-> Look and Feel-> Title, description, and logo->Insert Logo-> select another picture, then it will has a different logo that the first subsite.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How can I upload text master data for attribute-only Charactertic?

    I can't create infosource for attribute-only Charactertic via direct update from Infoobject, because attribute-only Charactertics you can't choose from available infoobject.
    How can I upload text master data for attribute-only Charactertic?
    Thanks!

    Hi roberto,
    I soloved the problem. I can input the attribute-only char directly in the text box instead of choosing from list of infoobjects, but I still can't find the char in infoobject selection dialog even using search.

  • How to copy List item from one list to another using SPD workflow using HTTP call web service

    Hi,
    How to copy List item from one list to another using SPD workflow using HTTP call web service.
    Both the Lists are in different Web applications.
    Regards, Shreyas R S

    Hi Shreyas,
    From your post, it seems that you are using SharePoint 2013 workflow platform in SPD.
    If that is the case, we can use Call HTTP web service action to get the item data, but we cannot use Call HTTP web service to create a new item in the list in another web application with these data.
    As my test, we would get Unauthorized error when using Call HTTP web service action to create a new item in a list in another web application.
    So I recommend to achieve this goal programmatically.
    More references:
    https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
    https://msdn.microsoft.com/en-us/library/office/dn292552.aspx?f=255&MSPPError=-2147217396
    Thanks,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How can i upload a image file to server by using jsp or servlet.

    Hi,
    I m gurumoorthy. how can i upload a image file to server by using jsp or servlet without using third party API. pls anyone send me atleast outline of the source code.
    Pls send me anyone.
    Regards,
    Gurumoorthy.

    I'm not an applet programmer so I can't give you much advice there.
    If you want to stream the file from the server before it's entirely uploaded, then I don't believe you can treat it like a normal file. If you're just wanting to throw it up there and then listen to it, then you can treat it like a normal file.
    But again, I'm not entirely certain. You might be able to stream the start of the file from the server while you're still uploading the end of it, but it probably depends on what method you're using to do the transfer.

  • How can I define the possible entries for "invoicing process" at fkkinv_ma?

    At the transaction code fkkinv_ma, I fill in the fields "Date ID" and "Identification" but I have a problem with the field of "Invoicing Process". When I psh theF4 button, there comes no search help. What should I do? Should I define the possible entries first? If I should, how can I define the possible entries for "invoicing process"? How is the customization done?
    Thanks in advance for the answers.

    You have to define them in the IMG 
    Financial Accounting (new)
    Contract Account Recievable and Payable
    Business Transactions
    Invoicing
    Invoice Types
    You have to set up a number range, decide what type of Financial transactions should not be invoiced -- like  Dunning Charges
    then you have to have a developer create the form and form class of invoice.

  • How to copy and paste a photo in another folder using Aperture?

    How to copy and paste a photo in another folder using Aperture?

    What do you want to achieve? Do you really want to create a copy of an image, and thus create a second copy of the master image file? You will waste disk space this way.
    Usually you would create new versions of an image, if you want versions with different adjustments. Versions do not require much additional disk space. But all versions of an  image have to be in the same project. To create a new version: Main menu bar -> Photos -> Duplicate Version
    To create a copy of an image in another project (and to waste the space ) drag the image to another project while holding down the option key. This will create a copy in the other project.
    Sofar nobody here could come up with a good reason why one would want to create a copy. I am curious what in your workflow requires you to do that. Would you mind to tell us?
    Regards
    Léonie

  • How can I upload photos from ipad onto facebook whithout using adobe flash player which I could not download onto my ipad?

    How can I upload photos from ipad onto facebook whithout using adobe flash player which I could not download onto my ipad?

    http://www.google.com/search?q=upload+photos+to+facebook+from+ipad

  • How to make a program for backgroung processing used servlet

    how to make a program for backgroung processing used servlet

    well i need the coding part written in servlet ,in which servlet is always ready for accepting a client request.

  • How to add new tab after reason for rejection tab using tcode va01

    Hello,
    how to add new tab after reason for rejection tab using tcode va01.

    Hi,
    You can check this link...
    Hope it will be helpful to you.
    [https://forums.sdn.sap.com/click.jspa?searchID=23016273&messageID=6825861]
    [http://www.sapdevelopment.co.uk/enhance/fexits.htm]
    -Maharshi
    Edited by: Maharshi Vyas on Mar 3, 2009 12:45 PM

  • TS3720 how can i upload movies from Sony pj580v camcorder to use with imovie11?

    How can I upload movies from Sony pj580v camcorder to use with imovie 11?

    Transfer it to your computer and import into iTunes, make sure it's in a compatible format. Then simply sync with the iPad. If you have a camera connection kit and you know the footage is compatible you can connect it directly.
    Follow the link to see formats
    http://www.apple.com/ipad/specs/

  • Is Skip logic available for Payment processing using Paypal?

    Is Skip logic available for Payment processing using Paypal? i.e. Conditionally i would like to enable paypal option based on user choice as either credit or check.

    Yes, and it can be used to create a pay by check option.

  • How do i upload my e-book for publication by iBook, How do i upload my e-book for publication by iBook

    Please provide easy instruction on how to upload my e-book for publication in the Apple i-book.
    Thanks

    Your question is best asked here https://discussions.apple.com/community/books/creating_books_for_ibookstore
    Best of luck

  • My wife and I share the same iTunes account.  How can I setup a separate account for her iPhone using my iMac?

    My wife and I share the same iTunes account. How do I setup a separate account for her? Can I do it using my iMac?
    Thanks

    Using More than One iDevice on the Same Computer
    This applies mainly to couples who are adding another device and do not want their email, messages, etc. being duplicated on both devices. To begin read: How to use multiple iPhone, iPad, or iPod devices with one computer. You need to establish a separate Apple ID and password for whomever will use the new iDevice. See Apple - My Apple ID and Frequently asked questions about Apple ID. The easiest way is to do this on the computer using iTunes: iTunes- How to set up an Apple ID within iTunes.
    On the computer create a new user account for the person with the new iDevice. This will be the user account that person will always use. He/She will no longer use the other user account. This way that person will have a separate iTunes Library
    Start by transferring the new device(s) to a new account along with all your data.  Save any photo stream photos that you want to keep to your camera roll (unless they are already in the camera roll) by opening your Photos app, tap on Albums icon at the bottom. Now, tap on My Photo Stream album; tap Select; tap on the photos you want to select;, tap the share icon (box with upward facing arrow) in the lower left corner; then tap Save to Camera Roll.
    If you are syncing notes with iCloud that you want to keep then you need to open each of your notes and email them to yourself. Later you can copy and paste the text into new notes created in your new account.
    Tap on Settings > iCloud > Delete Account (only deletes it from this device, not from iCloud; the person keeping the current account will not be affected,) provide the password to turn off Find My Phone and choose Keep on My iDevice when prompted.  Sign in with a different Apple ID to create your new account. Choose Merge to upload your data.
    Once you are on separate accounts, you can each go to icloud.com and delete the other person's data from your account.
    Note: The essence of the above was created by user, randers4. I
    have made substantial changes to improve readability and syntax.

  • How to upload 100 Mb+ video on Azure storage using PHP

    Dear Sirs,
    I have uploaded 1.2 Mb video to Azure storage through PHP code with no problem. When I tried to upload a 90 Mb video I got the following error message:
    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 90363852 bytes) in C:\xampp\htdocs\projetos\ajao\azure-sdk-for-php-master\WindowsAzure\Blob\BlobRestProxy.php on line 1319
    Can somebody please instruct me how to upload 100 Mb+ file size into Azure storage using PHP code?
    In advance thanks for your help.
    Best regards,
    Luiz Doi

    Hi Manu, Im having the same problem as Luiz, getting the same type of errors. I'm not a dev so I thought I ask for more details to clear things out.
    I have a Joomla site that was configured in though Azure hosting but I can't upload anything into Joomla less than 8MB. So basically having Azure storage blobs and media services for Joomla is useless if I can't use the larger files into the site or out
    of the site into Azure storage/Media services acct.   
    I even manually changed the upload_max_filesize and post_max_size parameters on the admin and then directly on the site code and even added a php.ini file on the root to override all as I read
    here but still nothing worked. 
    Therefore the code you posted above seems the solution but just wanted to be sure if it will solve my issue.
    1. I need my Azure hosted site to allow larger files up to 500MB.
    2. I need the files people upload on my site front end through a form see
    here to be sent to my Azure blob. What code do I need to paste on the Joomla's forms admn. So basically files first go into site and then to storage.
    3. After I upload the Php SDk and then the Http_Request2 PEAR
    and paste your code in the SDK how does the code recognize my Azure site and my azure blob/containers? Where in the code do I plug in my info?
    Kindly advise.
    Karin
    kd9000

Maybe you are looking for

  • HP 6510 AIO Printer

    HP can make my New Year a marvalous one by developing an OCR app that is compatable with the HP 6510 Printer. What is OCR you ask? Well, OCR stands for Optical Charcter Recognition and what that does is; it enables you to scan a form and have the abi

  • How can I create an action that dynamically appends the filename, when saving?

    I have created a batch file that watches a folder for .jpgs. When a jpg is found, it runs a Photoshop droplet that resizes and exports six different sizes of the same image, then closes the image. This all works fine, however the step I am stuck on i

  • Error in writing case statement

    i am writing this getting error in case statement declare v_RenewService NUMBER(10,0); begin Select Case v_RenewService when 5 >= 365 THEN when 1=0 then 1 else 0 end end from dual ; end; Error report: ORA-06550: line 7, column 3: PL/SQL: ORA-00905: m

  • Hierarchy in obiee 11g

    Hi All, we have a to create a hierarchy for the below type. H1-->H2-->H3-->H5 -->H4 H1 | H2 | | H3 H4 | H5 How to create this type of hierarchy..? When we click on H1, H2 will display, when we click on H2, H3 and H4 should display, then clicking on H

  • How to insert javascript with in a servlet

    Please send the code to insert javascript with in a servlet