Amovie
Audio Multiple outputs Source
Read audio from a movie source.
FFmpeg filter:
amovie— the official reference.
Generate a stream. Amovie is a source — it has no input, so you create a stream from it rather than applying it to one:
$audio = \FFmpeg\AudioStream::generate(new Amovie(…));apply() and addFilter() do not apply to source filters (there is nothing to attach them to).
When to use it
Section titled “When to use it”TODO — when this filter shines: what it’s the right tool for, what to reach for instead when it isn’t, and how it composes with neighbouring filters.
How to use it
Section titled “How to use it”TODO — prose: how the filter actually works and what its key parameters mean (the explanation FFmpeg’s terse option help omits).
Examples
Section titled “Examples”TODO — runnable PHP, with the equivalent ffmpeg CLI alongside.
Gotchas
Section titled “Gotchas”TODO
See also
Section titled “See also”TODO
Parameters
Section titled “Parameters”| Parameter | Type | Default | Range / values | Description |
|---|---|---|---|---|
filename | string | — | — | |
format_name | string | — | — | set format name |
stream_index | int | -1 | ≥ -1 | set stream index |
seek_point | float | 0 | ≥ 0 | set seekpoint (seconds) |
streams | string | — | — | set streams |
loop | int | 1 | ≥ 0 | set loop count |
discontinuity | int | 0 | ≥ 0 | set discontinuity threshold |
dec_threads | int | 0 | ≥ 0 | set the number of threads for decoding |
format_opts | string | — | — | set format options for the opened file |
FFmpeg also names these options (use the parameter shown above): f → format_name, si → stream_index, sp → seek_point, s → streams.
Maps to FFmpeg’s amovie filter. Verified against ffmpeg n7.1.1.
An Artisan Build project.
Built on FFmpeg — an independent binding, not affiliated with or endorsed by the FFmpeg project. Support FFmpeg.