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

Similar Messages

  • IPhone 6 how to upload fhd 60fps videos to youtube?

    iPhone 6 how to upload fhd 60fps videos to youtube?
    And how about slow motion videos ??

    The options made avaialble for uploading a photo direct from the Photos app is it.
    To upload a photo to FaceBook, you can use the FaceBook app for the iPhone. There is also an app called iLoader for FaceBook which provides for uploading multiple photos to FaceBook and uploading videos captured by the iPhone to FaceBook.There are probably more that do the same or similar, but I'm familiar with iLoader.

  • How to upload single heavy video file by flash AS2.0

    How can I upload single heavy video file by AS2.0 with php backend?
    I have video file of 200 GB but flash officially supports 100MB.
    http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/net/FileReference.html
    Then how this can be achieved?

    As far as I know edge is always going to create that whole set of files. that's just the way it works. You had said that your problem stemmed from the fact that you had a lot of these animations or what you called "flashcards" and you didn't want to have to upload a whole set of project files for each card.  right?? My suggestion was just a way to package all your "flashcard" animations into a single edge project so you only have to upload a single set of files for all your "flashcards" . that said, not knowing what your application is or the way the user interacts with the cards this approach might not work for you at all. But I don't think there is a single file (like a swf) solution for edge projects.
    Joel H

  • How to upload photos or videos to Dropbox or Facebook?

    I am coming from using a Droid phone and now have the iPhone 4S. On my Droid, I could go into my photo gallery and select a photo and have a variety of choices where I could upload that photo. I could send it to my Dropbox account or Tweetphoto, Facebook or a number of places. I don't see an option on how to do this on the iPhone unless I need to download an app first. Why email myself the photo when I can just send it to my Dropbox account instead? Or I might be out somewhere and I want to take a photo or video then post it up on Facebook. I don't see a way of doing this unless of course I would need an app to do this. I know you can send a photo to Twitter and send one in a text message or email but there is no option to send to to Facebook or Dropbox straight from my gallery on the phone. If you know of an app that I need, please suggest it. FYI, I already have the Dropbox app on my phone but I just have no way of sending pics to my account there.
    Thanks!

    The options made avaialble for uploading a photo direct from the Photos app is it.
    To upload a photo to FaceBook, you can use the FaceBook app for the iPhone. There is also an app called iLoader for FaceBook which provides for uploading multiple photos to FaceBook and uploading videos captured by the iPhone to FaceBook.There are probably more that do the same or similar, but I'm familiar with iLoader.

  • How to upload photos and videos from a camera via an SD Reader after the iOS7 upgrade?

    Since uploading iOS7 I have also found that my iPad2 will not upload from my SD card reader (in this case Model A1362). With iOS6 it worked perfectly. I also cannot now upload videos using iTunes, only photos.
    This is a major loss of functionality for me since, when travelling, I would upload pictures and videos from my camera to the iPad, edit them on the iPad, and then post them on social media. It also acted as a backup in case the SD card was damaged or lost.

    Mine works now too. Maybe it was the upgrade to iOS 7.0.2? Or maybe it had something to do with changing SD cards? I was using a high performance 4GB card, switched to a standard 2GB card and it worked and now appears to work with the 4GB cards as well (standard and high performance).
    Go figure.

  • How to upload slo-no videos to any cloud storage apps?

    Dear friends,
    i ve have many slo-mo videos on my iPhone. And, when I tried to upload it to my personal cloud storage app(Google drive, one drive, flikcr) it just got uploaded as a normal video. I've lost the slo-mo in it.
    It would be really helpful if anybody here help me to upload slo-mo videos as it is!
    Thanks,
    Ram

    What did you use to convert them?
    In the Video's Pane make sure that the movies you want to sync are selected to be synched over.
    Page 59 of the [iPhone User Guide|http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf]
    also check your conversion process to [Verify Video Conversion|http://support.apple.com/kb/HT1211]

  • How to set same domain name for Azure Storage and Hosted Service

    I have a web application running on azure and using azure storage with blob. My application allows to edit html files that are in the azure storage to save with another name and publish them later. I am using javascript to edit the html content that
    I display in an Iframe but as the domain of my web application and the html that I try to edit are not the same, I got and this error "Unsafe JavaScript
    attempt to access frame with URL "URL1" from frame with URL "URL2". Domains, protocols and ports must match".
    I have been doing some research about it and the only way to make it work is to have the web application and the html that I want to access using javascript under the same domain. 
    So my question is: is it possible to have the same domain name in azure for the hosted service and the storage.
    Like this:
    hosted service: example.com
    storage: example.com
    By the way I already customize the domain names so they looks like this:
    hosted service <mydomainname>.com
    storage <blob.mydomainname>.com
    Actually I have my application running in another hosting and I have no problem there since I have a folder where I am storing the files that I am editing so they are in the same domain as the application. I have been thinking in to do the same with Azure,
    at least to have a folder where I can store the html file meanwhile I am editing it but I am not sure how much space I have in the hosted service to store temporary files.
    let me know if you have a good tip or idea about how to solve this issue.

    Hi Rodrigo,
    Though both Azure Blob and Azure applications support custom domain, one domain could have only one DNS record (in this case is CNAME record) at one time. For Steve's case, he has 3 domains, blog.smarx.com, files.blog.smarx.com and cdn.blog.smarx.com.
    > I would like to find a way to storage my html page that I need to edit under the same domain.
    For this case, a workaround will be adding a http handler in your Azure application to serve file requests. That means we do not use the actual blob url to access blob content but send the request to a http handler then the http handler gets the content
    from blob storage and returns it.
    Please check
    Accessing blobs in private container without Shared Access Secret key for a code sample.
    Thanks.
    Wengchao Zeng
    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact
    [email protected]
    Microsoft One Code Framework

  • 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.

  • How to store ISO file at Windows azure Storage

    Hello,
    I wants to know How various way store ISO file at Windows Azure (or by Content Management)so that i will be get available cross different location for use.
    Thanks
    Richa Km

    Hi  Richa,
    If you want to store a ISO image file in Azure Storage ,I  suggest that you can try to use Azure Blob storage.
    For Azure Blob storage is a service for storing large amounts of unstructured data, such as text or binary data, that can be accessed from anywhere in the world via
    HTTP or HTTPS.
    So that you can store a common ISO file use the Azure Blob storage, and you can get it anytime or anywhere .
    For more information about how to use Azure Blob storage ,please refer to the link below:
    http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-blobs/
    Then you can use Azure storage Explorer to store ISO image file ,please refer to the link below:
    https://azurestorageexplorer.codeplex.com/
    You also can try the CloudBerry to store the ISO  image file, please refer to the link below:
    http://www.cloudberrylab.com/free-microsoft-azure-explorer.aspx
    Best Regards,
    Kevin Shen.

  • How to push VSO build drop to azure storage account?

    Hi,
    I want to automate the deployment process and setup CI.
    I have Source Control and Build setup on VSO (Git / MsBuild). The build is currently stored by VSO itself and all i get is a download link to a zip. 
    Now i cannot automate the fetch and deployment of this build drop since it requires me to open a browser, login and download the build. (I could probably solve this using browser automation, but i'm not desperate enough.)
    Is there any way to set say a blob storage as the drop location. OR somehow setup a file share on azure and have it drop to that. Or is there an API that would let me download this build drop directly? Am i missing some hidden option or have i overlooked
    something?
    Any help / advise would be very welcome. I don't mind being contacted by your dev / support teams.
    Thanks,
    Brijesh

    Hi Brijesh,
    Based on the description, seems you want to do continuous build and deployment to Azure. And I'd like to know why you need to get the build drop during the process.
    To get the build drop when build the project in Git team project, we can also set to copy the build output to an UNC path in Build default tab of build definition. There is no need to store the build drop to some place in Azure storage.
    Another option is do the continuous deployment by using a CI build defninition. And you can use build process template of "GitContinuousDeploymentTemplate.12.xaml" to do the continuous deployment. Please check the link below for more information.
    If you have any other concerns, please elaborate more details.
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-continuous-delivery-use-vso-git/
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Azure Storage Used by non-Azure Website in PHP

    Dear sirs,
    We are first time trying to use Azure video and image storage on non-azure PHP website. How we can do to access, save and get files from Azure blob account to non-azure PHP website?
    Please somebody can help me on it?
    Thanks & Regards,
    Pedro

    Hi Pedro,
    Thanks for your posting!
    In your scenarios, two approaches could meet your requirements.
    >1 you could download Azure SDK for PHP as Magamalare said,
    Also, you could see this blog and sample:
    http://blogs.msdn.com/b/brian_swan/archive/2010/07/08/accessing-windows-azure-blob-storage-from-php.aspx
    >2 You could use azure storage REST API to operate the storage:
    http://msdn.microsoft.com/en-us/library/azure/dd135733.aspx
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Check availability of a video or audio stream using PHP

    I'd like to know if anyone knows how to check (using PHP) if
    a video or audio live broadcast is available. Right now my church
    uses Playstream to host the streaming audio for our church
    services. Being the webmaster I thought it would be cool if I could
    check if the wvx feed is active and then have that dynamically
    change the link (either "Check back later" or "Live now!"). I'm
    fairly proficient with PHP but I don't know how to do this.
    Using DW7 if that makes a diff.
    Thanks in advance!

    Nbc app is streaming the video from their server, if they don't provide a way to do it in their app than you can't do it.

  • How to upload and capture videos?

    How do I upload videos to edit? How do I use the capture video option?
    I'm a beginner so I don't know how to do much but I'll learn on the way. Any other tips / stuff I should know?

    See this (a search on the premiere forums for FRAPS):
    http://www.adobeforums.com/webx?127@@.3bbe4d6a
    One poster suggested you can simply set FRAPS to export DV AVI Type 2 - the file/codec format that PPro likes best. But your frame size will be an issue. If you are eventually going to DVD, you want to plan all that from the beginning.
    FRAPS can be complicated, as you will see in the posts I linked you to.
    Once you have your FRAPS file in an appropriate format, you just import it to PPro. (Go to the help file and look for import; you are not capturing.) You need your PPro project set to the right settings. (Look for project settings in help; if you don't find a way to set this up as DV, you may need Desktop editing mode.)
    Check the PPro Wikia out; click on tutorials on the left. These are somewhat of a compromise between trial and error and training first.
    http://premierepro.wikia.com/wiki/Adobe_Premiere_Pro_Wiki

  • How to upload a QuickTime video

    Hello,
    I had asked this question some time ago, but I still do not
    know, how to do this. I would like to have a button on my web page,
    which would (on click) open a new pop up window with embeded
    QuickTime video clip. I would like to be able to control the color
    or texture of the background and dimensions of this window, lets
    say 400x300. Could anyone tell me, how to do this? Someone has told
    me, that I need to create a "container". But how?
    Thanks for any advise or input.
    Cheers

    YouTube Upload Video Help & Forum

  • How to Upload muse website to windows azure via ftp

    Hie,
    I am using Muse with windows 8 pc .
    I want to update my content to my windows azure ftp and host the site
    But when i try to use in-build ftp it doesnot work I shows up folder not found
    And when I click ok it shows up error again
    But when I use Third party ftp client it works properly

    It looks like you might be using the full FTP connection URL in your host directory field. In this field, you'll only want that last part of the information ("site/wwwroot/"). Using that should allow you to FTP without issue.
    Hope that helps,
    Andrew

Maybe you are looking for

  • Switch b/w edge and GSM on Blackberry Curve 9380

    Hey few days back I bought Blackberry Curve 9380. Basically I'm new to Blackberry Universe. Generally when I'm at home, I prefer to use GSM only coz I have Wi-Fi. But when I swtich off data usage, connect to Wi-Fi, the Browser and other internet appl

  • Can't open my emails, can you help?

    Can't open my emails, please help me

  • Date and time says Dec. 31, 1969

    My ipod touch has a date of Dec, 31, 1969 and it will not change to the present, anyone else had this problem or can anyone help to fix it.  Thank you

  • Sonos and Time Capsule

    I have all my music stored on a Time Capsule, and am using Sonos to play it throughout my house. However, dropouts are frequent, and I believe it is the TC and not the Sonos. The dropouts hit all rooms at the same time, leading me to the conclusion t

  • Can't delete, move, or rename a folder

    I have two stubborn FOLDERS in documents that when deleted, moved or renamed will revert back to it original name and location when I restart my computer. The first folder is "deliveries" in it is a second folder "tmpcache" which I did not create int