Xabe.FFmpeg
Create argument for ffmpeg with thread configuration
Use multi thread
Build parameter argument
Create map for included streams
Map argument
Create parameters string
Position for parameters
Parameters
Create input string for all streams
Input argument
Get new instance of Conversion
IConversion object
Convert file to MP4
Input path
Destination file
Conversion result
Convert file to TS
Input path
Destination file
Conversion result
Convert file to OGV
Input path
Destination file
Conversion result
Convert file to WebM
Input path
Destination file
Conversion result
Convert image video stream to gif
Input path
Output path
Number of repeats
Delay between repeats (in seconds)
Conversion result
Melt watermark into video
Input video path
Output file
Watermark
Position of watermark
Conversion result
Extract video from file
Input path
Output audio stream
Conversion result
Extract audio from file
Input path
Output video stream
Conversion result
Saves snapshot of video
Video
Output file
TimeSpan of snapshot
Conversion result
Change video size
Input path
Output path
Expected size
Conversion result
Get part of video
Video
Output file
Start point
Duration of new video
Conversion result
Add audio stream to video file
Video
Audio
Output file
Conversion result
Add subtitles to video stream
Video
Output file
Subtitles
Conversion result
Add subtitle to file. It will be added as new stream so if you want to burn subtitles into video you should use
SetSubtitles method.
Input path
Output path
Path to subtitle file in .srt format
Language code in ISO 639. Example: "eng", "pol", "pl", "de", "ger"
Conversion result
Save M3U8 stream
Uri to stream
Output path
Duration of stream
Conversion result
Concat multiple inputVideos.
Concatenated inputVideos
Videos to add
Conversion result
Convert one file to another with destination format.
Path to file
Path to file
IConversion object
Convert one file to another with destination format using hardware acceleration (if possible). Using cuvid. Works only on Windows/Linux with NVidia GPU.
Path to file
Path to file
Hardware accelerator. List of all acceclerators available for your system - "ffmpeg -hwaccels"
Codec using to decoding input video (e.g. h264_cuvid)
Codec using to encode output video (e.g. h264_nvenc)
Number of device (0 = default video card) if more than one video card.
IConversion object
Create queue for conversions
Information about queue's media status
Auto incremented id of conversion
Count of conversion items
Conversion that was just finished
Queue for conversions.
If set, queue create multiple workers based on CPU cores. It's best to set if files are small
(less than few MB).
Occurs when conversion in queue finished
Occurs when appers any exceptions during conversion
Start converting media in queue
Cancelation token
Pause converting media in queue
Add conversion to queue
Defined conversion
Add conversion to queue
Defined conversion
Allows to prepare and start IConversion.
Output file path
FFmpeg process id
Clear saved parameters
Set priority of ffmpeg process
FFmpeg process priority
Extracts Every frameNo frame of the input video and outputs as a png image
The frame interval to extract
Delegate Function to build up custom filename when outputting multiple files
Extracts the frameNo'th frame of the input video and outputs as a png image
The frame to extract
Delegate Function to build up custom filename when outputting multiple files
Builds a video from a directory containing one or more sequentially named images
The number of the image to start building video from
Delegate Function to build up custom filename when inputting multiple files
IConversion object
Builds a video from a directory containing one or more sequentially named images
List of Image Files to Build into a Video
IConversion object
Builds the -framerate option for the output of this conversion
The desired framerate of the output
IConversion object
Builds the -framerate option for the input of this conversion
the desired framerate of the input
IConversion object
Seeks in output file to position. (-ss argument)
Position
IConversion
Sets input capture length (-t input argument)
Typically used with the GetScreenCapture Function to stop capturing after a time interval
Output Length
IConversion
Sets output file length (-t output argument)
Output Length
IConversion
Set preset of IConversion. Slower speed equals better compression and quality.
Preset
IConversion object
Sets The bitrate of the video streams to the supplied value
Acceptable values include 1200K for 1200kbit/s or 1M for 1mbit/s
The required Bitrate Value
IConversion object
Sets The bitrate of the audio streams to the supplied value
Acceptable values include 1200K for 1200kbit/s or 1M for 1mbit/s
The required Bitrate Value
IConversion object
Defines thread count used by converter
Number of used threads
IConversion object
Defines if converter should use all CPU cores
Use multiThreads
IConversion object
Set output path
Output media file
IConversion object
Set overwrite output file parameter
Should be output file overwritten or not. If not overwrite and file exists conversion will throw ConversionException
>IConversion object
Captures the entire display for length seconds at the specified framerate
The framrate at which to capture the display
IConversion object
Sets the format for the input file using the -f option before the input file name
The input format to set
IConversion object
Sets the format for the output file using the -f option before the output file name
The output format to set
IConversion object
Sets the pixel format for the output file using the -pix_fmt option before the output file name
The output pixel format to set
IConversion object
Fires when FFmpeg progress changes
Fires when FFmpeg process print sonething
Finish encoding when the shortest input stream ends. (-shortest)
IConversion object
Build FFmpeg arguments
Arguments
Start conversion
Conversion result
Occurs when FFmpeg process return error.
Occurs when no FFmpeg executables were found.
Start conversion
Cancellation token
Conversion result
Occurs when FFmpeg process return error.
Occurs when no FFmpeg executables were found.
Occurs when task was cancalled.
Start an FFmpeg process with specified arguments
FFmpeg parameters eg. "-i sample.mp4 -v 0 -vcodec mpeg4 -f mpegts udp://127.0.0.1:23000"
Conversion result
Occurs when FFmpeg process return error.
Occurs when no FFmpeg executables were found.
Start an FFmpeg process with specified arguments
FFmpeg parameters eg. "-i sample.mp4 -v 0 -vcodec mpeg4 -f mpegts udp://127.0.0.1:23000"
Cancellation token
Conversion result
Occurs when FFmpeg process return error.
Occurs when no FFmpeg executables were found.
Occurs when task was cancalled.
Add additional parameters for the conversion (They must be well formed)
Parameter to set
Position of parameter
IConversion object
Add streams to output file
Streams to add
IConversion object
Use hardware acceleration. This option set -threads to 1 for compatibility reasons. This should be use with proper codec (e.g. -c:v h264_nvenc or h264_cuvid)
Hardware accelerator. List of all accelerators available for your system - "ffmpeg -hwaccels"
Codec using to decode input video.
Codec using to encode output video.
Number of device (0 = default video card) if more than one video card.
IConversion object
Stream filter configuration
Type of filter
Stream filter number
Filter with name and values
Interface for building a list of input files intended to be used with the BuildVideoFromImages Function
List of File Paths to be used as an input
Prepares a list of files to be used as input by renaming them to have a consistent file name and copying them to the temp directory
A list of file paths to prepare
The Path to the temporary directory containing the prepared files
Delegate function to generate input argument from file List
Default Implementation of the IInputBuilder Interface
Downloads the Latest Version of FFMpeg
Do the download and install FFMpeg
Download a Fullbuild from zeranoe.com for Windows or macOS
Extract only binary files from the zip archive
Audio codec ("ffmpeg -codecs")
AAC (Advanced Audio Coding) (decoders: aac aac_fixed ) (encoders: aac libvo_aacenc )
AC3 (Dolby Digital audio codec)
Vorbis (decoders: vorbis libvorbis ) (encoders: vorbis libvorbis )
Audio codec
Format to string
Codec as string
Bistream filter
Create filter
Filter string
Bistream filter
H264_Mp4ToAnnexB
Aac_AdtstoAsc
Return bitstream filter in ffmpeg format
string formatted filter
Preset of conversion. Faster speed causes worse optimization and quality.
Very slow
Slower
Slow
Medium
Fast
Faster
Very fast
Super fast
Ultra fast
Files extensions
.mp4
.mp4
.mp3
.mpeg
.ts
.webm
.ogv
.png
.mkv
.gif
Flags for Vidoes (-flags option)
convert a Progressive Video to an Interlaced
Conversion Flag
Format to string
Codec as string
Hardware accelerators ("ffmpeg -hwaccels")
d3d11va
Use the first available option
dxva2
qsv
qsv
qsv
Hardware accelerator
Convert to string format
Accelerator string
Video format ("ffmpeg -formats")
Create new media format
Media format name
Video codec
AVI (Audio Video Interleaved)
MPEG-2 PS (DVD VOB)
FLV (Flash Video)
raw H.264 video
raw HEVC video
Matroska
Quicktime / MOV
MP4 (MPEG-4 Part 14)
MPEG-1 Systems / MPEG program stream
MPEG-TS (MPEG-2 Transport Stream)
Ogg
Raw video
GdiGrab
AVFoundation
X11Grab
Position of input parameter
Parameter before input config
Parameter after input config
Pixel Format ("ffmpeg -pix_fmt")
YUV420P Pixel Format
YUV422 Pixel Format
RGB24 Pixel Format
BGR24 Pixel Format
YUV422P Pixel Format
Pixel Format
Format to string
Pixel Format as string
Position on video
Upper left corner
Upper right corner
5px from right border
5px from left border
5x from upper border
Bottom right corner
Bottom left corner
Center of video
5px from bottom corner
Defines types of available rotation
90 degrees counter clockwise and vertical flip
90 degress clockwise
90 degrees counter clockwise
90 degrees counter clockwise and vertical flip
Rotate video by 180 degrees
Output subtitle format
Subtitle format
Subtitles format
SubRip
SubRip
SubRip
Video codec ("ffmpeg -codecs")
H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_crystalhd h264_vdpau ) (encoders: libx264 libx264rgb
)
H.265 / HEVC (High Efficiency Video Coding) (encoders: libx265 )
MPEG-4 part 2 (decoders: mpeg4 mpeg4_crystalhd mpeg4_vdpau ) (encoders: mpeg4 libxvid )
PNG (Portable Network Graphics) image
Theora (encoders: libtheora )
TIFF image
On2 VP8 (decoders: vp8 libvpx ) (encoders: libvpx )
Free x264 codec
h264_cuvid
h264_nvenc
Copy
Video codec
Convert to string format
Codec string
Video size
FFmpeg resolution height
FFmpeg resolution width
VideoSize in FFmpeg format
Width of output video
Height of output video
720x480
720x576
352x240
352x288
640x480
768x576
352x240
352x240
128x96
176x144
352x288
704x576
1408x1152
160x120
320x240
640x480
800x600
1024x768
1600x1200
2048x1536
1280x1024
2560x2048
5120x4096
852x480
1366x768
1600x1024
1920x1200
2560x1600
3200x2048
3840x2400
6400x4096
7680x4800
320x200
640x350
852x480
1280x720
1920x1080
2048x1080
1998x1080
2048x858
4096x2160
3996x2160
4096x1716
640x360
240x160
400x240
432x240
480x320
960x540
2048x1080
4096x2160
3840x2160
7680x4320
Convert video size to string format
Formatted video size
Stream type
Video stream
Audio stream
Subtitle stream
Info about conversion progress
Sender
Conversion info
Conversion information
Current processing time
Input movie length
Percent of conversion
The exception that is thrown when a FFmpeg process return error.
The exception that is thrown when a FFmpeg process return error.
FFmpeg error output
FFmpeg input parameters
FFmpeg input parameters
The exception that is thrown when a FFmpeg process return error.
The exception that is thrown when a FFmpeg executables cannot be found.
FFmpeg error output
The exception that is thrown when a FFmpeg cannot find specified hardware accelerator.
The exception that is thrown when a FFmpeg cannot find specified hardware accelerator.
FFmpeg error output
FFmpeg input parameters
The exception that is thrown when input does not exists.
The exception that is thrown when input does not exists.
The exception that is thrown when a FFmpeg cannot find specified hardware accelerator.
The exception that is thrown when a FFmpeg cannot find specified hardware accelerator.
FFmpeg error output
FFmpeg input parameters
Wrapper for FFmpeg
Directory contains FFmpeg and FFprobe
Directory containing FFmpeg and FFprobe
Name of FFmpeg executable name (Case insensitive)
Name of FFprobe executable name (Case insensitive)
FFmpeg tool process priority
FFmpeg process id
Download latest FFmpeg version for current operating system to FFmpeg.ExecutablePath. If it is not set download to ".".
Determine if a fully compiled FFPmpeg is downloaded (with gpu support and etc)
Initalize new FFmpeg. Search FFmpeg and FFprobe in PATH
FilePath to FFmpeg
FilePath to FFprobe
Run conversion
Arguments
FilePath to executable (FFmpeg, ffprobe)
Process priority to run executables
Should redirect standard input
Should redirect standard output
Should redirect standard error
Base FFmpeg class
Wrapper for FFmpeg
Fires when FFmpeg progress changes
Fires when FFmpeg process print something
Get information about media file
Get proporties prom media file
Media file info
Empty media info
Properties
Handling async code synchronously
Execute's an async Task method which has a void return value synchronously
Task method to execute
Execute's an async Task method which has a T return type synchronously
Return Type
Task method to execute
Extension methods
Return ffmpeg formatted time
TimeSpan
FFmpeg formated time
Parse FFmpeg formated time
FFmpeg time
TimeSpan
Information about media file
All file streams
Source file info
Duration of media
Size of file
Video streams
Audio streams
Audio streams
Get MediaInfo from file
FullPath to file
Get MediaInfo from file
FileInfo
Information about conversion
Result of conversion
Output IMediaInfo
Date and time of starting conversion
Date and time of starting conversion
Conversion duration
Arguments passed to ffmpeg
Allows to prepare and start IProbe.
Start probe with result from console
Args to pass to FFprobe
Output from console in specified format
Get new instance of Conversion
IProbe object
Audio stream
Duration
Codec type
Bit Rate
Sample Rate
Channels
Language
Default
Forced
Set stream to copy with orginal codec
IAudioStream
Reverse audio stream
IAudioStream
Set audio Channels (-ac option)
Number of channels to use in the output stream
IAudioStream
Set audio codec and bitrate
Audio odec
IAudioStream
Set filter
Filter
IAudioStream
Sets the Bitrate of the AudioStream
Bitrate for the AudioStream in bytes
IAudioStream
Sets the SampleRate of the AudioStream (-ar option)
SampleRate in HZ for the Audio Stream
IAudioStream
Change speed of media
Speed value. (0.5 - 2.0). To double the speed set this to 2.0
IAudioStream
When speed isn't between 0.5 - 2.0.
Get part of audio
Start point
Duration of new audio
IAudioStream
Seeks in input file to position. (-ss argument)
Position
IAudioStream
Stream with local source
File source of stream
Get part of media
Start point
Duration of new video
Base stream class
Build FFmpeg arguments
Arguments
Build FFmpeg arguments for input
Arguments
Index of stream
Format
Get stream input
Input path
Subtitle stream
Subtitle language
Default
Forced
Title
Set subtitle format
Subtitle format
ISubtitleStream
Set subtitle language
Language
ISubtitleStream
Video Stream
Duration
Width
Height
Frame rate
Screen ratio
Codec type
Video bitrate
Pixel Format
Default
Forced
Video Codec
Rotate video
Rotate type
IVideoStream
Change speed of video
Speed value. (0.5 - 2.0). To double the speed set this to 2.0
IVideoStream
When speed isn't between 0.5 - 2.0.
Melt watermark into video
Watermark
Position of watermark
IVideoStream
Reverse video
IVideoStream
Set Flags for conversion (-flags option)
Flags to use
IVideoStream
Set Framerate of the video (-r option)
Framerates in FPS
IVideoStream
Set Bitrate of the video (-b:v option)
Bitrate in bits
IVideoStream
Set size of video
VideoSize
IVideoStream
Set size of video
VideoSize
IVideoStream
Set video codec
Video codec
IVideoStream
Set video pixel format
Pixel Format
IVideoStream
Set stream to copy with orginal codec
IVideoStream
Set filter
Filter
IVideoStream
Loop over the input stream.(-loop)
Number of repeats
Delay between repeats (in seconds)
IVideoStream
Set output frames count
Number of frames
IVideoStream
Seeks in input file to position. (-ss argument)
Position
IVideoStream
Burn subtitle into file
Path to subtitle file in .srt format
Set subtitles input character encoding. Only useful if not UTF-8.
Override default style or script info parameters of the subtitles. It accepts a string containing
ASS style format KEY=VALUE couples separated by ","
Specify the size of the original video, the video for which the ASS style was composed. This
is necessary to correctly scale the fonts if the aspect ratio has been changed.
IVideoStream
Get part of video
Start point
Duration of new video
IVideoStream
Stream with web source
Create web stream
File uri
Stream format
Duration of video