

Official documentation: Main options ffmpeg.

Overwrite output files without asking (ffmpeg -y option) To tell ffmpeg to write to stdout, use pipe: as the filename. If multiple streams are provided, they are mapped to the same audio_bitrate=200.įormat – alias for -f parameter, e.g. video_bitrate=1000.Īudio_bitrate – parameter for -b:a, e.g. Some keyword-arguments are handled specially, as shown below. output ( *streams_and_filename, **kwargs ) ¶įfmpeg.output(stream1, filename, **ffmpeg_args)Īny supplied keyword arguments are passed to ffmpeg verbatim (e.g. Include all given outputs in one ffmpeg command line ffmpeg.

To tell ffmpeg to read from stdin, use pipe: as the filename. input ( filename, **kwargs ) ¶Īny supplied kwargs are passed to ffmpeg verbatim (e.g. output ( audio, video, 'out.mp4' ) view ( detail=False, filename=None, pipe=False, **kwargs ) ¶ ffmpeg.
