Function songbird::input::ffmpeg[][src]

pub async fn ffmpeg<P: AsRef<OsStr>>(path: P) -> Result<Input>

Opens an audio file through ffmpeg and creates an audio source.

This source is not seek-compatible. If you need looping or track seeking, then consider using Restartable::ffmpeg.