Metadati di outputOutput Metadata

PanoramicaOverview

Un processo di codifica è associato uno (o più) asset di input in cui si desidera eseguire alcune attività di codifica.An encoding job is associated with an input asset (or assets) on which you want to perform some encoding tasks. Ad esempio, codificare un file MP4 in set di velocità in bit adattivi MP4 H.264; creare un'anteprima; creare le sovrimpressioni.For example, encode an MP4 file to H.264 MP4 adaptive bitrate sets; create a thumbnail; create overlays. Al termine di un'attività, viene generato un asset di output.Upon completion of a task, an output asset is produced. L'asset di output contiene video, audio, anteprime e così via. L'asset di output include anche un file contenente i metadati dell'asset di output.The output asset contains video, audio, thumbnails, etc. The output asset also contains a file with metadata about the output asset. Il nome del file XML dei metadati ha il seguente formato: <nome_file_origine>_manifest.xml (ad esempio BigBuckBunny_manifest.xml).The name of the metadata XML file has the following format: <source_file_name>_manifest.xml (for example, BigBuckBunny_manifest.xml).

Se si desidera esaminare il file di metadati, è possibile creare un localizzatore SAS e scaricare il file nel computer locale.If you want to examine the metadata file, you can create a SAS locator and download the file to your local computer.

In questo argomento vengono descritti gli elementi e i tipi di schema XML su cui si basato i metadati di output (<nome_file_origine>_manifest.xml).This topic discusses the elements and types of the XML schema on which the output metada (<source_file_name>_manifest.xml) is based. Per informazioni sul file contenente i metadati sull'asset di input, vedere Input Metadata (Metadati di input).For information about the file that contains metadata about the input asset, see Input Metadata.

Nota

Il codice schema completo e un esempio di codice XML sono disponibili alla fine di questo argomento.You can find the complete schema code and XML example at the end of this topic.

Elemento radice AssetFilesAssetFiles root element

Raccolta di elementi AssetFile per il processo di codifica.Collection of AssetFile entries for the encoding job.

Elementi figlioChild elements

NomeName DescrizioneDescription
AssetFileAssetFile

minOccurs="0" maxOccurs="1"minOccurs="0" maxOccurs="1"
Un elemento AssetFile incluso nella raccolta AssetFiles.An AssetFile element that is part of the AssetFiles collection.

Elemento AssetFileAssetFile element

Consultare l'esempio di codice XML disponibile.You can find an XML example XML example.

AttributiAttributes

NomeName TipoType DescrizioneDescription
NomeName

ObbligatorioRequired
xs:stringxs:string Il nome dell'asset di file multimediale.The media asset file name.
DimensioneSize

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs:longxs:long Dimensioni del file di asset in byte.Size of the asset file in bytes.
DurationDuration

ObbligatorioRequired
xs:durationxs:duration Durata della riproduzione del contenuto.Content play back duration.

Elementi figlioChild elements

NomeName DescrizioneDescription
SourcesSources Raccolta di file multimediali di input/origine elaborata per produrre questo AssetFile.Collection of input/source media files, that was processed in order to produce this AssetFile. Per altre informazioni, vedere Elemento di origine.For more information, see Source element.
VideoTracksVideoTracks

minOccurs="0" maxOccurs="1"minOccurs="0" maxOccurs="1"
Ogni elemento AssetFile fisico può contenere da zero a più tracce video con interfoliazione in un formato contenitore appropriato.Each physical AssetFile can contain in it zero or more video tracks interleaved into an appropriate container format. Questa è la raccolta di tutte queste tracce video.This is the collection of all those video tracks. Per altre informazioni, vedere Elemento VideoTracks.For more information, see VideoTracks element.
AudioTrackAudioTracks

minOccurs="0" maxOccurs="1"minOccurs="0" maxOccurs="1"
Ogni elemento AssetFile fisico può contenere da zero a più tracce audio con interfoliazione in un formato contenitore appropriato.Each physical AssetFile can contain in it zero or more audio tracks interleaved into an appropriate container format. Questa è la raccolta di tutte queste tracce audio.This is the collection of all those audio tracks. Per altre informazioni, vedere Elemento AudioTracks.For more information, see AudioTracks element.

Elemento SourcesSources element

Raccolta di file multimediali di input/origine elaborata per produrre questo AssetFile.Collection of input/source media files, that was processed in order to produce this AssetFile.

Consultare l'esempio di codice XML disponibile.You can find an XML example XML example.

Elementi figlioChild elements

NomeName DescrizioneDescription
OrigineSource

minOccurs="1" maxOccurs="unbounded"minOccurs="1" maxOccurs="unbounded"
Un file di input/origine usato durante la generazione di questo asset.An input/source file used when generating this asset. Per altre informazioni, vedere Elemento di origine.For more information see Source element.

Elemento di origineSource element

Un file di input/origine usato durante la generazione di questo asset.An input/source file used when generating this asset.

Consultare l'esempio di codice XML disponibile.You can find an XML example XML example.

AttributiAttributes

NomeName TipoType DescrizioneDescription
NomeName

ObbligatorioRequired
xs:string xs:string Nome di file di origine di input.Input source file name.

Elemento VideoTracksVideoTracks element

Ogni elemento AssetFile fisico può contenere da zero a più tracce video con interfoliazione in un formato contenitore appropriato.Each physical AssetFile can contain in it zero or more video tracks interleaved into an appropriate container format. Questa è la raccolta di tutte queste tracce video.This is the collection of all those video tracks.

Consultare l'esempio di codice XML disponibile.You can find an XML example XML example.

Elementi figlioChild elements

NomeName DescrizioneDescription
VideoTrackVideoTrack

minOccurs="1" maxOccurs="unbounded"minOccurs="1" maxOccurs="unbounded"
Una specifica traccia video nell'elemento AssetFile padre.A specific video track in the parent AssetFile. Per altre informazioni, vedere Elemento VideoTracks.For more information, see VideoTrack element.

Elemento VideoTrackVideoTrack element

Una specifica traccia video nell'elemento AssetFile padre.A specific video track in the parent AssetFile.

Consultare l'esempio di codice XML disponibile.You can find an XML example XML example.

AttributiAttributes

NomeName TipoType DescrizioneDescription
IdId

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs:intxs:int Indice in base zero della traccia video. Nota: non corrisponde necessariamente al TrackID usato in un file MP4.Zero-based index of this video track. Note: This is not necessarily the TrackID as used in an MP4 file.
FourCCFourCC

ObbligatorioRequired
xs:stringxs:string Codice FourCC del codec video.Video codec FourCC code.
ProfiloProfile xs:string xs:string Profilo H264 (applicabile solo al codec H264).H264 profile (only applicable to H264 codec).
LevelLevel xs:string xs:string Livello H264 (applicabile solo al codec H264).H264 level (only applicable to H264 codec).
WidthWidth

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs:intxs:int Larghezza del video codificata in pixel.Encoded video width in pixels.
HeightHeight

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs:intxs:int Altezza del video codificata in pixel.Encoded video height in pixels.
DisplayAspectRatioNumeratorDisplayAspectRatioNumerator

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs:doublexs:double Numeratore delle proporzioni della visualizzazione video.Video display aspect ratio numerator.
DisplayAspectRatioDenominatorDisplayAspectRatioDenominator

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs:doublexs:double Denominatore delle proporzioni della visualizzazione video.Video display aspect ratio denominator.
FramerateFramerate

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs: decimalxs:decimal Frequenza dei frame misurata in formato .3F.Measured video frame rate in .3f format.
TargetFramerateTargetFramerate

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs: decimalxs:decimal Frequenza dei frame preimpostata misurata in formato .3F.Preset target video frame rate in .3f format.
BitrateBitrate

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs:intxs:int Velocità media in bit video in kilobit al secondo, calcolata in base all'elemento AssetFile.Average video bit rate in kilobits per second, as calculated from the AssetFile. Conta solo il payload del flusso elementare e non include il sovraccarico dovuto alla creazione di pacchetti.Counts only the elementary stream payload, and does not include the packaging overhead.
TargetBitrateTargetBitrate

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs:intxs:int Velocità media in bit mirata per la traccia video, come da set di impostazioni di codifica, in kilobit al secondo.Target average bitrate for this video track, as requested via the encoding preset, in kilobits per second.
MaxGOPBitrateMaxGOPBitrate

minInclusive ="0"minInclusive ="0"
xs:intxs:int Velocità media in bit Max GOP per la traccia video, in kilobit al secondo.Max GOP average bitrate for this video track, in kilobits per second.

Elemento AudioTrackAudioTracks element

Ogni elemento AssetFile fisico può contenere da zero a più tracce audio con interfoliazione in un formato contenitore appropriato.Each physical AssetFile can contain in it zero or more audio tracks interleaved into an appropriate container format. Questa è la raccolta di tutte queste tracce audio.This is the collection of all those audio tracks.

Consultare l'esempio di codice XML disponibile.You can find an XML example XML example.

Elementi figlioChild elements

NomeName DescrizioneDescription
AudioTrackAudioTrack

minOccurs="1" maxOccurs="unbounded"minOccurs="1" maxOccurs="unbounded"
Una specifica traccia audio nell'elemento AssetFile padre.A specific audio track in the parent AssetFile. Per altre informazioni, vedere Elemento AudioTrack.For more information, see AudioTrack element.

Elemento AudioTrackAudioTrack element

Una specifica traccia audio nell'elemento AssetFile padre.A specific audio track in the parent AssetFile.

Consultare l'esempio di codice XML disponibile.You can find an XML example XML example.

AttributiAttributes

NomeName TipoType DescrizioneDescription
IdId

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs:intxs:int Indice in base zero della traccia audio. Nota: non corrisponde necessariamente al TrackID usato in un file MP4.Zero-based index of this audio track. Note: This is not necessarily the TrackID as used in an MP4 file.
CodecCodec xs:stringxs:string Stringa del codec della traccia audio.Audio track codec string.
EncoderVersionEncoderVersion xs:stringxs:string Stringa facoltativa della versione del codificatore obbligatoria per EAC3.Optional encoder version string, required for EAC3.
ChannelsChannels

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs:intxs:int Numero dei canali audio.Number of audio channels.
SamplingRateSamplingRate

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs:intxs:int Frequenza di campionamento dell'audio in campioni/sec o Hz.Audio sampling rate in samples/sec or Hz.
BitrateBitrate

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs:intxs:int Velocità media in bit audio in bit al secondo, calcolata in base all'elemento AssetFile.Average audio bit rate in bits per second, as calculated from the AssetFile. Conta solo il payload del flusso elementare e non include il sovraccarico dovuto alla creazione di pacchetti.Counts only the elementary stream payload, and does not include the packaging overhead.
BitsPerSampleBitsPerSample

minInclusive ="0"minInclusive ="0"

ObbligatorioRequired
xs:intxs:int Tipo di bit per campione per il formato wFormatTag.Bits per sample for the wFormatTag format type.

Elementi figlioChild elements

NomeName DescrizioneDescription
LoudnessMeteringResultParametersLoudnessMeteringResultParameters

minOccurs="0" maxOccurs="1"minOccurs="0" maxOccurs="1"
Parametri di risultato della misurazione della sonorità.Loudness metering result parameters. Per altre informazioni, vedere Elemento LoudnessMeteringResultParameters.For more information, see LoudnessMeteringResultParameters element.

Elemento LoudnessMeteringResultParametersLoudnessMeteringResultParameters element

Parametri di risultato della misurazione della sonorità.Loudness metering result parameters.

Consultare l'esempio di codice XML disponibile.You can find an XML example XML example.

AttributiAttributes

NomeName TipoType DescrizioneDescription
DPLMVersionInformationDPLMVersionInformation xs:stringxs:string Versione del kit Dolby per lo sviluppo della misurazione professionale della sonorità (DPLM).Dolby professional loudness metering development kit version.
DialogNormalizationDialogNormalization

minInclusive="-31" maxInclusive="-1"minInclusive="-31" maxInclusive="-1"

ObbligatorioRequired
xs:intxs:int DialogNormalization generato tramite DPLM, obbligatorio quando è impostato LoudnessMetering.DialogNormalization generated through DPLM, required when LoudnessMetering is set
IntegratedLoudnessIntegratedLoudness

minInclusive="-70" maxInclusive="10"minInclusive="-70" maxInclusive="10"

ObbligatorioRequired
xs:floatxs:float Sonorità integrataIntegrated loudness
IntegratedLoudnessUnitIntegratedLoudnessUnit

ObbligatorioRequired
xs:stringxs:string Unità integrata della sonorità.Integrated loudness unit.
IntegratedLoudnessGatingMethodIntegratedLoudnessGatingMethod

ObbligatorioRequired
xs:stringxs:string Identificatore limite.Gating identifier
IntegratedLoudnessSpeechPercentageIntegratedLoudnessSpeechPercentage

minInclusive ="0" maxInclusive="100"minInclusive ="0" maxInclusive="100"
xs:floatxs:float Contenuto vocale presente nel programma, in percentuale.Speech content over the program, as a percentage.
SamplePeakSamplePeak

ObbligatorioRequired
xs:floatxs:float Valore di campionamento assoluto di picco per canale, dall'ultimo ripristino o dall'ultima cancellazione.Peak absolute sample value, since reset or since it was last cleared, per channel. Le unità sono espresse in dBFS.Units are dBFS.
SamplePeakUnitSamplePeakUnit

fixed="dBFS"fixed="dBFS"

ObbligatorioRequired
xs:anySimpleTypexs:anySimpleType Unità di picco di esempio.Sample peak unit.
TruePeakTruePeak

ObbligatorioRequired
xs:floatxs:float Valore massimo di picco effettivo per canale, come da ITU-R BS.1770-2, dall'ultimo ripristino o dall'ultima cancellazione.Maximum true peak value, as per ITU-R BS.1770-2, since reset or since it was last cleared, per channel. Le unità sono espresse in dBFS.Units are dBTP.
TruePeakUnitTruePeakUnit

fixed="dBTP"fixed="dBTP"

ObbligatorioRequired
xs:anySimpleTypexs:anySimpleType Unità di picco effettivo.True peak unit.

Codice schemaSchema Code

<?xml version="1.0" encoding="utf-8"?>  
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" version="1.2"  
           xmlns="http://schemas.microsoft.com/windowsazure/mediaservices/2013/05/mediaencoder/metadata"  
           targetNamespace="http://schemas.microsoft.com/windowsazure/mediaservices/2013/05/mediaencoder/metadata"  
           elementFormDefault="qualified">  
  <xs:element name="AssetFiles">  
    <xs:annotation>  
      <xs:documentation>Collection of AssetFile entries for the encoding job</xs:documentation>  
    </xs:annotation>  
    <xs:complexType>  
      <xs:sequence>  
        <xs:element name="AssetFile" minOccurs="1" maxOccurs="unbounded">  
          <xs:annotation>  
            <xs:documentation>asset file</xs:documentation>  
          </xs:annotation>  
          <xs:complexType>  
            <xs:sequence>  
              <xs:element name="Sources">  
                <xs:annotation>  
                  <xs:documentation>Collection of input/source media files, that was processed in order to produce this AssetFile</xs:documentation>  
                </xs:annotation>  
                <xs:complexType>  
                  <xs:sequence>  
                    <xs:element name="Source" minOccurs="1" maxOccurs="unbounded">  
                      <xs:annotation>  
                        <xs:documentation>An input/source file used when generating this asset</xs:documentation>  
                      </xs:annotation>  
                      <xs:complexType>  
                        <xs:attribute name="Name" type="xs:string" use="required">  
                          <xs:annotation>  
                            <xs:documentation>input source file name</xs:documentation>  
                          </xs:annotation>  
                        </xs:attribute>  
                      </xs:complexType>  
                    </xs:element>  
                  </xs:sequence>  
                </xs:complexType>  
              </xs:element>  
              <xs:element name="VideoTracks" minOccurs="0">  
                <xs:annotation>  
                  <xs:documentation>Each physical AssetFile can contain in it zero or more video tracks interleaved into an appropriate container format. This is the collection of all those video tracks</xs:documentation>  
                </xs:annotation>  
                <xs:complexType>  
                  <xs:sequence>  
                    <xs:element name="VideoTrack" maxOccurs="unbounded">  
                      <xs:annotation>  
                        <xs:documentation>A specific video track in the parent AssetFile</xs:documentation>  
                      </xs:annotation>  
                      <xs:complexType>  
                        <xs:attribute name="Id" use="required">  
                          <xs:annotation>  
                            <xs:documentation>zero-based index of this video track. Note: this is not necessarily the TrackID as used in an MP4 file</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:int">  
                              <xs:minInclusive value="0"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                        <xs:attribute name="FourCC" type="xs:string" use="required">  
                          <xs:annotation>  
                            <xs:documentation>video codec FourCC code</xs:documentation>  
                          </xs:annotation>  
                        </xs:attribute>  
                        <xs:attribute name="Profile" type="xs:string">  
                          <xs:annotation>  
                            <xs:documentation>H264 profile (only appliable for H264 codec)</xs:documentation>  
                          </xs:annotation>  
                        </xs:attribute>  
                        <xs:attribute name="Level" type="xs:string">  
                          <xs:annotation>  
                            <xs:documentation>H264 level (only appliable for H264 codec)</xs:documentation>  
                          </xs:annotation>  
                        </xs:attribute>  
                        <xs:attribute name="Width" use="required">  
                          <xs:annotation>  
                            <xs:documentation>encoded video width in pixels</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:int">  
                              <xs:minInclusive value="0"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                        <xs:attribute name="Height" use="required">  
                          <xs:annotation>  
                            <xs:documentation>encoded video height in pixels</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:int">  
                              <xs:minInclusive value="0"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                        <xs:attribute name="DisplayAspectRatioNumerator" use="required">  
                          <xs:annotation>  
                            <xs:documentation>video display aspect ratio numerator</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:double">  
                              <xs:minInclusive value="0"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                        <xs:attribute name="DisplayAspectRatioDenominator" use="required">  
                          <xs:annotation>  
                            <xs:documentation>video display aspect ratio denominator</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:double">  
                              <xs:minInclusive value="0"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                        <xs:attribute name="Framerate" use="required">  
                          <xs:annotation>  
                            <xs:documentation>measured video frame rate in .3f format</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:decimal">  
                              <xs:minInclusive value="0"/>  
                              <xs:fractionDigits value="3"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                        <xs:attribute name="TargetFramerate" use="required">  
                          <xs:annotation>  
                            <xs:documentation>preset target video frame rate in .3f format</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:decimal">  
                              <xs:minInclusive value="0"/>  
                              <xs:fractionDigits value="3"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                        <xs:attribute name="Bitrate" use="required">  
                          <xs:annotation>  
                            <xs:documentation>average video bit rate in kilobits per second, as calculated from the AssetFile. Counts only the elementary stream payload, and does not include the packaging overhead</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:int">  
                              <xs:minInclusive value="0"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                        <xs:attribute name="TargetBitrate" use="required">  
                          <xs:annotation>  
                            <xs:documentation>target average bitrate for this video track, as requested via the encoding preset, in kilobits per second</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:int">  
                              <xs:minInclusive value="0"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                        <xs:attribute name="MaxGOPBitrate">  
                          <xs:annotation>  
                            <xs:documentation>Max GOP average bitrate for this video track, in kilobits per second</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:int">  
                              <xs:minInclusive value="0"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                      </xs:complexType>  
                    </xs:element>  
                  </xs:sequence>  
                </xs:complexType>  
              </xs:element>  
              <xs:element name="AudioTracks" minOccurs="0">  
                <xs:annotation>  
                  <xs:documentation>each physical AssetFile can contain in it zero or more audio tracks interleaved into an appropriate container format. This is the collection of all those audio tracks</xs:documentation>  
                </xs:annotation>  
                <xs:complexType>  
                  <xs:sequence>  
                    <xs:element name="AudioTrack" maxOccurs="unbounded">  
                      <xs:annotation>  
                        <xs:documentation>a specific audio track in the parent AssetFile</xs:documentation>  
                      </xs:annotation>  
                      <xs:complexType>  
                        <xs:sequence>  
                          <xs:element name="LoudnessMeteringResultParameters" minOccurs="0" maxOccurs="1">  
                            <xs:annotation>  
                              <xs:documentation>Loudness Metering Result Parameters</xs:documentation>  
                            </xs:annotation>  
                            <xs:complexType>  
                              <xs:attribute name="DPLMVersionInformation" type="xs:string">  
                                <xs:annotation>  
                                  <xs:documentation>Dolby Professional Loudness Metering Development Kit Version</xs:documentation>  
                                </xs:annotation>  
                              </xs:attribute>  
                              <xs:attribute name="DialogNormalization" use="required">  
                                <xs:annotation>  
                                  <xs:documentation> DialogNormalization generated through DPLM, required when LoudnessMetering is set</xs:documentation>  
                                </xs:annotation>  
                                <xs:simpleType>  
                                  <xs:restriction base="xs:int">  
                                    <xs:minInclusive value="-31"/>  
                                    <xs:maxInclusive value="-1"/>  
                                  </xs:restriction>  
                                </xs:simpleType>  
                              </xs:attribute>  
                              <xs:attribute name="IntegratedLoudness" use="required">  
                                <xs:annotation>  
                                  <xs:documentation>Integrated loudness</xs:documentation>  
                                </xs:annotation>  
                                <xs:simpleType>  
                                  <xs:restriction base="xs:float">  
                                    <xs:minInclusive value="-70"/>  
                                    <xs:maxInclusive value="10"/>  
                                  </xs:restriction>  
                                </xs:simpleType>  
                              </xs:attribute>  
                              <xs:attribute name="IntegratedLoudnessUnit" use="required" type="xs:string">  
                              </xs:attribute>  
                              <xs:attribute name="IntegratedLoudnessGatingMethod" use="required" type="xs:string">  
                                <xs:annotation>  
                                  <xs:documentation>Gating identifier</xs:documentation>  
                                </xs:annotation>  
                              </xs:attribute>  
                              <xs:attribute name="IntegratedLoudnessSpeechPercentage">  
                                <xs:annotation>  
                                  <xs:documentation>Speech content over the program, as a percentage.</xs:documentation>  
                                </xs:annotation>  
                                <xs:simpleType>  
                                  <xs:restriction base="xs:float">  
                                    <xs:minInclusive value="0"/>  
                                    <xs:maxInclusive value="100"/>  
                                  </xs:restriction>  
                                </xs:simpleType>  
                              </xs:attribute>  
                              <xs:attribute name="SamplePeak" use="required" type="xs:float">  
                                <xs:annotation>  
                                  <xs:documentation>Peak absolute sample value, since reset or since it was last cleared, per channel.  Units are dBFS.</xs:documentation>  
                                </xs:annotation>  
                              </xs:attribute>  
                              <xs:attribute name="SamplePeakUnit" use="required" fixed="dBFS">  
                              </xs:attribute>  
                              <xs:attribute name="TruePeak" use="required" type="xs:float">  
                                <xs:annotation>  
                                  <xs:documentation>Maximum True Peak value, as per ITU-R BS.1770-2, since reset or since it was last cleared, per channel.  Units are dBTP.</xs:documentation>  
                                </xs:annotation>  
                              </xs:attribute>  
                              <xs:attribute name="TruePeakUnit" use="required" fixed="dBTP">  
                              </xs:attribute>  
                            </xs:complexType>  
                          </xs:element>  
                        </xs:sequence>  
                        <xs:attribute name="Id" use="required">  
                          <xs:annotation>  
                            <xs:documentation>zero-based index of this audio track. Note: this is not necessarily the TrackID as used in an MP4 file</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:int">  
                              <xs:minInclusive value="0"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                        <xs:attribute name="Codec" type="xs:string">  
                          <xs:annotation>  
                            <xs:documentation>audio track codec string</xs:documentation>  
                          </xs:annotation>  
                        </xs:attribute>  
                        <xs:attribute name="EncoderVersion" type="xs:string">  
                          <xs:annotation>  
                            <xs:documentation>optional encoder version string, required for EAC3</xs:documentation>  
                          </xs:annotation>  
                        </xs:attribute>  
                        <xs:attribute name="Channels" use="required">  
                          <xs:annotation>  
                            <xs:documentation>number of audio channels</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:int">  
                              <xs:minInclusive value="0"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                        <xs:attribute name="SamplingRate" use="required">  
                          <xs:annotation>  
                            <xs:documentation>audio sampling rate in samples/sec or Hz</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:int">  
                              <xs:minInclusive value="0"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                        <xs:attribute name="Bitrate" use="required">  
                          <xs:annotation>  
                            <xs:documentation>average audio bit rate in bits per second, as calculated from the AssetFile. Counts only the elementary stream payload, and does not include the packaging overhead</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:int">  
                              <xs:minInclusive value="0"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                        <xs:attribute name="BitsPerSample" use="required">  
                          <xs:annotation>  
                            <xs:documentation>Bits per sample for the wFormatTag format type</xs:documentation>  
                          </xs:annotation>  
                          <xs:simpleType>  
                            <xs:restriction base="xs:int">  
                              <xs:minInclusive value="0"/>  
                            </xs:restriction>  
                          </xs:simpleType>  
                        </xs:attribute>  
                      </xs:complexType>  
                    </xs:element>  
                  </xs:sequence>  
                </xs:complexType>  
              </xs:element>  
            </xs:sequence>  
            <xs:attribute name="Name" type="xs:string" use="required">  
              <xs:annotation>  
                <xs:documentation>the media asset file name</xs:documentation>  
              </xs:annotation>  
            </xs:attribute>  
            <xs:attribute name="Size" use="required">  
              <xs:annotation>  
                <xs:documentation>size of file in bytes</xs:documentation>  
              </xs:annotation>  
              <xs:simpleType>  
                <xs:restriction base="xs:long">  
                  <xs:minInclusive value="0"/>  
                </xs:restriction>  
              </xs:simpleType>  
            </xs:attribute>  
            <xs:attribute name="Duration" use="required">  
              <xs:annotation>  
                <xs:documentation>content play back duration</xs:documentation>  
              </xs:annotation>  
              <xs:simpleType>  
                <xs:restriction base="xs:duration"/>  
              </xs:simpleType>  
            </xs:attribute>  
          </xs:complexType>  
        </xs:element>  
      </xs:sequence>  
    </xs:complexType>  
  </xs:element>  
</xs:schema>  

Esempio XMLXML example

Di seguito è riportato un esempio di file di metadati di output:The following is an example of the Output metadata file.

<AssetFiles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"   
            xmlns="http://schemas.microsoft.com/windowsazure/mediaservices/2013/05/mediaencoder/metadata">  
  <AssetFile Name="BigBuckBunny_H264_3400kbps_AAC_und_ch2_96kbps.mp4" Size="4646283" Duration="PT8.4288444S">  
    <Sources>  
      <Source Name="BigBuckBunny.mp4"/>  
    </Sources>  
    <VideoTracks>  
      <VideoTrack Id="0" FourCC="AVC1" Profile="Main" Level="3.2" Width="1280" Height="720" DisplayAspectRatioNumerator="16" DisplayAspectRatioDenominator="9" Framerate="23.974" TargetFramerate="23.974" Bitrate="4250" TargetBitrate="3400" MaxGOPBitrate="5514"/>  
    </VideoTracks>  
    <AudioTracks>  
      <AudioTrack Id="0" Codec="AacLc" Channels="2" SamplingRate="44100" Bitrate="93" BitsPerSample="16"/>  
    </AudioTracks>  
  </AssetFile>  
  <AssetFile Name="BigBuckBunny_H264_2250kbps_AAC_und_ch2_96kbps.mp4" Size="3166728" Duration="PT8.4288444S">  
    <Sources>  
      <Source Name="BigBuckBunny.mp4"/>  
    </Sources>  
    <VideoTracks>  
      <VideoTrack Id="0" FourCC="AVC1" Profile="Main" Level="3.1" Width="960" Height="540" DisplayAspectRatioNumerator="16" DisplayAspectRatioDenominator="9" Framerate="23.974" TargetFramerate="23.974" Bitrate="2846" TargetBitrate="2250" MaxGOPBitrate="3630"/>  
    </VideoTracks>  
    <AudioTracks>  
      <AudioTrack Id="0" Codec="AacLc" Channels="2" SamplingRate="44100" Bitrate="93" BitsPerSample="16"/>  
    </AudioTracks>  
  </AssetFile>  
  <AssetFile Name="BigBuckBunny_H264_1500kbps_AAC_und_ch2_96kbps.mp4" Size="2205095" Duration="PT8.4288444S">  
    <Sources>  
      <Source Name="BigBuckBunny.mp4"/>  
    </Sources>  
    <VideoTracks>  
      <VideoTrack Id="0" FourCC="AVC1" Profile="Main" Level="3.1" Width="960" Height="540" DisplayAspectRatioNumerator="16" DisplayAspectRatioDenominator="9" Framerate="23.974" TargetFramerate="23.974" Bitrate="1932" TargetBitrate="1500" MaxGOPBitrate="2513"/>  
    </VideoTracks>  
    <AudioTracks>  
      <AudioTrack Id="0" Codec="AacLc" Channels="2" SamplingRate="44100" Bitrate="93" BitsPerSample="16"/>  
    </AudioTracks>  
  </AssetFile>  
  <AssetFile Name="BigBuckBunny_H264_1000kbps_AAC_und_ch2_96kbps.mp4" Size="1508567" Duration="PT8.4288444S">  
    <Sources>  
      <Source Name="BigBuckBunny.mp4"/>  
    </Sources>  
    <VideoTracks>  
      <VideoTrack Id="0" FourCC="AVC1" Profile="Main" Level="3.0" Width="640" Height="360" DisplayAspectRatioNumerator="16" DisplayAspectRatioDenominator="9" Framerate="23.974" TargetFramerate="23.974" Bitrate="1271" TargetBitrate="1000" MaxGOPBitrate="1527"/>  
    </VideoTracks>  
    <AudioTracks>  
      <AudioTrack Id="0" Codec="AacLc" Channels="2" SamplingRate="44100" Bitrate="93" BitsPerSample="16"/>  
    </AudioTracks>  
  </AssetFile>  
  <AssetFile Name="BigBuckBunny_H264_650kbps_AAC_und_ch2_96kbps.mp4" Size="1057155" Duration="PT8.4288444S">  
    <Sources>  
      <Source Name="BigBuckBunny.mp4"/>  
    </Sources>  
    <VideoTracks>  
      <VideoTrack Id="0" FourCC="AVC1" Profile="Main" Level="3.0" Width="640" Height="360" DisplayAspectRatioNumerator="16" DisplayAspectRatioDenominator="9" Framerate="23.974" TargetFramerate="23.974" Bitrate="843" TargetBitrate="650" MaxGOPBitrate="1086"/>  
    </VideoTracks>  
    <AudioTracks>  
      <AudioTrack Id="0" Codec="AacLc" Channels="2" SamplingRate="44100" Bitrate="93" BitsPerSample="16"/>  
    </AudioTracks>  
  </AssetFile>  
  <AssetFile Name="BigBuckBunny_H264_400kbps_AAC_und_ch2_96kbps.mp4" Size="699262" Duration="PT8.4288444S">  
    <Sources>  
      <Source Name="BigBuckBunny.mp4"/>  
    </Sources>  
    <VideoTracks>  
      <VideoTrack Id="0" FourCC="AVC1" Profile="Main" Level="1.3" Width="320" Height="180" DisplayAspectRatioNumerator="16" DisplayAspectRatioDenominator="9" Framerate="23.974" TargetFramerate="23.974" Bitrate="503" TargetBitrate="400" MaxGOPBitrate="661"/>  
    </VideoTracks>  
    <AudioTracks>  
      <AudioTrack Id="0" Codec="AacLc" Channels="2" SamplingRate="44100" Bitrate="93" BitsPerSample="16"/>  
    </AudioTracks>  
  </AssetFile>  
  <AssetFile Name="BigBuckBunny_AAC_und_ch2_96kbps.mp4" Size="166780" Duration="PT8.4288444S">  
    <Sources>  
      <Source Name="BigBuckBunny.mp4"/>  
    </Sources>  
    <AudioTracks>  
      <AudioTrack Id="0" Codec="AacLc" Channels="2" SamplingRate="44100" Bitrate="93" BitsPerSample="16"/>  
    </AudioTracks>  
  </AssetFile>  
  <AssetFile Name="BigBuckBunny_AAC_und_ch2_56kbps.mp4" Size="124576" Duration="PT8.4288444S">  
    <Sources>  
      <Source Name="BigBuckBunny.mp4"/>  
    </Sources>  
    <AudioTracks>  
      <AudioTrack Id="0" Codec="AacLc" Channels="2" SamplingRate="44100" Bitrate="53" BitsPerSample="16"/>  
    </AudioTracks>  
  </AssetFile>  
</AssetFiles>  

Passaggi successiviNext steps

Altre informazioni sui percorsi di apprendimento di Servizi multimediali di Azure:Read about the Azure Media Services learning paths:

Fornire commenti e suggerimentiProvide feedback

Usare il forum di suggerimenti degli utenti per fornire commenti e suggerimenti su come migliorare Servizi multimediali di Azure.Use the User Voice forum to provide feedback and make suggestions on how to improve Azure Media Services. È anche possibile passare direttamente a una delle categorie seguenti:You also can go directly to one of the following categories: