Azure CDN vs Storage vs Media Services and Streaming Units

Hello,
Quite new to Azure and these services and after much poking around cannot quite find the answer to my question so I'm writing it here.  I have a video that I have uploaded under storage but one cannot access that through the listed URL.  So under
Media Services I created a new Media Service and if you look under Content you can find the URL for the video which I have published.
So, I then under configuration for this Media Service went under Streaming Capacity and turned it up to streaming capacity 1 unit = 200mbps at $4.50 per day.  Which seems expensive for just wanting one video to be available on demand.
So I'm needing some help.  I created some CDNs but not sure what they do and if they should be connected to my video.  All I know is that it is costing me over $5 day to have one 47MB be available to play as soon as the user clicks on the link on
my page.  This seems ridiculous.  What am I doing wrong?  How do I use the CDN, or the Media Services and if I'm just serving up one video do I need the 200mbps?  I understand the idea of guaranteed bandwidth.... but some discussion on
this would help greatly.  Thanks in advance for any discussion on this.

Hi Paul,
Streaming capacity doesn't only provides guaranteed bandwidth, but also enabled additional features such as dynamic packaging and dynamic encryption. If your intent is only stream one video file and just use progressive download, I would recommend you to
use directly storage SAS URLs and bypass streaming end-point. Streaming-end point with streaming capacity will provide you adaptive streaming and the additional feature.
To use storage URLs directly, you can just upload your video file using Azure portal and publish which will create a storage SAS URL. The URL should include blobcore in the URL. To integrate CDN for this URL, you should use CDN tab and integrate CDN
for the corresponding storage account.
Thanks,
Cenk

Similar Messages

  • How to upload Images to azure media services and show the image on on click on Link?

    Hi,
    I want to upload the image to the Azure media service asset and show the Link on the page. When use clicks on the Link I want to show it user. How can I implement this with C#? Now I am uploading the image to asset as in the normal way and getting the URL
    for that. But I am not able to show it user when he click on the image link.
    Thanks,
    Pavankuamr H K

    HI
    Azure media services has a RESTful service and a C# SDK that you can use to interact with the Azure Media Services.
    Here is the documentation and sample code for calling the Media services and using the SDK:
    https://msdn.microsoft.com/en-us/library/dn735908.aspx?f=255&MSPPError=-2147217396
    Aram Koukia | Blog: koukia.ca | Twitter:
    @aramkoukia

  • Azure Media Services and Overlays w/XAML storyboards and images

    Hi,
    We are moving our Expression encoder service to the cloud.  One feature we rely heavily on is the Overlay feature, utilizing a XAML file with storyboards. 
    In order to do so, I upload some .jpg assets, then add them to the Task's InputAsset.Add() method.  I also upload the XAML file, and refer to this file in the Presets configuration via %xx% notation.  The XAML file looks like (some bits
    removed for brevity):
    <Canvas x:Name="LayoutRoot">
       <Image Source="slide1.jpg" x:Name="Slide0" Opacity="0" Width="768" Height="432" Canvas.Left="0" /> 
           <Canvas.Triggers> <EventTrigger RoutedEvent="Canvas.Loaded"> <BeginStoryboard>  <Storyboard>
                 <DoubleAnimation Storyboard.TargetName="Slide0" Storyboard.TargetProperty="Opacity" BeginTime="00:00:00" From="0.0" To="1.0" Duration="00:00:00"
    />
    .... more animations to fade out, load the next image, etc. 
    </Canvas>
    Results:  I know the XAML file is working properly, because I see the transitions occur during playback at the specified times.  HOWEVER, none of the associated <Images> show up.  The overlay fades in, sticks around for the specified
    time, and then fades away...however, the image itself never shows up. 
    I have tried using the %xx% notation on the <Image Source=> tag, but that doesn't seem to help.  I've also added other various animations to the XAML file which indeed show up, such as moving a box across the screen.  So I am pretty confident
    the plumbing is working as it should.
    Anyone with some helpful information as to what I may be missing? 

    Following up offline with Jim

  • How integrate azure media services with blob storage?

    I need to upload lots of content over blob storage which contains different types of files.
    Now my problem is that files contains lots of videos also.
    I want to way by which i can integrate azure media services with blob storage so that i can stream that video.
    So probably i don't want to upload my videos on azure media services storage because i want all my content to be at one place which is blob storage.
    Is there any way to achieve this?
    Thanks,
    Rajesh Khunt
    Blog : http://programmersgeek.wordpress.com/
    Twitter : http://twitter.com/#!/r_rajeshkhunt
    Linkedin : http://in.linkedin.com/in/rajeshkhunt

    Hi Rajesh
    Every Media Services account needs a blob storage account associated with it. You can choose an existing blob storage account for that purpose. In order for Media Services to work with your videos you need to create an asset using the Media Services APIs.
    That call results in the creation of a container which has the name in the following format asset-<AssetId>. The actual video files need to go as blobs within this container but these files need to be known to Media Services and you can do so by adding
    AssetFiles to the asset using the Media Services APIs. Once you do that the asset is well known to Media Services and you can stream it.

  • How to use Phone camera for live streaming rather than using WireCast camera in Live streaming using Azure Media Services

    Hi,
    am planning to develop a live streaming app using C# and xaml.
    I have gone through the below sample and am able to stream the live content using wireacst camera.
    Azure Media Services Live Streaming Sample
    But i want to use Phone camera to stream the live video rather using wirecast camera.
    How can i use that? How to get the published URL from the C# code, is there any API to get that?
    Anybody please help me
    Regards,
    Santhosh

    Hello,
    There are no in box components that will allow you to transmit captured video from a Windows Phone device to Azure Media Services. You will need to create you own implementation. You can do this by creating a custom Media Foundation sync that can plug into
    the MediaCapture element's pipeline. You will then need to modify the captured and compressed video to align to one of the two protocols that Azure Media services can use. At this time Azure Media services can use either Smooth Streaming or RTMP for ingestion.
    You will need to create your own packager (or find compatible packager code from a 3rd party) to package the MP4 encoded data into the necessary format.
    Here is an example of how to create a custom Media Foundation sync (please note you must write your Media Foundation components using C++ MoCOM. We do not support Media Foundation components written in managed languages):
    Real-time communication sample
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • Azure Media Services Pricing Questions

    I am contacting you in regards to pricing structures for Azure Media Services. I would like to clarify some details outlined on the Azure pricing page.
    I work for a company that provides content security solutions, and we provide Microsoft Playready related DRM solutions to our customers. 
    I have a customer who has an Enterprise Agreement and is using Azure Cloud services. They are planning to utilise the Azure Media Services and I wish to help clarify some points
    for them.  
    Can you please provide answers to these questions ?
    For Content Protection (DRM) does the customer need to prepare their own Playready License servers? Or is this fully covered in the Azure Content Protection service ?  
    For the PAYG plan for Content Protection, there is a price of $0.21/ 100 licenses.  
    Can you please confirm the definition of “license” in this scenario ?
    Is the license in reference to issuing one license per streaming session per unique user ?
    If the user watches multiple contents/assets is a license required for each asset ?  Is only one license required per piece of contents ?  Or multiple licenses during viewing ?
    When using key-rotation for live services, does that impact the number of licenses required ?
    Are there any conditions for using Azure Encoding & Processing services in order to attain the Content Protection price?  (for example certain amount of minimum usage of encoding?
    Are there any conditions for using Azure Streaming services in order to attain the Content Protection price ? (for example certain amount of minimum streaming usage?)
    Is the PAY pricing plan for Content Protection relevant to content encoded as HLS and encrypted with Playready ?
    Is the separate Playready DRM licensing costs ($0.35/ client and $0.02/quarter per active client) still relevant for Silverlight players when using Azure Content Protection services ?
    Is the separate Playready DRM licensing costs ($0.35/ client and $0.02/quarter per active client) still relevant for other players (HLS players) when using Azure Content Protection services ?
    If I have other questions about Azure Media Services, can I raise them to this contact email address ?

    Will,
    Thanks. The first point that the license server is included in the Azure service is now clear, thank you.
    For the other questions, the link you put me through to is for support options for Azure. I am being asked to clarify these questions by my customer who is considering using Azure Media Services but is not currently subscribing and I don't have an existing
    support account.  My customer does have an Enterprise Agreement. 
    If you are not able to answer the questions above, would it be possible to receive an email address for where I can direct these questions about Azure Media Services pricing structure and billing ?  (this is for evaluation purposes before becoming a
    subscriber/user)  
    Please confirm an available address for someone with the answers.  I have already contacted MS online technical and billing support groups and have been asked to post here, but not been given an address I can contact with the above specific questions.
    Thank you.
    Regards
    Lincoln

  • Error in Job created to convert assest content to MP4 format in Windows Azure Media Service

    Hi,
    I am have created application which create media service channel and use Wirecast for live streaming on the channel. once event is completed video should be available for downloading.
    I have created job to convert asset content to MP4 format, job is created but with error:
    AssetFile's name doesn't match the blob file name, the AssetFile's name is not well formed or the blob file is not present in the Asset's container.
    Below is the code for job creation:
     var outputAsset = _context.Assets.Where(p => p.Name == "Demo18032015_DefaultProgram").FirstOrDefault();
                IAsset encodedAsset =
                    EncodeToAdaptiveBitrateMP4s(outputAsset, AssetCreationOptions.None);
    static public IAsset EncodeToAdaptiveBitrateMP4s(IAsset asset, AssetCreationOptions options)
                // Prepare a job with a single task to transcode the specified asset
                // into a multi-bitrate asset.
                IJob job = _context.Jobs.CreateWithSingleTask(
                    MediaProcessorNames.AzureMediaEncoder,
                    MediaEncoderTaskPresetStrings.H264AdaptiveBitrateMP4Set720pForiOSCellularOnly,
                    asset,
                    "fdemo18032015defaultprogram",
                    options);
                Console.WriteLine("Submitting transcoding job...");
                // Submit the job and wait until it is completed.
                job.Submit();
                job = job.StartExecutionProgressTask(
                    j =>
                        Console.WriteLine("Job state: {0}", j.State);
                        Console.WriteLine("Job progress: {0:0.##}%", j.GetOverallProgress());
                    CancellationToken.None).Result;
                Console.WriteLine("Transcoding job finished.");
                IAsset outputAsset = job.OutputMediaAssets[0];
                return outputAsset;
     Here I am first searching asset in content where video is stored and then creating job.
    I am using windowsazure.mediaservices version="3.1.0.1" and windowsazure.mediaservices.extensions version="2.0.0.3" dll.
    Please help me with the issue.

    The error is as expected - the on-demand encoders in our service (Azure Media Encoder, etc.) do not yet support handling of input Assets that are archives from a live stream.
    However, we are close to shipping an update to our service that will provide such support. Please watch out for our blog posts in http://azure.microsoft.com/blog/topics/media-services/

  • Mixing multiple audio files using Windows Azure Media Services

    Hi,
    I'm trying to "mix" multiple audio files on the server, e.g. I have 4 different .wav files for each instrument in my song: vocals, guitar, drums, bass.  I want to create a new stereo "mix" from these, but I want to change the relative
    volume of one of the tracks, say vocals, or mute it altogether.  I can use libraries such as NAudio to achieve this, but I'm wondering if Windows Media Services can do this, and if so, can it do it dynamically, i.e. create a live stereo stream and allow
    me to add/drop individual tracks on-the-fly.  I've been looking through documentation on Azure Media Services and Expression Encoder, but haven't found the answer.
    Thanks,
    Alan

    Hi Georgios,
    There is support for using audio overlays in our service - see http://azure.microsoft.com/blog/2014/08/21/advanced-encoding-features-in-azure-media-encoder/ for examples. It may be possible to perform pairwise overlays to implement your scenario.
    However, it's currently not possible for us to integrate customer-built processor code into our service.
    Cheers,
    Azure Media Services team

  • Streaming using Media Services

    Scenario:
    Total 125 students will be connected to 5 different classes. Each with one instructor. Both the parties will have a WinForms application on their machines and two way video streaming should be possible among them. The teacher should be able to stream his/her
    webcam feed or screen and same applies for the student. The instructor feed should be streamed to all students simultaneously. The communication should be over the internet.
    Now approximately 1 hour of HD content will be around 1GB in size.
    I have read about Live Streaming feature in Media Services based on Azure. Its pricing model is based on amount of data consumed. Now my question is if I am sending this 1 hour content to say 100 students then will I be charged for 100 GBs or is there a
    way to stream data without having to incur the bandwidth cost for each student. What is the best and cost effective way to utilize Media services to stream data in this scenario?
    Please respond as soon as possible.
    Regards,
    Aakash Goyal

    Hi,
    Media Services Encoding is charged based on the amount of data processed and whether you choose to have Encoding Reserved Units to process parallel media tasks.
    Refer :
    http://azure.microsoft.com/en-us/pricing/details/media-services/#encoding
    On-demand streaming is charged based on the number of Reserved Units you use. Reserved Unit provides bandwidth up to 200 Mbps per Reserved Unit along with built-in failover.
    Reserved Unit: $199 per month (prorated daily)
    In addition, any outbound data transfers are charged separately at the regular
    Data Transfer rate.
    Regards,
    Bharath

  • Compositing with media services

    Hello !
    I'm new to Azure Media Services and I was wondering if it could do what I need...
    Can I do compositing on a live stream ? for exemple if I want to do augmented reality, can I stream a live feed and use some program on Azure to "draw" on my stream ?
    Or do I need to do it on my computer and then only do the streaming on Azure Media Services...
    Any help is appreciated !
    Cheers !

    Hello,
    First thanks for answering. We also asked Xavier Pouyat via Vincent Thavonekham, a P-Seller Azure who is working with us.
    Our augmentation layer will contain images and texture as well. As for how we were planning to do it, I guess we would have applied what would have been available using Azure Media Services. A secondary video stream seems a good way to do it.
    I guess I'll do the compositing locally for the time being, Cheers
    Nicolas

  • Server 2012 SMB 3.0 file cluster issues with Streaming media services 2008 R2

    So I have a file server setup with the always available feature turned off on this brand new cluster. Everything seems to function normally and I can hit files from the shares no problem.
    My issue I built a brand new 2008 R2 machine and created an on-demand publishing point to point to my 2012 file share cluster. I created a windows account for my windows media service to run as and applied read only to my video share. Media services see
    the video files on the server in the GUI so I know its got connectivity, but when I go to test locally or externally it will not play the stream at all. It complains of access even know I know that is not the issue. I have verified the setup and the ACL
    stuff is turned off on both the root and the publishing point. I can login to the Media server as my service account and play files from the share no problem. IIS media services can stream the files with no problem and yeah everything seems more like something
    possibly with SMB 3.0 and something in media services.
    I have a country rule where my data is not allowed in other countries so I have multiple video services on a domain with tunnels and what not my US Streaming services is working great but has a server 2008 R2 file cluster server. If I take that one to my
    out of the country publishing point to test it streams great as they use the same services account. If I take my out of the country file share to the US I get the same result just will not work. I have poke prodded and banged my head and since I get this result
    I have concluded it must be something with the new security of SMB 3.0.
    Does anyone have this working or tested? Also I am using the exact same video file to test all of this. Or is there secret I missed to either make smb 3.0 even more compatible or make streaming services play nice.
    Anything helps please let me know.
    Thanks,
    Adam

    I'd recommend calling in for support on this one.  Things aren't adding up.  Probably the most useful thing to do would be to do a network trace of the WMS server connecting to the remote server over SMB.

  • How to connect a web upload form(for video uploads) to Azure Storage / Media services?

    Hi I have a form on my Joomla site (see image under for viewers to upload and send me their videos, images and info.
    Question: 
    1.Instead of receiving this form content via email,  I just need a
    HTML and/or PHP code with tags code so I can send the content viewers give me (videos with up to 500MB) directly into my existing Azure blob.
    Seems I can also direct the form to a any database... They gave me this code sample but it was for AWS
    https://www.chronoengine.com/faqs/63-cfv4/cfv4-working-with-form-data/5196-can-i-save-files-to-aws.html
    Therefore they suggested me to reach out to Azure devs.
    I don't code so please show me the exact code HTML and/or PHP code to connect my "pre-built forms" with Azure Storage/Media services.
    kd9000

    You may refer the following links which may help you in building forms to direct to azure table/blob storage:
    http://www.joshholmes.com/blog/2010/04/15/creating-a-simple-php-blog-in-azure/
    http://stackoverflow.com/questions/27464839/use-form-post-php-to-upload-a-file-to-azure-storage-and-return-the-link
    Regards,
    Manu

  • Media URL expiration and IP restriction when using Azure CDN

    Hi
    Is anyone tried to use Azure CDN mapped to storage used for media streaming?
    In my media account I have IP restiction for my org + I am setting timeout for the URL to be public.
    Will those rules still going to work for accessing the media via the CDN?
    If not - are those features availabe for the Azure CDN?

    hi,
    Currently, seamless CDN integration is not a feature of Microsoft Azure Media Services, but you can utilize one of the CDN providers on the market (see this link
    http://msdn.microsoft.com/en-us/library/dn610353.aspx ).

  • How to upload to Azure Media Services when using HTML5 with Web API

    I keep finding examples demonstrating how to upload video to Azure Media Services through a console application.  I am developing an application using HTML5 with angularjs and web api, but am having trouble finding an example for uploading when you
    are getting the file from a form on a web browser.  The main issue I find is that I see a way to upload from a file path and no way to upload from a stream.  I would like to upload the file to blob storage and then associate the file in blob storage
    with the IAssetFile object, which is then associated with IAsset.  It this possible and if so can you point me in the direction of some tutorials that demonstrate this?  Also, I am allowing site members to upload videos and images.  For this
    images scenario, I saw doc. demonstrating how to start a job that will save the image into a different size, what if I need four different sizes for each image uploaded?

    Hi,
    the following example shows how to upload a stream into a blob and associate the blob with an asset: https://code.msdn.microsoft.com/How-to-upload-a-stream-to-d2750102.
    thanks,
    Julia
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Does Azure Media services support storing images?

    Hi,
    We are planning to store the media files in azure cloud, initially we planned to use the Azure blob storage and after deeply investigating we found the Azure media services has some outstanding capabilities  like streaming offline viewing etc. compared
    to azure blob storage.
    So here my question, does this supports storing the images as well?Please confirm this ASAP.
    I read the some article about media services, there it has been given like below, but Just i want to confirmation about this.
    Supported file types in Azure Media Services
    Various video, audio, and image file types can be uploaded to a Media Services account, with there being no restriction on the types or formats of files that you can upload using the Media Services SDK. However, the Azure Management portal restricts uploads
    to the formats that are supported by the Azure Media Encoder. These import formats include MPEG-1, MPEG-2, MPEG-4, and Windows Media Video encoded video, MP3, WAVE, and Windows Media Audio encoded audio, and BMP, JPEG, and PNG encoded images. The Azure Media
    Encoder can export data as Windows Media Video, Windows Media Audio, MP4, and Smooth Streaming File Format.
    For more information about the supported file formats see "Supported input formats" and "Introduction to encoding."
    Thanks,
    Kiran

    Hi John,
    One more Question here.
    As of now we are planning to store and retrieve only the images and audio files with media services, so can I avoid encoding and packaging and use it?Will it work?
    Can I access the  images and audio files without encoding and packaging?
    In future, we are are planning to add the videos as well.
    I think encoding and packaging will come into picture when streaming the videos.
    Thanks,
    Kiran

Maybe you are looking for

  • Help with Bold/Italic CSS in EPUB export

    I generate EPUB files from the print version of my InDesign books. Because I want the best possible experience for readers on various devices, I always take time to clean up and optimize the XHTML and images, since I do understand that reflowable eBo

  • How to enable my ipad air..

    how to enable ipad air...??can somebody help me..

  • Which NetWeaver supports JDK1.5

    Hi, Is there any NetWeaver system, or Enterprise Portal, supports JDK1.5? I've built a repository manager using jdk1.5 and tried to upload it into my EP, which is SAP NetWeaver 2004s SR2 (SP9) downloaded from https://www.sdn.sap.com/irj/sdn/downloadi

  • Drag-n-drop in applet....

    Hi everybody! I really hope someone might be able to help me with this!! I have an applet with a GUI. In the GUI I have a JTree and a "working area" (JPanel). I want the user to be able to select a component in the tree and drag it onto the area. Whe

  • Trying efficient sql

    I have a table with 3 columns f1 c1 val 1 3 E 1 3 W 1 3 E 3 4 E 4 5 W I am trying to write a query like find DISTINCT values of "val" field for "f1" and "C1" fields. If it returns both "E" and "W" just display "BOTH" or if it "E" write EVENT or it it