asp.net mvc 4 - How to upload container wav file to encoder for converstion to mp4? -
i have been using samples microsoft site doing conversion wav mp4 sample given below.
iasset singlewmvasset = createassetanduploadsinglefile(assetcreationoptions.none, _singleinputwavpath);
// encodetoh264 creates job 1 task // converts mezzanine file (in case interview1.wmv) // mp4 file (in case, "h264 broadband 720p"). iasset mp4asset = createencodingjob(singlewmvasset, "h264 broadband 720p"); // buildsasurlformp4file creates sas locator // , builds sas url can used // progressively download mp4 file. string fullsasurl = buildsasurlformp4file(mp4asset);
however, here _singleinputwavpath expects file local path. works when take path local. however, wav file upload in azure container make encoding work stored container.
is there possibility of using asp .net mvc code retrieve container , convert compatible format , pass , create encoding job?
will need @ creating cloud service , implement mechanism?
please code sample provided here: http://code.msdn.microsoft.com/how-to-copy-an-existing-5ccaac3e/view/sourcecode. allows cope media asset existing azure storage account storage account attached media account.
Comments
Post a Comment