Track / Conversion
track.audio.mean
Produce mono audio by taking the mean of all audio channels.
Type:
(?id : string?, ?normalize : bool, pcm('a)) -> pcm(mono)
Arguments:
id(of typestring?, which defaults tonull): Force the value of the track ID.normalize(of typebool, which defaults totrue): Divide the output volume by the number of channels.(unlabeled)(of typepcm('a)): Track whose mean should be computed.
track.audio.stereo
Convert any pcm audio track into a stereo track.
Type:
(?id : string?, pcm('a)) -> pcm(stereo)
Arguments:
id(of typestring?, which defaults tonull): Force the value of the track ID.(unlabeled)(of typepcm('a))
track.audio.swap
Swap two channels of a stereo track.
Type:
(?id : string?, pcm(stereo)) -> pcm(stereo)
Arguments:
id(of typestring?, which defaults tonull): Force the value of the track ID.(unlabeled)(of typepcm(stereo))
track.ffmpeg.decode.audio
Decode a track content
Type:
(?id : string?, ffmpeg.copy('a)) -> pcm('b)
Arguments:
id(of typestring?, which defaults tonull): Force the value of the track ID.(unlabeled)(of typeffmpeg.copy('a))
track.ffmpeg.decode.video
Decode a track content
Type:
(?id : string?, ffmpeg.copy('a)) -> canvas('b)
Arguments:
id(of typestring?, which defaults tonull): Force the value of the track ID.(unlabeled)(of typeffmpeg.copy('a))
track.ffmpeg.encode.audio
Convert a track's content
Type:
(?id : string?, format(audio=pcm('a), 'b), pcm('a)) -> ffmpeg.copy('c)
Arguments:
id(of typestring?, which defaults tonull): Force the value of the track ID.(unlabeled)(of typeformat(audio=pcm('a), 'b)): Encoding format.(unlabeled)(of typepcm('a))
track.ffmpeg.encode.video
Convert a track's content
Type:
(?id : string?, format(video=canvas('a), 'b), canvas('a)) -> ffmpeg.copy('c)
Arguments:
id(of typestring?, which defaults tonull): Force the value of the track ID.(unlabeled)(of typeformat(video=canvas('a), 'b)): Encoding format.(unlabeled)(of typecanvas('a))
track.ffmpeg.raw.decode.audio
Decode a track content
Type:
(?id : string?, ffmpeg.audio.raw('a)) -> pcm('b)
Arguments:
id(of typestring?, which defaults tonull): Force the value of the track ID.(unlabeled)(of typeffmpeg.audio.raw('a))
track.ffmpeg.raw.decode.video
Decode a track content
Type:
(?id : string?, ffmpeg.video.raw('a)) -> canvas('b)
Arguments:
id(of typestring?, which defaults tonull): Force the value of the track ID.(unlabeled)(of typeffmpeg.video.raw('a))
track.ffmpeg.raw.encode.audio
Convert a track's content
Type:
(?id : string?, format(audio=ffmpeg.audio.raw('a), 'b), pcm('c)) ->
ffmpeg.audio.raw('a)
Arguments:
id(of typestring?, which defaults tonull): Force the value of the track ID.(unlabeled)(of typeformat(audio=ffmpeg.audio.raw('a), 'b)): Encoding format.(unlabeled)(of typepcm('c))
track.ffmpeg.raw.encode.video
Convert a track's content
Type:
(?id : string?, format(video=ffmpeg.video.raw('a), 'b), canvas('c)) ->
ffmpeg.video.raw('a)
Arguments:
id(of typestring?, which defaults tonull): Force the value of the track ID.(unlabeled)(of typeformat(video=ffmpeg.video.raw('a), 'b)): Encoding format.(unlabeled)(of typecanvas('c))