

- How to download html5 video blob gaia how to#
- How to download html5 video blob gaia mp4#
- How to download html5 video blob gaia install#
- How to download html5 video blob gaia code#
If you’re serving up your videos from a Storage Blob, have you considered a CDN? You’ll be serving your customers from a CDN node that’s best for them (UK guys get served from the UK node, US guys from the US node etc) which will give better performance. I don’t know that much about video file formats, but I did find this blog post by Renaun Erickson which describes a problem with H.264 files where the index for the file (which allows streaming) is placed at the end of the file, meaning you can’t start streaming until you’ve downloaded the whole video! He’s created a small tool, the QTIndexSwapper, which moves this index to the beginning of the file, which you can download from that page as well (requires Adobe Air).ĭoing this on my videos made an instant difference for Media Player – which now started streaming the videos correctly.

For instance, Google Chrome consistently streamed my MP4s without me needing to make any changes, but Windows Media Player (and anything that relied on it, such as embedded video streams) refused to. It seems to make a difference how you choose to play them as to what’s needed and what’s not. If you’ve got this far (and I got this far) then it might be time to examine your videos, to make sure they’re in the best possible shape to support streaming downloads. There’s more on Azure Versioning on MSDN: Versioning for the Blob, Queue, and Table Services in Windows Azure. My account was on version “” – you can also tell quickly by looking at the response headers, looking for the x-ms-version header. However, for the streaming video improvements, you can use any version number newer than “”. In my sample, I’m updating the account to the “” release, one of the more recent ones.

How to download html5 video blob gaia install#
To get this to work, you’ll also need the Azure.Storage nuget package, which you can install by running Install-Package WindowsAzure.Storage from the Package Manager console in Visual Studio. You can’t do this in the Azure portal, but here’s how you can programatically: So, you need to change your account version.
How to download html5 video blob gaia mp4#
However, there have been some improvements to how Azure handles streaming of MP4 file – and you will want those changes if you want to get your MP4 files streaming.
How to download html5 video blob gaia code#
This enables Microsoft to make changes to the infrastructure without breaking everyone’s code each time they change how a feature works. When it was created, your account was assigned a specific version number, and it will run at that version number until it’s changed. It’s also in a state of evolution, with new features being added all the time. Instead, it’s a purpose-built system, designed to deliver content in the most efficient way possible. Because it has some pretty specific and unusual requirements, Microsoft don’t run it over IIS. You should change this to be correct for your media. By default your videos may well have the type application/octet-stream. Make sure you have a sensible value in the Content-Type header. There are BlockBlobs and PageBlobs … but for streaming video you want BlockBlobs. It’s an excellent way to start to understand how HTTP traffic works.
How to download html5 video blob gaia how to#
If you don’t know how to use Fiddler, it’s definately worth investing some time. I’ll be using CloudBerry Explorer for the screenshots.įor investigation and diagnostics, you’ll also need Fiddler. Both are free, and both let you download and upload files, as well as set headers. From using them, I can recommend either the Azure Storage Explorer, or the CloudBerry Explorer. You’ll need some tools as you’ll need to examine and change the HTTP headers of your files, which you can’t do in the Azure Portal.

Hopefully these pointers will help if you’re also struggling: Get Some Tools We recently had some problems streaming MP4 video files in a Microsoft Azure storage blob. Streaming MP4 video files in Azure Storage containers (Blob Storage)
