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.

Similar Messages

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

  • 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

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

  • Can we edit the uploaded video in Azure Media Service?

    I am using Azure Media Service to store and live streaming.
    But I am not able to edit the uploaded/live video in Azure Media Service.
    Can I use any editing tool on web browser?
    Please provide a solution.
    Its a very urgent.
    Thanks,
    Hema
    hema

    Hi,
    I am not sure what content you want to edit; however if you want to insert Ads in your media content then Media services support this feature
    Please refer following
    https://msdn.microsoft.com/library/azure/dn387398.aspx
    https://msdn.microsoft.com/en-us/library/azure/dn387403.aspx
    http://stackoverflow.com/questions/21570957/simple-video-editing-in-azure-net
    hope this helps

  • How can I create music streaming service using azure media services?

    Hi, I'm still new to azure, after doing some research and testing, I found out that Azure don't support music streaming where mp3 song uploaded weren't supported.
    Just wondering, is it true or is there any ways that I can deploy music streaming service something like spotify do but not that advance? I'm trying on a school based project. Thanks for the guides and I really appreciate it! 

    It really depends on what you mean in your case by "Streaming".  Is there a specific streaming protocol that you are looking to support?  Remember that "streaming" is different from just progressive download of a file from a
    web server.  If you are looking to just "download and play" an mp3 file, blob storage works just fine.  If you have a requirement for an actual streaming protocol like MPEG-DASH, or Apple HLS, then Azure Media Services can help. 
    If you are streaming content to an iOS device that is longer than 5 minutes in duration, Apple prefers that you use their HLS protocol.   It can handle audio only streams.
    For streaming in Azure Media Services, you can encode you media into a single MP4 audio file and then request the Streamig URL to play it back in either HLS or MPEG-DASH format depending on which client you are targeting. 
    To play it back in MPEG-DASH, use the latest DASH.js player.

  • 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

  • Connect to Azure media service using smartphones

    Hi,
    I am new to windows azure.
    How can i upload video to azure media services using smartphone and also do live streaming on phone?
    Thanks,
    Krishna

    Hi Ananth,
    thank you, but this document does not help at all.
    We are using Crystal Reports 2008 SP2.
    We want to use the Web Service Connector.
    What I need is more informationen about the Web service connect. For example - the connection in Microsoft InfoPath is much easier - there I don't have to enter a port and can choose the methods from a list.
    Is it possible to use the Crystal web service connector for MS SharePoint Webservices?
    Or must I use the Crystal SDK to carry out a connection?
    Best regards,
    Sebastian

  • Issue while playing the content of Azure Media Services after deleting the channel.

    Hi,
    We are having the issue while playing the content of Azure Media Services after deleting the channel.
    Please find detail scenarios below:
    We have done live streaming of an event using Azure Media Services, event was around 5-6 hrs. After completion of event channel was deleted, when we checked content data
    it was only 1hr. Content has only last 1 hr. recording, we are unable to get full recoding.
    We divided event into two parts to avoid above issue. After completion of 1st part which was of 2 hrs., we stopped the streaming and deleted the channel. New channel was
    created and streaming was started for 2<sup>nd</sup> part, after completion of event channel was deleted. Now we are unable to play the content data for 1st part but able to play the 2nd part of event through content publish URL.
    We have done streaming of 3 hrs. event on 18th April with same process and full recoding was available. 
    Can you let me know what might be the issue?

    Hi,
    Please refer to Justin’s blog and see if it helps:
    http://www.justinkobel.com/post/2012/04/30/SharePoint-2010-Claims%E2%80%93Operation-is-not-valid-due-to-the-current-state-of-the-object.aspx
    As suggested by Alex, please provide more information about your process of changing password.
    Here is an article for updating passwords on SharePoint 2010:
    http://blogs.technet.com/b/seanearp/archive/2011/01/25/updating-passwords-on-sharepoint-2010.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Azure Media Services for IE

    Hi everyone, I am using azure media services to provide a training course via web. I encoded mp4 into ism.manifest and I also used dash.all.js to play videos. The problem is that on win7 computers with IE I cannot play these files. I tried with different
    encoding formats but it was unsuccessfully. May you help me?

    Hi Yan,
    thanks for your fast reply. I tried and it works... how can I play the video on my azure website?
    Thanks!

  • 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

  • Windows Azure Media Services

    Hi,
    Is it possible to stream video from Windows Azure Media Services?
    Thanks.

    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

  • Record rtsp streams with azure media services

    Hello.
     I see that Azure media service now has rtsp streaming support, but, as I understand, it can stream videos from azure, but what about recording of incoming rtsp streams? Is it possible to record rtsp streams with Azure media Service?
    Andrey

    Quick correction for you... We support RTMP.  Not RTSP.
    You can send a live RTMP stream to us and we will record it.  You just need to enable a live Channel and start a Program on it.  It will archive the live stream to storage so that you can play it back as VOD.

  • 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

  • How to upload a file in BPEL Console Using JSP in JDeveloper, pleae........

    I am very new to this JDeveloper & BPEl Process , please could some one help in ersolving my problem that is , how to upload a file in BPEL Console Using JSP in JDeveloper.

    Hi,
    ADF Faces provides you with the file upload component
    http://download-uk.oracle.com/docs/html/B25947_01/web_complex006.htm#CEGCEDHF
    http://download-uk.oracle.com/docs/html/B25947_01/appendixa007.htm#CHDEDCFA
    This gives you a handle to the file content. However, uploading files through a service is different and I suggest to consult teh BPEL forum for this BPEL
    Frank

Maybe you are looking for

  • New iPod touch 5th generation 32 Gb is not recognized by my computer

    I just got a new iPod 5th generation, and I want to get all the music from my previous iPod that I had stored on iTunes on my computer. However, my copmuter doesn't recognize my iPod. I tried restarting the iPod and then plugging it in, but nothing c

  • Word graphics changes postion when upgrading from 2007 to 2013

    Hello, We have a large number of letters created in word 2007, with a first page header containing a logo. It is positioned on the page by giving xx cm absolute position relative/vertical to the page. When opening these documents in word 2013 the log

  • Check-in problem

    Hello guys! I have a nokia N8-00 and when i check-in it seems that it appears in private.I want it tot be public.I tried to find the settings but I didn't manage it.I would appreciate it if you could help me.Greetings from Romania.

  • Co-ordinates of active page in active doc

    I want to get the co-ordinates on the page, for the center of the active document screen. Also which page it is. Thanks in advance for any help on my first acrobat tryout (though I have done quite a bit of InDesign Scripting)

  • Scaling photos into Light Box or Slide show

    I will look for a tutorial on this but... I dont seem to be able to find a way that images (photos) of different sizes can be  correctly displayed to size and proportion in a Light Box or Slide Show. I have tried the "fit" and proportion" options to