Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class MuxStream.
Multiplexing settings for output stream.
Generated from protobuf messagegoogle.cloud.video.transcoder.v1.MuxStream
Namespace
Google \ Cloud \ Video \ Transcoder \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ key
string
A unique key for this multiplexed stream.
↳ file_name
string
The name of the generated file. The default isMuxStream.keywith the extension suffix corresponding to theMuxStream.container. Individual segments also have an incremental 10-digit zero-padded suffix starting from 0 before the extension, such asmux_stream0000000123.ts.
↳ container
string
The container format. The default ismp4Supported streaming formats: -ts-fmp4- the corresponding file extension is.m4sSupported standalone file formats: -mp4-mp3-ogg-vttSee also:Supported input and output formats
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Video Transcoder V1 Client - Class MuxStream (1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/php/docs/reference/cloud-video-transcoder/latest/V1.MuxStream)\n- [1.0.3](/php/docs/reference/cloud-video-transcoder/1.0.3/V1.MuxStream)\n- [0.10.5](/php/docs/reference/cloud-video-transcoder/0.10.5/V1.MuxStream)\n- [0.9.1](/php/docs/reference/cloud-video-transcoder/0.9.1/V1.MuxStream)\n- [0.8.2](/php/docs/reference/cloud-video-transcoder/0.8.2/V1.MuxStream)\n- [0.7.1](/php/docs/reference/cloud-video-transcoder/0.7.1/V1.MuxStream)\n- [0.6.0](/php/docs/reference/cloud-video-transcoder/0.6.0/V1.MuxStream)\n- [0.5.3](/php/docs/reference/cloud-video-transcoder/0.5.3/V1.MuxStream) \nReference documentation and code samples for the Google Cloud Video Transcoder V1 Client class MuxStream.\n\nMultiplexing settings for output stream.\n\nGenerated from protobuf message `google.cloud.video.transcoder.v1.MuxStream`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Video \\\\ Transcoder \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getKey\n\nA unique key for this multiplexed stream.\n\n### setKey\n\nA unique key for this multiplexed stream.\n\n### getFileName\n\nThe name of the generated file. The default is\n[MuxStream.key](/php/docs/reference/cloud-video-transcoder/latest/V1.MuxStream#_Google_Cloud_Video_Transcoder_V1_MuxStream__getKey__) with the\nextension suffix corresponding to the\n[MuxStream.container](/php/docs/reference/cloud-video-transcoder/latest/V1.MuxStream#_Google_Cloud_Video_Transcoder_V1_MuxStream__getContainer__).\n\nIndividual segments also have an incremental 10-digit zero-padded suffix\nstarting from 0 before the extension, such as `mux_stream0000000123.ts`.\n\n### setFileName\n\nThe name of the generated file. The default is\n[MuxStream.key](/php/docs/reference/cloud-video-transcoder/latest/V1.MuxStream#_Google_Cloud_Video_Transcoder_V1_MuxStream__getKey__) with the\nextension suffix corresponding to the\n[MuxStream.container](/php/docs/reference/cloud-video-transcoder/latest/V1.MuxStream#_Google_Cloud_Video_Transcoder_V1_MuxStream__getContainer__).\n\nIndividual segments also have an incremental 10-digit zero-padded suffix\nstarting from 0 before the extension, such as `mux_stream0000000123.ts`.\n\n### getContainer\n\nThe container format. The default is `mp4`\nSupported streaming formats:\n\n- `ts`\n- `fmp4`- the corresponding file extension is `.m4s` Supported standalone file formats:\n- `mp4`\n- `mp3`\n- `ogg`\n- `vtt` See also: [Supported input and output\n formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)\n\n### setContainer\n\nThe container format. The default is `mp4`\nSupported streaming formats:\n\n- `ts`\n- `fmp4`- the corresponding file extension is `.m4s` Supported standalone file formats:\n- `mp4`\n- `mp3`\n- `ogg`\n- `vtt` See also: [Supported input and output\n formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)\n\n### getElementaryStreams\n\nList of\n[ElementaryStream.key](/php/docs/reference/cloud-video-transcoder/latest/V1.ElementaryStream#_Google_Cloud_Video_Transcoder_V1_ElementaryStream__getKey__)\nvalues multiplexed in this stream.\n\n### setElementaryStreams\n\nList of\n[ElementaryStream.key](/php/docs/reference/cloud-video-transcoder/latest/V1.ElementaryStream#_Google_Cloud_Video_Transcoder_V1_ElementaryStream__getKey__)\nvalues multiplexed in this stream.\n\n### getSegmentSettings\n\nSegment settings for `ts`, `fmp4` and `vtt`.\n\n### hasSegmentSettings\n\n### clearSegmentSettings\n\n### setSegmentSettings\n\nSegment settings for `ts`, `fmp4` and `vtt`.\n\n### getEncryptionId\n\nIdentifier of the encryption configuration to use. If omitted, output will\nbe unencrypted.\n\n### setEncryptionId\n\nIdentifier of the encryption configuration to use. If omitted, output will\nbe unencrypted.\n\n### getFmp4\n\nOptional. `fmp4` container configuration.\n\n### hasFmp4\n\n### setFmp4\n\nOptional. `fmp4` container configuration.\n\n### getContainerConfig"]]