ColinChang.FFmpegHelper 1.2.1

This is a common utility that can help you to run most of ffmpeg commands.It contains a RTSP helper that can recorder a video from RTSP stream.Plus it can use watermark and screenshot.Windows(x64,x86) and macOS are supported currently,Linux will be supported soon.

Install-Package ColinChang.FFmpegHelper -Version 1.2.1
dotnet add package ColinChang.FFmpegHelper --version 1.2.1
<PackageReference Include="ColinChang.FFmpegHelper" Version="1.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ColinChang.FFmpegHelper --version 1.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This is a common utility that can help you to run any ffmpeg commands.It contains a RTSP helper that can recorder a video from RTSP stream.

It's based on .net standard 2.0

FFmpegHelper

FFmpegHelper can run a common ffmpeg command with the formate.ffmpeg [beforeinput options] -i input [beforeoutput options] output.We provide two screenshot and one watermark methods inside it as samples,you can extend any other useful common methods like what we provide.

RtspHelper

RtspHelper is a useful utility based on FFmpegHelper to work with RTSP stream.It provides 3 functions.

  • Recording.recording a specify RTSP stream to a video file
  • Watermark.marking a picture watermark during recording.
  • Screenshot.screenshot once or set a timer.

Platforms

  • Windows(x86,x64)
  • macOS(x64)

This package is based on FFmpeg v4.4.1.Resources under ffmpeg_v4.1.1 are from FFmpeg officical Website.You can download a newer version and replace it in the project.We are using the official shared version of ffmpeg package.

Since Linux has so many different version branches,we don't support it yet.FFmpeg provides built packages for Debian/Ubuntu/Fedora and Redhat only.For other versions and custom requirements,you can build FFmpeg from its source code.So here we don't provide linux support.
but we will handle it soon.

If you wanna extend Linux support,just edit this place.

Principle

We just packaged a library to transfer command to FFmpeg CLI.It's useful and simiple,except this,you also can use the FFmpeg API to use it for development.FFmpeg SDK only provide for baisc language like C.

Guid

Check the sample project to see how to use it easily.

This is a common utility that can help you to run any ffmpeg commands.It contains a RTSP helper that can recorder a video from RTSP stream.

It's based on .net standard 2.0

FFmpegHelper

FFmpegHelper can run a common ffmpeg command with the formate.ffmpeg [beforeinput options] -i input [beforeoutput options] output.We provide two screenshot and one watermark methods inside it as samples,you can extend any other useful common methods like what we provide.

RtspHelper

RtspHelper is a useful utility based on FFmpegHelper to work with RTSP stream.It provides 3 functions.

  • Recording.recording a specify RTSP stream to a video file
  • Watermark.marking a picture watermark during recording.
  • Screenshot.screenshot once or set a timer.

Platforms

  • Windows(x86,x64)
  • macOS(x64)

This package is based on FFmpeg v4.4.1.Resources under ffmpeg_v4.1.1 are from FFmpeg officical Website.You can download a newer version and replace it in the project.We are using the official shared version of ffmpeg package.

Since Linux has so many different version branches,we don't support it yet.FFmpeg provides built packages for Debian/Ubuntu/Fedora and Redhat only.For other versions and custom requirements,you can build FFmpeg from its source code.So here we don't provide linux support.
but we will handle it soon.

If you wanna extend Linux support,just edit this place.

Principle

We just packaged a library to transfer command to FFmpeg CLI.It's useful and simiple,except this,you also can use the FFmpeg API to use it for development.FFmpeg SDK only provide for baisc language like C.

Guid

Check the sample project to see how to use it easily.

Release Notes

1.Add watermark function for FFmpegHelper 2.Modify RecordVideo function of RtspHelper(add watermark parameter)

Version History

Version Downloads Last updated
1.2.1 98 4/14/2019
1.2.0 65 4/9/2019
1.0.0 66 4/7/2019