


IMediaInfo mediaInfo = await FFmpeg.GetMediaInfo(Resources.MkvWithAudio) This could be done also by: string outputPath = Path.ChangeExtension(Path.GetTempFileName(), ".mp4") IConversionResult result = await snippet.Start() Var snippet = (Resources.MkvWithAudio, output) Sample below shows basic conversion video file from mkv to mp4 format: string output = Path.Combine(Path.GetTempPath(), Guid.NewGuid() + ".mp4") You can use RTSP protocol as well if you wish, as explained is the main class to handle FFmpeg conversions. NOTE: Throughout the examples in this document, we will be reading a Red5 Pro stream over RTMP to demonstrate various commands. But the processing will resume nevertheless after a 1-second pause. When reading stream over RTSP you may see this in the FFmpeg output: method SETUP failed: 461 Unsupported transport. Stream #0:0: Audio: aac (LC), 48000 Hz, mono, fltp 2.100 method SETUP failed: 461 Unsupported transport Ffmpeg version N-82597-gd316b21 Copyright (c ) 2000-2016 the FFmpeg developersĬonfiguration: -enable-gpl -enable-version3 -disable-w32threads -enable-dxva2 -enable-libmfx -enable-nvenc -enable-avisynth -enable-bzlib -enable-fontconfig -enable-frei0r -enable-gnutls -enable-iconv -enable-libass -enable-libbluray -enable-libbs2b -enable-libcaca -enable-libfreetype -enable-libgme -enable-libgsm -enable-libilbc -enable-libmodplug -enable-libmp3lame -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-libopenh264 -enable-libopenjpeg -enable-libopus -enable-librtmp -enable-libschroedinger -enable-libsnappy -enable-libsoxr -enable-libspeex -enable-libtheora -enable-libtwolame -enable-libvidstab -enable-libvo-amrwbenc -enable-libvorbis -enable-libvpx -enable-libwavpack -enable-libwebp -enable-libx264 -enable-libx265 -enable-libxavs -enable-libxvid -enable-libzimg -enable-lzma -enable-decklink -enable-zlib
