FFmgen

A powerful FFmpeg command generator that helps you construct complex FFmpeg commands with an easy-to-use interface. Configure input/output parameters, hardware acceleration, encoding settings, and more without memorizing FFmpeg's extensive command options.

Custom Agent or Stream URL
Custom user agent string for the request
Input stream URL to process

Input Parameters

Input parameters affect how FFmpeg reads and processes the incoming stream. These settings control hardware acceleration, buffering, error handling, and other input-related behaviors.

Hardware Acceleration
Hardware acceleration method to use for decoding
Hardware decoder output format (should match acceleration type)
Path to hardware device (if required)
Input Stream Settings
Read input at native frame rate
Number of times to loop input (-1 for infinite)
Size of thread queue for reading
Buffer & Probe Settings
How many microseconds to analyze streams
Maximum bytes to probe stream
Maximum buffer size for real-time inputs
Error Handling
Allow reconnection attempts if connection is lost
Continue from last position after reconnecting
Maximum seconds to wait before reconnecting
Logging verbosity level

Output Parameters

Output parameters determine how FFmpeg encodes and formats the output stream. These settings control video/audio codecs, quality, latency, and other output-specific configurations.

Video Settings
Choose video codec for encoding
Choose pixel format for output (depends on codec support)
Number of B-frames (0 for lowest latency)
Audio Settings
Choose audio codec for encoding
Audio bitrate in kilobits (64-320)
Number of audio channels and configuration
Allow experimental codecs
Latency Settings
Encoding preset (affects speed/quality trade-off)
Optimize encoder for specific content types or scenarios
Bitrate/quality control method (varies by encoder)
Multipass encoding mode (improves quality at cost of speed)
Output Flags
Container-specific optimization flags
Format processing flags
I/O operation timeout
Muxing delay in seconds
Copy timestamps from input

Generated Command


      

Click command to copy to clipboard

Command copied to clipboard!