MultiBitrateFormat Class
- java.
lang. Object - com.
azure. resourcemanager. mediaservices. models. Format - com.
azure. resourcemanager. mediaservices. models. MultiBitrateFormat
- com.
- com.
public class MultiBitrateFormat
extends Format
Describes the properties for producing a collection of GOP aligned multi-bitrate files. The default behavior is to produce one output file for each video layer which is muxed together with all the audios. The exact output files produced can be controlled by specifying the outputFiles collection.
Constructor Summary
Constructor | Description |
---|---|
MultiBitrateFormat() |
Creates an instance of Multi |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Output |
outputFiles()
Get the output |
void |
validate()
Validates the instance. |
Multi |
withFilenamePattern(String filenamePattern)
Set the filename |
Multi |
withOutputFiles(List<OutputFile> outputFiles)
Set the output |
Methods inherited from Format
Methods inherited from java.lang.Object
Constructor Details
MultiBitrateFormat
public MultiBitrateFormat()
Creates an instance of MultiBitrateFormat class.
Method Details
outputFiles
public List
Get the outputFiles property: The list of output files to produce. Each entry in the list is a set of audio and video layer labels to be muxed together .
Returns:
validate
public void validate()
Validates the instance.
Overrides:
MultiBitrateFormat.validate()withFilenamePattern
public MultiBitrateFormat withFilenamePattern(String filenamePattern)
Set the filenamePattern property: The file naming pattern used for the creation of output files. The following macros are supported in the file name: {Basename} - An expansion macro that will use the name of the input video file. If the base name(the file suffix is not included) of the input video file is less than 32 characters long, the base name of input video files will be used. If the length of base name of the input video file exceeds 32 characters, the base name is truncated to the first 32 characters in total length. {Extension} - The appropriate extension for this format. {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only applicable to thumbnails. {AudioStream} - string "Audio" plus audio stream number(start from 1). {Bitrate} - The audio/video bitrate in kbps. Not applicable to thumbnails. {Codec} - The type of the audio/video codec. {Resolution} - The video resolution. Any unsubstituted macros will be collapsed and removed from the filename.
Overrides:
MultiBitrateFormat.withFilenamePattern(String filenamePattern)Parameters:
withOutputFiles
public MultiBitrateFormat withOutputFiles(List
Set the outputFiles property: The list of output files to produce. Each entry in the list is a set of audio and video layer labels to be muxed together .
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for