Membrane.MP4.Muxer.ISOM (Membrane MP4 plugin v0.11.0) View Source
Puts payloaded streams into an MPEG-4 container.
Element options
Passed via struct Membrane.MP4.Muxer.ISOM.t/0
fast_startbooleanDefault value:
false
Generates a container more suitable for streaming by allowing media players to start playback as soon as they start to receive its media data. When set totrue, the container metadata (moovatom) will be placed before media data (mdatatom). The equivalent of FFmpeg's-movflags faststartoption.chunk_durationTime.t()Default value:
1000000000
Expected duration of each chunk in the resulting MP4 container. Once the total duration of samples received on one of the input pads exceeds that threshold, a chunk containing these samples is flushed. Interleaving chunks belonging to different tracks may have positive impact on performance of media players.
Pads
:input
| Availability | :on_request |
| Caps | Membrane.MP4.Payload |
| Demand unit | :buffers |
| Direction | :input |
| Mode | :pull |
| Name | :input |
:output
| Availability | :always |
| Caps | :buffers |
| Direction | :output |
| Mode | :pull |
| Name | :output |
Link to this section Summary
Types
Struct containing options for Membrane.MP4.Muxer.ISOM
Functions
Returns pads descriptions for Membrane.MP4.Muxer.ISOM
Returns description of options available for this module
Link to this section Types
Specs
t() :: %Membrane.MP4.Muxer.ISOM{
chunk_duration: Membrane.Time.t(),
fast_start: boolean()
}
Struct containing options for Membrane.MP4.Muxer.ISOM
Link to this section Functions
Specs
membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.MP4.Muxer.ISOM
Specs
options() :: keyword()
Returns description of options available for this module