Posted on

Joining videos in Xabe.FFmpeg

Joining videos in Xabe.FFmpeg

There are a lot of questions and articles how to concatenate multiple videos into one with FFmpeg. Once upon time we had to deal with that feature.

    FFmpeg offers few ways of concatenation:
  1. Concat demuxer
  2. Concat protocol
  3. Concat filters

Due to limits of each concatenation method we implemented it by “filter”. Concat demuxer requires that all files must have the same streams (same codes, time base, etc.) and we need something more flexible. However Concat protocol was easy to use but supports only MPEG based files. Concatenating by filter has restrictions too, but we adapt some features to be more elastic. Full implementation is available on GitHub.

Continue reading Joining videos in Xabe.FFmpeg
Posted on

[Tutorial] .NET Video Converter

Xabe.FFmpeglogo

[Tutorial] .NET Video Converter with C# FFmpeg wrapper | How to use FFmpeg in C#

Some day ago I stuck trying to convert a lot of files. All I want to do is to watch some folder all convert all files getting into it. I’m lazy so I try to automate my work whenever I can.
This guide show how to implement simple .NET Video Converter using ffmpeg wrapped by Xabe.FFmpeg.
The application will be written in .NET Core 2.0 but this solution works with .NET Framework and GUI too.
Continue reading [Tutorial] .NET Video Converter

Posted on

[Changelog] Xabe.FFmpeg 3.1.0

Xabe.FFmpeglogo

[Changelog] Xabe.FFmpeg 3.1.0

Major changes

  • Added Conversion.Convert(string inputFilePath, string outputFilePath) method allows user to easily convert video to format specified in outputFilePath as extension
  • We have changed icon to more modern and professional one
  • Ability to download latest FFmpeg executables by FFmpeg.GetLatestVersion()
  • Some classes changed they names and become obsolete. They will be removed in next major update
  • Added support for hardware acceleration by Conversion.UserHardwareAcceleration(…) and Conversion.ConvertWithHardware(…)
Continue reading [Changelog] Xabe.FFmpeg 3.1.0