open
Open a sink writing to path.
Parameters
container short name (mp4, matroska, mpegts, …). Null infers the format from the path extension.
muxer private options applied before the header is written, such as "movflags" to "+faststart" (mp4 web-ready) or "movie_timescale"
Open a sink writing into sink, application-owned bytes, instead of a path.
The returned MediaSink owns sink and closes it. A container that has to seek on a sink that cannot is refused when the header is written, with FFmpegError.InvalidArgument.
Parameters
container short name (mp4, matroska, mpegts, …). There is no path to infer it from, so it is required.
muxer private options, as for the path variant
Open a sink writing to path.
Parameters
container short name (mp4, matroska, mpegts, …). Null infers the format from the path extension.
muxer private options applied before the header is written, such as "movflags" to "+faststart" (mp4 web-ready) or "movie_timescale"
Open a sink writing into sink, application-owned bytes, instead of a path.
The returned MediaSink owns sink and closes it. A container that has to seek on a sink that cannot is refused when the header is written, with FFmpegError.InvalidArgument.
Parameters
container short name (mp4, matroska, mpegts, …). There is no path to infer it from, so it is required.
muxer private options, as for the path variant
Open a sink writing to path.
Parameters
container short name (mp4, matroska, mpegts, …). Null infers the format from the path extension.
muxer private options applied before the header is written, such as "movflags" to "+faststart" (mp4 web-ready) or "movie_timescale"
Open a sink writing into sink, application-owned bytes, instead of a path.
The returned MediaSink owns sink and closes it. A container that has to seek on a sink that cannot is refused when the header is written, with FFmpegError.InvalidArgument.
Parameters
container short name (mp4, matroska, mpegts, …). There is no path to infer it from, so it is required.
muxer private options, as for the path variant
Open a sink writing to path.
Parameters
container short name (mp4, matroska, mpegts, …). Null infers the format from the path extension.
muxer private options applied before the header is written, such as "movflags" to "+faststart" (mp4 web-ready) or "movie_timescale"
Open a sink writing into sink, application-owned bytes, instead of a path.
The returned MediaSink owns sink and closes it. A container that has to seek on a sink that cannot is refused when the header is written, with FFmpegError.InvalidArgument.
Parameters
container short name (mp4, matroska, mpegts, …). There is no path to infer it from, so it is required.
muxer private options, as for the path variant