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/

Similar Messages

  • Itunes plays purchased HD videos fine, but constantly stalls while trying to play home created videos converted to the same file format and bit rate?

    Itunes plays purchased HD videos fine, but constantly stalls while trying to play home created videos converted to the same file format and bit rate.
    System specs
    Win 7pro x64
    ATI 5830
    Phenom x6 1055t
    8gigs ram
    1tb 7200rpm sata hdd
    500 gig 5400 rpm sata hdd

    Itunes plays purchased HD videos fine, but constantly stalls while trying to play home created videos converted to the same file format and bit rate.
    System specs
    Win 7pro x64
    ATI 5830
    Phenom x6 1055t
    8gigs ram
    1tb 7200rpm sata hdd
    500 gig 5400 rpm sata hdd

  • Is there any way I can convert a song in MP4 format to MP3 so it will play on my car radio?

    How can I convert a song in MP4 format to MP3 format so it will play on my car radio?

    Yes, go to Preferences in iTunes, set the Import setting under the General tab to use MP3. Then select the tracks you want to convert, now you should see a choice in the File menu called 'Create New Version' with a sub-choice of MP3.

  • 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

  • Windows Azure Cloud Service with MVC4WebRole template giving "Not running in a hosted service or the Development Fabric." Error.

    Azure SDK used - 1.7 & 2.0
    When we create new project for Windows Azure Cloud Service with MVC4WebRole template & try to run it locally its giving error as "Not running in a hosted service or the Development Fabric."
    We are aware that making Azure project as start up project will resolve this error but we want to run the application locally before testing it with cloud.
    It’s not working with Cassini so we have tried with IIS but still it’s giving the same error.
    In another project when we added ASP.Net MVC4 Application & then for that project we have generated the Azure cloud service project using "Add Windows Azure Cloud Service Project". By this way debugging it locally works fine.
    Is there something additional settings present in Windows Azure Cloud Service with MVC4WebRole template which is causing this issue?

    hello,
    According your description, I try to reproduce it in my PC.
    >1. I create a could project and add a MVC4 web role into project.
    >2. I set the azure project as a start project and run, it works fine.
    >3. I change the MVC4 web role as a startup project and run, it works fine too. Of course before this, I exited the Azure Simulator.
    But this project was a empty project. It didn't included azure DLL file, such as Diagnostics file. So I think you could comment out the "system.diagnostics" node and try again. Also, you could refer to this same thread:http://stackoverflow.com/questions/13879443/not-running-in-a-hosted-service-or-the-development-fabric-production-not-debug
    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.

  • Error when calling Get-AzureBiztalkService from Windows Azure BizTalk Services Management Sample

    I've downloaded and built the Windows Azure BizTalk Services Management Sample from
    https://code.msdn.microsoft.com/windowsazure/Windows-Azure-BizTalk-91e1bdf3
    I've imported the module into PowerShell and have run the following script successfully
    $sub = '<subscription id>'
    $cert = get-childitem -path cert:\CurrentUser\My\<certifcate thumbprint>
    Set-AzureSubscription -SubscriptionName "Test" -SubscriptionId $sub -Certificate $cert
    select-azuresubscription -SubscriptionName "Test"
    replacing <subscription id> with my Azure subscription id from the portal and <certifcate thumbprint> with a thumbprint from a self signed certificate in my personal store.
    am now trying the following command
    get-azurebiztalkservice -resourcename "oraman8"
    where "oraman8" is my BizTalk Service and getting the following
    Get-AzureBizTalkServiceProperties : Error in subscription or certificate.
    At line:1 char:1
    + Get-AzureBizTalkServiceProperties -ResourceName "oraman8"
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidData: (:) [Get-AzureBizTalkServiceProperties], Exception
        + FullyQualifiedErrorId : Microsoft.WindowsAzure.Management.BizTalkService.GetAzureBizTalkServiceProperties
    thanks in advance for any help
    Omar

    Are you not using port 1433 for SQL? Is the telnet successful on that port?

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

  • Converting File Content.Unexpected XML format

    Hello,
    I need to convert file content in File Receiver Adapter.
    In my opinion, i have unexpected XML format of a payload message. (At least, the format does not contain a structure element):
    That is,
    I have the XML message:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_BW ID="123" BirthDay="20/03/1969" Title="consultant" Name="John" LastName="Smith" xmlns:ns0="http://sap.com/xi/BASIS"/>
    I need to convert it into plane text format with fieldseparator.
    How to convert this xml message into plane text format if it does not contain any structure elements  (that is, <struc1>  <field1>value</field1>  </struc1>) according to help guide?
    How should i configure RecordSet in File Adapter?
    I am confused.
    Thank you

    Igor,
    Are u getting the format from the source?
    <ns0:MT_BW ID="123" BirthDay="20/03/1969" Title="consultant" Name="John" LastName="Smith" xmlns:ns0="http://sap.com/xi/BASIS"/>
    If yes, then create one more data type with structure
    <Record>
    <ID/>
    <BirthDay/>
    <Title/>
    <Name/>
    <LastName/>
    </Record>
    And do direct mapping. So now you can easily configure the content conversion for the target format isn't it?
    Its my thought, I don't know whether its feasible for you or not..
    raj.

  • How to convert table content into html format?

    Hi,
    Experts,
    How to convert internal data into HTML format is there any function module or piece of code to download content into HTML.
    Thank u,
    Shabeer Ahmed.

    Then use this code....
    REPORT  ytest_table_html1.
    *        D A T A   D E C L A R A T I O N
    *-HTML Table
    DATA:
      t_html TYPE STANDARD TABLE OF w3html WITH HEADER LINE,
                                           " Html Table
    *- Declare Internal table and Fieldcatalog
      it_flight TYPE STANDARD TABLE OF sflight WITH HEADER LINE,
                                           " Flights Details
      it_fcat TYPE lvc_t_fcat WITH HEADER LINE.
                                           " Fieldcatalog
    *-Variables
    DATA:
      v_lines TYPE i,
      v_field(40).
    *-Fieldsymbols
    FIELD-SYMBOLS: <fs> TYPE ANY.
    *        S T A R T - O F - S E L E C T I O N
    START-OF-SELECTION.
      SELECT *
        FROM sflight
        INTO TABLE it_flight
        UP TO 20 ROWS.
    *        E N D - O F - S E L E C T I O N
    END-OF-SELECTION.
    *-Fill the Column headings and Properties
    * Field catalog is used to populate the Headings and Values of
    * The table cells dynamically
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name       = 'SFLIGHT'
        CHANGING
          ct_fieldcat            = it_fcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2.
      DELETE it_fcat WHERE fieldname = 'MANDT'.
      t_html-line = '<html>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<thead>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<tr>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<td><h1>Flights Details</h1></td>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '</tr>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '</thead>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<table border = "1">'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<tr>'.
      APPEND t_html.
      CLEAR t_html.
    *-Populate HTML columns from Filedcatalog
      LOOP AT it_fcat.
        CONCATENATE '<th bgcolor = "green" fgcolor = "black">'
            it_fcat-scrtext_l
            '</th>' INTO t_html-line.
        APPEND t_html.
        CLEAR t_html.
      ENDLOOP.
      t_html-line = '</tr>'.
      APPEND t_html.
      CLEAR t_html.
      DESCRIBE TABLE it_fcat LINES v_lines.
    *-Populate HTML table from Internal table data
      LOOP AT it_flight.
        t_html-line = '<tr>'.
        APPEND t_html.
        CLEAR t_html.
    *-Populate entire row of HTML table Dynamically
    *-With the Help of Fieldcatalog.
        DO v_lines TIMES.
          READ TABLE it_fcat INDEX sy-index.
          CONCATENATE 'IT_FLIGHT-' it_fcat-fieldname INTO v_field.
          ASSIGN (v_field) TO <fs>.
          t_html-line = '<td>'.
          APPEND t_html.
          CLEAR t_html.
          t_html-line = <fs>.
          APPEND t_html.
          CLEAR t_html.
          t_html-line = '</td>'.
          APPEND t_html.
          CLEAR t_html.
          CLEAR v_field.
          UNASSIGN <fs>.
        ENDDO.
        t_html-line = '</tr>'.
        APPEND t_html.
        CLEAR t_html.
      ENDLOOP.
      t_html-line = '</table>'.
      APPEND t_html.
      CLEAR t_html.
    *-Download  the HTML into frontend
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = 'C:\Flights.htm'
        TABLES
          data_tab                = t_html
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          OTHERS                  = 22.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    *-Display the HTML file
      CALL METHOD cl_gui_frontend_services=>execute
        EXPORTING
          document               = 'C:\Flights.htm'
          operation              = 'OPEN'
        EXCEPTIONS
          cntl_error             = 1
          error_no_gui           = 2
          bad_parameter          = 3
          file_not_found         = 4
          path_not_found         = 5
          file_extension_unknown = 6
          error_execute_failed   = 7
          synchronous_failed     = 8
          not_supported_by_gui   = 9
          OTHERS                 = 10.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    none of the above function modules r obsolete...

  • How do I move just a single clip in the project file and then convert that into an Mp4 format?

    Dear Assistance,
    I have a project file open.
    At the bottom  of the screen there is a horizontal film strip of images.  I have cut the images into certain segments.
    I want to select one single segment (about 1 min long) and convert only that selected segment into a mp4 format?
    Kindly inform me how the best way to go about doing that is.
    Thank you,
    Ben
    [email protected]

    In the sequence you will see the time code and a bar in line with it.
    At the end of all your edited clips in the sequence you will find that the bar ends, this bar defines the work area. 
    Drag each end of the work area bar so it covers only the clip you want to export.
    The select the exporter and select the preset you want and before you start the export where it says whole sequence change this to work area
    Then change the default name and location to whatever you want and start the export, job done

  • Converting a video to MP4 format

    Good morning.
    I have a video on my mini that I want to shrink down in size and put into MP4 format. If I use Handbrake and convert it keeping the aspect ratio the same and not changing any of the height and width numbers, will the resulting file still show correctly on my widescreen tv, the same as the original did?
    Thanks.

    Good morning.
    I have a video on my mini that I want to shrink down
    in size and put into MP4 format. If I use Handbrake
    and convert it keeping the aspect ratio the same and
    not changing any of the height and width numbers,
    will the resulting file still show correctly on my
    widescreen tv, the same as the original did?
    Thanks.
    In my experience movies I compress to mp4 play in the same apsect ratio on my widescreen HDTV.

  • Create URL for image content and display in new window

    Hi,
    I am attaching a new image and it is displayed in a table view.
    I am having problems creating the URL for the image.
    When i give the link of external site like http://www.google.com, it works fine. It does not work when i give as www.google.com.
    It does not work for the image. Please help.
      ls_properties-name         = 'KW_RELATIVE_URL'.
      ls_properties-value        = lv_imgname.
      APPEND ls_properties TO lt_properties.
      ls_properties-name         = 'LANGUAGE'.
      ls_properties-value        = sy-langu.
      APPEND ls_properties TO lt_properties.
    Assign file properties
      ls_file_access_info-binary_flg = 'X'.
      ls_file_access_info-file_name  = lv_imgname.
      ls_file_access_info-mimetype   = 'image/pjpeg'.
      ls_file_access_info-property   = lv_string2.
      APPEND ls_file_access_info TO lt_file_access_info.
    Move content to file_content
      lv_str = lv_img_content.
      lv_strlen   = XSTRLEN( lv_str ).
      lv_offset   = 1022.
      lv_bytes_rd = 0.
      lv_bytes_rm = lv_strlen.
      ASSIGN lv_str TO <fs>.
      WHILE lv_bytes_rd LT lv_strlen.
        IF  lv_bytes_rm LT lv_offset.
          ls_content-line = <fs>+lv_bytes_rd(lv_bytes_rm).
        ELSE.
          ls_content-line = <fs>+lv_bytes_rd(lv_offset).
        ENDIF.
        APPEND ls_content TO lt_content.
        lv_bytes_rd = lv_bytes_rd + lv_offset.
        lv_bytes_rm = lv_strlen - lv_bytes_rd.
        CLEAR ls_content.
      ENDWHILE.
    Create a Document using class CL_CRM_DOCUMENTS
      CALL METHOD cl_crm_documents=>create_with_table
        EXPORTING
          business_object     = ls_business_object
          properties          = lt_properties
          file_access_info    = lt_file_access_info
          file_content_binary = lt_content
          raw_mode            = 'X'
        IMPORTING
          loio                = ls_loio
          phio                = ls_phio
          error               = ls_error.
    Using the logical and physical id's, get the file location as an URL
    data:
    lv_no type char1 value '1'.
        CALL METHOD cl_crm_documents=>get_with_url
          EXPORTING
            loio     = ls_loio
            phio     = ls_phio
            url_type = '2'
          IMPORTING
            error    = ls_error
            url      = lv_url1.
    should i prefix the url with 'javascript:'?
    Thanks in advance.
    Regards
    Shanthi

    Hi Shanti,
    The URLs that are external to the server, you should always have http://, your image URL is has http:// prefix? Other wise system will always look for the same inside the current BSP application. For Example your BSP application is ZBSP and if you are accessing www.google.com the URL in the browser will be
    *******/bsp/ZBSP/www.google.com which will not be existing, hence causing the problem.
    If not try adding http:// to the URL by concatenation and try.
    Regards,
    Ravi

  • Converting DVD content to Quicktime format

    I have a DVD that won't play in our standalone DVD player but it will play in the Mac. Is there any way to convert this DVD material into quicktime? Or anything that will allow it to be imported into Final Cut Pro. Thanks!

    Yes.
    http://www.squared5.com/svideo/mpeg-streamclip-mac.html
    You may need additional codecs (DivX) and the MPEG-2 Playback Component.
    Export from Streamclip to DV Stream. This .dv file can be opened by any DV editor.

  • How to convert VHDX to VHD file format on windows 8 / Windows server 2012?

    Here is an article to describe how to convert virtual hard disk VHDX file format to VHD 
    http://anuraggawande.blogspot.in/2012/10/vhdx-to-vhd-conversion.html

    Hi,
    Thanks for sharing the web link!
    You help other community members who facing similar problems.
    Thanks for your contribution to Windows Server Forum!
    To convert VHD format, you can also use Convert-VHD comlet. The Convert-VHD cmdlet converts a virtual hard disk file by copying the data from a source virtual hard disk file to a new virtual hard disk file of a specified format and version type. The format
    is determined by the file extension of the specified files, either .vhdx or .vhd. Conversion is an offline operation; the virtual hard disk must not be attached when the operation is started.
    For more information please refer to following MS articles:
    Convert-VHD
    http://technet.microsoft.com/en-us/library/hh848454.aspx
    Windows Server 2012: Convert VHD to VHDX using Hyper-V Manager
    http://blogs.technet.com/b/aviraj/archive/2012/05/06/windows-server-2012-convert-vhd-to-vhdx-using-hyper-v-manager.aspx
    Using PowerShell to Convert a VHD to a VHDX
    http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/10/03/using-powershell-to-convert-a-vhd-to-a-vhdx.aspx
    PS - Convert VHD
    http://gallery.technet.microsoft.com/scriptcenter/1dd3c524-e4e6-44cd-9573-406151237139
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Lawrence
    TechNet Community Support

  • Converting recorded webinar to MP4

    Forgive me if I'm in the wrong place, in which case please redirect me.
    I'm helping some associates who have recently conducted a webinar with WebEx (I have no idea about the services they're subscribed to).
    They then provided a link for people to watch the recording they created, which was recorded through features that WebEx provides. The recorded playback viewer is small -- it's a few inches wide and is the same width as the control panel (proper term?) that shows the names of all the attendees etc. The viewer is underneath the control panel.
    They want to be able to provide it in a larger format for their audience.
    I recorded the event with Camtasia Studio and am prepared to provide it to them from that recording.
    However, I see that WebEx offers a process whereby the hosts can convert their recording to MP4 format. I believe this would be the procedure:
          https://support.webex.com/MyAccountWeb/knowledgeBase.do?root=Tools&parent=Knowledge
          Search for article ID: WBX54330
    Assuming they have the ability to do what it describes, can you please tell me if the result will be a larger format than the small video they're sharing now and, if so, how big it can be?
    And, if it will be larger, are there any additional insights you can point me to so that I can help guide them? And can you maybe please help me explain to them how to obtain the minimum subscription level that's needed?
    And is there any chance I can do that converting for them on my end? (I'm a PC user. They're on Mac.) I have nothing but the entry-level registrations. What else would I need?
    Thanks so much!

    If the file would even be able to be converted, you could probalby watch it.
    (12086)

Maybe you are looking for

  • Groups Based On SubGroup Totals

    I'm wondering, without doing a subreport, if you can have Groups that are based on values within subgroups. For example: g:  Warehouse A d:     Item # subtotal:  Count of Item # for Warehouse A g:  Warehouse B d:     Item # subtotal:  Count of Item #

  • Export a PDF with Acrobat Layers

    How do you do this via scripting? In the normal InDesign PDF export UI, this is referred to as "Create Acrobat Layers" and is only enabled for Acrobat version 6+

  • When the Weblogic 6.1 Admin Server crashes.

    Hi there! I'm using weblogic server 6.1 sp1 on windows 2000. I have one adminserver en a two managed servers. The two managed server are a cluster. My question is : Can i rebuild the admin server on an other machine when the machine where the admin s

  • Exporting using Compressor

    This seems to be the same problem others have had. I was able to export with Compressor yesterday, but September 12th seems to be error date with Compressor. When I export, from FCP Studio 5 to Compressor I get a " File error: A File of this name alr

  • Variant for multiple reports

    Hi Experts, Does anyone know if it's possible to create variants that serve for multiple reports?  If so, how? I have 10 very similar reports which use the same selection screen defined in an include for all of them. Regards, Simon