mirror of
https://github.com/kevwillow/scaffold.git
synced 2026-10-20 08:37:34 +02:00
Add DragHandle for resizable output panel, form border frame, section labels, colored Run/Stop button, and tighter spacing. Rewrite PROMPT.txt with example JSON, type guard table, and compact 9-item checklist. Add nikto, gobuster, hashcat, and ffmpegv2 tool schemas. Fix QPushButton QSS parse error. 156/156 test assertions pass across functional and examples suites. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2101 lines
59 KiB
JSON
2101 lines
59 KiB
JSON
{
|
|
"tool": "FFmpeg",
|
|
"binary": "ffmpeg",
|
|
"description": "Universal media converter for reading, filtering, and transcoding audio/video streams",
|
|
"elevated": null,
|
|
"subcommands": null,
|
|
"arguments": [
|
|
{
|
|
"name": "Input file URL",
|
|
"flag": "-i",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Input file URL (can be a file, pipe, network stream, or grabbing device)",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["input.mp4", "input.mkv", "input.avi", "pipe:0", "rtmp://server/live/stream"]
|
|
},
|
|
{
|
|
"name": "Output file URL",
|
|
"flag": "OUTPUT",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Output file URL. Anything on the command line that cannot be interpreted as an option is considered an output URL",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": ["output.mp4", "output.mkv", "output.avi", "pipe:1"]
|
|
},
|
|
{
|
|
"name": "Force format",
|
|
"flag": "-f",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Force input or output file format. Normally auto detected for input and guessed from extension for output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["mp4", "mkv", "avi", "flv", "mpegts", "rawvideo", "image2", "null", "dvd", "svcd", "vcd"]
|
|
},
|
|
{
|
|
"name": "Codec",
|
|
"flag": "-c",
|
|
"short_flag": "-codec",
|
|
"type": "string",
|
|
"description": "Select encoder (before output) or decoder (before input) for streams. Use stream specifier like -c:v, -c:a, -c:s. Use 'copy' for streamcopy",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["copy", "libx264", "libx265", "libvpx-vp9", "aac", "libmp3lame", "libopus", "mpeg4", "h264_nvenc"]
|
|
},
|
|
{
|
|
"name": "Video codec",
|
|
"flag": "-vcodec",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set the video codec. Alias for -codec:v",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["libx264", "libx265", "libvpx-vp9", "mpeg4", "h264_nvenc", "hevc_nvenc", "copy"]
|
|
},
|
|
{
|
|
"name": "Audio codec",
|
|
"flag": "-acodec",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set the audio codec. Alias for -codec:a",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["aac", "libmp3lame", "libopus", "libvorbis", "ac3", "copy", "pcm_s16le"]
|
|
},
|
|
{
|
|
"name": "Subtitle codec",
|
|
"flag": "-scodec",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set the subtitle codec. Alias for -codec:s",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["srt", "ass", "dvdsub", "mov_text", "copy"]
|
|
},
|
|
{
|
|
"name": "Map streams",
|
|
"flag": "-map",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Create one or more streams in the output file. Format: [-]input_file_id[:stream_specifier][:?] or [linklabel]",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["0", "0:v", "0:a", "0:s", "0:v:0", "0:a:0", "1:0", "-0:a:1", "0:v -map 0:a?"]
|
|
},
|
|
{
|
|
"name": "Duration",
|
|
"flag": "-t",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Limit duration of data read (input) or stop writing after duration (output). Mutually exclusive with -to, -t has priority",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "duration_limit",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["10", "00:01:30", "60.5"]
|
|
},
|
|
{
|
|
"name": "Stop at position",
|
|
"flag": "-to",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Stop writing the output or reading the input at position. Mutually exclusive with -t",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "duration_limit",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["00:01:30", "90", "01:00:00"]
|
|
},
|
|
{
|
|
"name": "Seek position",
|
|
"flag": "-ss",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Seek to position in input (before -i) or discard output until position (before output)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["00:01:00", "30", "01:30:00.500"]
|
|
},
|
|
{
|
|
"name": "Seek from EOF",
|
|
"flag": "-sseof",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Like -ss but relative to end of file. Negative values are earlier in the file, 0 is at EOF",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["-60", "-00:01:00"]
|
|
},
|
|
{
|
|
"name": "File size limit",
|
|
"flag": "-fs",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set the file size limit in bytes. No further chunk of bytes is written after the limit is exceeded",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["10M", "1G", "500K"]
|
|
},
|
|
{
|
|
"name": "Video filter",
|
|
"flag": "-vf",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Create a video filtergraph and use it to filter the stream. Alias for -filter:v",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["scale=1280:720", "yadif,scale=1920:1080", "transpose=1", "crop=640:480:0:0", "setpts=0.5*PTS", "hue=s=0"]
|
|
},
|
|
{
|
|
"name": "Audio filter",
|
|
"flag": "-af",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Create an audio filtergraph and use it to filter the stream. Alias for -filter:a",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["aresample=44100", "volume=1.5", "atempo=2.0", "loudnorm", "aecho=0.8:0.9:1000:0.3"]
|
|
},
|
|
{
|
|
"name": "Complex filtergraph",
|
|
"flag": "-filter_complex",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Define a complex filtergraph with arbitrary number of inputs and/or outputs. This is a global option",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["[0:v][1:v]overlay[out]", "[0:v]scale=1920:1080,split=2[out1][out2]", "overlay", "[0:a][1:a]amix=inputs=2[out]"]
|
|
},
|
|
{
|
|
"name": "Video bitrate",
|
|
"flag": "-b:v",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set video bitrate",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["1M", "2M", "4000k", "6000k", "8M"]
|
|
},
|
|
{
|
|
"name": "Audio bitrate",
|
|
"flag": "-b:a",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set audio bitrate",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["128k", "192k", "256k", "320k", "64k"]
|
|
},
|
|
{
|
|
"name": "Frame rate",
|
|
"flag": "-r",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set frame rate (Hz value, fraction, or abbreviation). As input, assumes constant frame rate. As output, duplicates or drops frames",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["24", "25", "30", "29.97", "60", "30000/1001", "24000/1001"]
|
|
},
|
|
{
|
|
"name": "Frame size",
|
|
"flag": "-s",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set frame size. As output, inserts a scale video filter. Format is WxH",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["1920x1080", "1280x720", "640x480", "3840x2160", "352x288"]
|
|
},
|
|
{
|
|
"name": "Aspect ratio",
|
|
"flag": "-aspect",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set the video display aspect ratio. Can be floating point or num:den format",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["16:9", "4:3", "1.7777", "1.3333"]
|
|
},
|
|
{
|
|
"name": "Pixel format",
|
|
"flag": "-pix_fmt",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set pixel format. Prefix with + to exit on error if format cannot be selected",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["yuv420p", "yuv422p", "yuv444p", "rgb24", "nv12", "yuv420p10le"]
|
|
},
|
|
{
|
|
"name": "Audio sample rate",
|
|
"flag": "-ar",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Set the audio sampling frequency in Hz. Defaults to the frequency of the corresponding input stream",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Audio channels",
|
|
"flag": "-ac",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Set the number of audio channels. Defaults to the number of input audio channels",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Audio sample format",
|
|
"flag": "-sample_fmt",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set the audio sample format. Use -sample_fmts to get a list of supported formats",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["s16", "s32", "flt", "fltp", "s16p"]
|
|
},
|
|
{
|
|
"name": "Channel layout",
|
|
"flag": "-channel_layout",
|
|
"short_flag": "-ch_layout",
|
|
"type": "string",
|
|
"description": "Set the audio channel layout",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["stereo", "mono", "5.1", "5.1(side)", "7.1"]
|
|
},
|
|
{
|
|
"name": "Disable video",
|
|
"flag": "-vn",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "As input, blocks all video streams. As output, disables video recording",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Disable audio",
|
|
"flag": "-an",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "As input, blocks all audio streams. As output, disables audio recording",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Disable subtitles",
|
|
"flag": "-sn",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "As input, blocks all subtitle streams. As output, disables subtitle recording",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Disable data",
|
|
"flag": "-dn",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "As input, blocks all data streams. As output, disables data recording",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Overwrite output",
|
|
"flag": "-y",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Overwrite output files without asking",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "overwrite",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Never overwrite",
|
|
"flag": "-n",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Do not overwrite output files and exit immediately if a specified output file already exists",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "overwrite",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Stream loop",
|
|
"flag": "-stream_loop",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Set number of times input stream shall be looped. 0 means no loop, -1 means infinite loop",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Metadata",
|
|
"flag": "-metadata",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set a metadata key/value pair. Can use metadata_specifier for streams, chapters, or programs",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["title=\"My Title\"", "artist=\"Artist Name\"", "comment=\"A comment\""]
|
|
},
|
|
{
|
|
"name": "Disposition",
|
|
"flag": "-disposition",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set disposition flags for a stream. Use + to add, - to remove, or 0 to clear. Use stream specifier like -disposition:a:1",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["default", "0", "+original-comment", "attached_pic"]
|
|
},
|
|
{
|
|
"name": "Target type",
|
|
"flag": "-target",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Specify target file type. May be prefixed with pal-, ntsc-, or film-. Sets format options automatically",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["vcd", "svcd", "dvd", "dv", "dv50", "pal-dvd", "ntsc-dvd", "film-dvd"]
|
|
},
|
|
{
|
|
"name": "Frames to output",
|
|
"flag": "-frames",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Stop writing to the stream after framecount frames. Use with stream specifier like -frames:v",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Quality scale",
|
|
"flag": "-q",
|
|
"short_flag": "-qscale",
|
|
"type": "string",
|
|
"description": "Use fixed quality scale (VBR). Codec-dependent. Without stream specifier applies to video only",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["2", "4", "10", "31"]
|
|
},
|
|
{
|
|
"name": "Encoding pass",
|
|
"flag": "-pass",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Select the pass number for two-pass video encoding",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": ["1", "2"],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Pass log file prefix",
|
|
"flag": "-passlogfile",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set two-pass log file name prefix. Default is 'ffmpeg2pass'",
|
|
"required": false,
|
|
"default": "ffmpeg2pass",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "-pass",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Max frame rate",
|
|
"flag": "-fpsmax",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set maximum output frame rate. Clamps output when auto-set and higher than this value. Cannot be used with -r",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["30", "60", "24"]
|
|
},
|
|
{
|
|
"name": "Display rotation",
|
|
"flag": "-display_rotation",
|
|
"short_flag": null,
|
|
"type": "float",
|
|
"description": "Set video rotation metadata in degrees counter-clockwise. Overrides file metadata",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Display horizontal flip",
|
|
"flag": "-display_hflip",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Set whether on display the image should be horizontally flipped",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Display vertical flip",
|
|
"flag": "-display_vflip",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Set whether on display the image should be vertically flipped",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Auto rotate",
|
|
"flag": "-autorotate",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Automatically rotate the video according to file metadata. Enabled by default, use -noautorotate to disable",
|
|
"required": false,
|
|
"default": true,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Auto scale",
|
|
"flag": "-autoscale",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Automatically scale the video according to the resolution of first frame. Enabled by default",
|
|
"required": false,
|
|
"default": true,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Log level",
|
|
"flag": "-loglevel",
|
|
"short_flag": "-v",
|
|
"type": "string",
|
|
"description": "Set logging level and flags. Optional flags prefix: repeat, level, time, datetime",
|
|
"required": false,
|
|
"default": "info",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["quiet", "panic", "fatal", "error", "warning", "info", "verbose", "debug", "trace", "repeat+level+verbose"]
|
|
},
|
|
{
|
|
"name": "Report",
|
|
"flag": "-report",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Dump full command line and log output to a file. Implies -loglevel debug",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Hide banner",
|
|
"flag": "-hide_banner",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Suppress printing the copyright notice, build options, and library versions",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Stats",
|
|
"flag": "-stats",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Log encoding progress/statistics. On by default, use -nostats to disable",
|
|
"required": false,
|
|
"default": true,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Stats period",
|
|
"flag": "-stats_period",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set period at which encoding progress/statistics are updated",
|
|
"required": false,
|
|
"default": "0.5",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Progress URL",
|
|
"flag": "-progress",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Send program-friendly progress information to URL",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["pipe:1", "progress.log"]
|
|
},
|
|
{
|
|
"name": "Timestamp",
|
|
"flag": "-timestamp",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set the recording timestamp in the container",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["now", "2024-01-01T00:00:00"]
|
|
},
|
|
{
|
|
"name": "Recast media",
|
|
"flag": "-recast_media",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Allow forcing a decoder of a different media type than the one detected by the demuxer",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Input time offset",
|
|
"flag": "-itsoffset",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set the input time offset. Positive offset means streams are delayed",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["1.0", "-0.5", "00:00:01"]
|
|
},
|
|
{
|
|
"name": "Input timestamp scale",
|
|
"flag": "-itsscale",
|
|
"short_flag": null,
|
|
"type": "float",
|
|
"description": "Rescale input timestamps by the given floating point scale value",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Map metadata",
|
|
"flag": "-map_metadata",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set metadata of next output file from infile. Supports specifiers g (global), s (stream), c (chapter), p (program)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["0", "0:s:0", "-1"]
|
|
},
|
|
{
|
|
"name": "Map chapters",
|
|
"flag": "-map_chapters",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Copy chapters from input file with given index to the next output file. Use negative index to disable",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Shortest",
|
|
"flag": "-shortest",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Finish encoding when the shortest output stream ends",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Shortest buffer duration",
|
|
"flag": "-shortest_buf_duration",
|
|
"short_flag": null,
|
|
"type": "float",
|
|
"description": "Maximum duration of buffered frames in seconds for -shortest option",
|
|
"required": false,
|
|
"default": 10.0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "-shortest",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Copy timestamps",
|
|
"flag": "-copyts",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Do not process input timestamps, keep their values without sanitization",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Start at zero",
|
|
"flag": "-start_at_zero",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "When used with copyts, shift input timestamps so they start at zero",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "-copyts",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Bitexact",
|
|
"flag": "-bitexact",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Enable bitexact mode for (de)muxer and (de/en)coder",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Framerate mode",
|
|
"flag": "-fps_mode",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Set video framerate mode per output stream. Overrides -vsync",
|
|
"required": false,
|
|
"default": "auto",
|
|
"choices": ["passthrough", "cfr", "vfr", "auto"],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Force key frames",
|
|
"flag": "-force_key_frames",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Force keyframes at specified times, expression, or source. Use stream specifier for per-stream",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["0:05:00,chapters-0.1", "expr:gte(t,n_forced*5)", "source", "scd_metadata"]
|
|
},
|
|
{
|
|
"name": "Encoder timebase",
|
|
"flag": "-enc_time_base",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set the encoder timebase. Can be 0 (default by media type), demux, filter, or a positive number",
|
|
"required": false,
|
|
"default": "0",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["0", "demux", "filter", "1:24", "1:48000"]
|
|
},
|
|
{
|
|
"name": "Bitstream filter",
|
|
"flag": "-bsf",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Apply bitstream filters to matching streams. Use stream specifier like -bsf:v. Comma-separated list",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["h264_mp4toannexb", "aac_adtstoasc", "mov2textsub"]
|
|
},
|
|
{
|
|
"name": "Tag/FourCC",
|
|
"flag": "-tag",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Force a tag/fourcc for matching streams. Use stream specifier like -tag:v",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["hvc1", "avc1"]
|
|
},
|
|
{
|
|
"name": "Timecode",
|
|
"flag": "-timecode",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Specify timecode for writing. SEP is ':' for non-drop and ';' or '.' for drop timecode",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": "^\\d{2}:\\d{2}:\\d{2}[:\\.;]\\d{2}$",
|
|
"examples": ["01:02:03:04", "01:02:03;04"]
|
|
},
|
|
{
|
|
"name": "Preset",
|
|
"flag": "-pre",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Specify the preset for matching stream(s)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Attach file",
|
|
"flag": "-attach",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Add an attachment to the output file (e.g. fonts for subtitle rendering in Matroska)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Dump attachment",
|
|
"flag": "-dump_attachment",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Extract matching attachment stream into a file. Empty string uses filename metadata tag",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Hardware acceleration",
|
|
"flag": "-hwaccel",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Use hardware acceleration to decode matching stream(s)",
|
|
"required": false,
|
|
"default": "none",
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["none", "auto", "vdpau", "dxva2", "d3d11va", "vaapi", "qsv", "videotoolbox"]
|
|
},
|
|
{
|
|
"name": "Hardware acceleration device",
|
|
"flag": "-hwaccel_device",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Select a device to use for hardware acceleration. Only makes sense with -hwaccel",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "-hwaccel",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["0", "1", "/dev/dri/renderD128"]
|
|
},
|
|
{
|
|
"name": "Init hardware device",
|
|
"flag": "-init_hw_device",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Initialize a new hardware device of given type, optionally with name and device parameters",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["cuda:0", "vaapi:/dev/dri/renderD128", "qsv:hw", "vulkan:0"]
|
|
},
|
|
{
|
|
"name": "Filter hardware device",
|
|
"flag": "-filter_hw_device",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Pass the named hardware device to all filters in any filter graph",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Thread queue size",
|
|
"flag": "-thread_queue_size",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "For input, max queued packets when reading. For output, max packets queued per muxing thread",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Filter threads",
|
|
"flag": "-filter_threads",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Number of threads used to process a filter pipeline. Default is number of available CPUs",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Read rate",
|
|
"flag": "-readrate",
|
|
"short_flag": null,
|
|
"type": "float",
|
|
"description": "Limit input read speed. Value 1 represents real-time speed. Default 0 means no limit",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Real-time input",
|
|
"flag": "-re",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Read input at native frame rate. Equivalent to -readrate 1",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Accurate seek",
|
|
"flag": "-accurate_seek",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Enable accurate seeking in input files with -ss. Enabled by default, use -noaccurate_seek to disable",
|
|
"required": false,
|
|
"default": true,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Ignore unknown streams",
|
|
"flag": "-ignore_unknown",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Ignore input streams with unknown type instead of failing if copying is attempted",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Copy unknown streams",
|
|
"flag": "-copy_unknown",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Allow input streams with unknown type to be copied instead of failing",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Discard",
|
|
"flag": "-discard",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Allows discarding specific streams or frames from streams",
|
|
"required": false,
|
|
"default": "default",
|
|
"choices": ["none", "default", "noref", "bidir", "nokey", "all"],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Apply cropping",
|
|
"flag": "-apply_cropping",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Automatically crop the video after decoding according to file metadata",
|
|
"required": false,
|
|
"default": "all",
|
|
"choices": ["none", "all", "codec", "container"],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Stream ID",
|
|
"flag": "-streamid",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Assign a new stream-id value to an output stream. Format: output-stream-index:new-value",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": "^\\d+:\\d+$",
|
|
"examples": ["0:33", "1:36"]
|
|
},
|
|
{
|
|
"name": "Max muxing queue size",
|
|
"flag": "-max_muxing_queue_size",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Set the size of the muxing buffer in packets for the matching output stream",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Muxing queue data threshold",
|
|
"flag": "-muxing_queue_data_threshold",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Minimum threshold until which muxing queue size is not taken into account. Defaults to 50 megabytes per stream",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Mux delay",
|
|
"flag": "-muxdelay",
|
|
"short_flag": null,
|
|
"type": "float",
|
|
"description": "Set the maximum demux-decode delay in seconds",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Mux preload",
|
|
"flag": "-muxpreload",
|
|
"short_flag": null,
|
|
"type": "float",
|
|
"description": "Set the initial demux-decode delay in seconds",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "DTS delta threshold",
|
|
"flag": "-dts_delta_threshold",
|
|
"short_flag": null,
|
|
"type": "float",
|
|
"description": "Timestamp discontinuity delta threshold in seconds",
|
|
"required": false,
|
|
"default": 10.0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "DTS error threshold",
|
|
"flag": "-dts_error_threshold",
|
|
"short_flag": null,
|
|
"type": "float",
|
|
"description": "Timestamp error delta threshold in seconds",
|
|
"required": false,
|
|
"default": 108000.0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Abort on",
|
|
"flag": "-abort_on",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Stop and abort on various conditions",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["empty_output", "empty_output_stream"]
|
|
},
|
|
{
|
|
"name": "Max error rate",
|
|
"flag": "-max_error_rate",
|
|
"short_flag": null,
|
|
"type": "float",
|
|
"description": "Set fraction of decoding frame failures across all inputs for exit code 69. Range 0 to 1",
|
|
"required": false,
|
|
"default": 0.6667,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Stop on error",
|
|
"flag": "-xerror",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Stop and exit on error",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Debug timestamps",
|
|
"flag": "-debug_ts",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Print timestamp/latency information. Mostly for testing and debugging",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Benchmark",
|
|
"flag": "-benchmark",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Show benchmarking information at the end of an encode",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Benchmark all",
|
|
"flag": "-benchmark_all",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Show benchmarking information during the encode for various steps",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Time limit",
|
|
"flag": "-timelimit",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Exit after ffmpeg has been running for specified duration in CPU user time seconds",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Dump packets",
|
|
"flag": "-dump",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Dump each input packet to stderr",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Hex dump",
|
|
"flag": "-hex",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "When dumping packets, also dump the payload in hex",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "-dump",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Reinit filter",
|
|
"flag": "-reinit_filter",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Whether filtergraph is reinitialized when input frame parameters change mid-stream. Default enabled (1)",
|
|
"required": false,
|
|
"default": 1,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Drop changed frames",
|
|
"flag": "-drop_changed",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Drop frames with differing parameters mid-stream instead of reinitializing filtergraph. Default false (0)",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "SDP file",
|
|
"flag": "-sdp_file",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Print SDP information for an output stream to file",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Pad audio output",
|
|
"flag": "-apad",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Pad the output audio stream(s). Same as -af apad. Requires -shortest to take effect",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "-shortest",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Frame drop threshold",
|
|
"flag": "-frame_drop_threshold",
|
|
"short_flag": null,
|
|
"type": "float",
|
|
"description": "Frame drop threshold in frame rate units. Default is -1.1",
|
|
"required": false,
|
|
"default": -1.1,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Copy timebase",
|
|
"flag": "-copytb",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "How to set encoder timebase when stream copying. 1=demuxer, 0=decoder, -1=auto",
|
|
"required": false,
|
|
"default": "-1",
|
|
"choices": ["-1", "0", "1"],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Copy initial non-keyframes",
|
|
"flag": "-copyinkf",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "When doing stream copy, copy also non-key frames found at the beginning",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Video stats",
|
|
"flag": "-vstats",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Dump video coding statistics to vstats_HHMMSS.log",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Video stats file",
|
|
"flag": "-vstats_file",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Dump video coding statistics to the specified file",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Fix subtitle duration",
|
|
"flag": "-fix_sub_duration",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Fix subtitle durations by waiting for the next packet to avoid overlap",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Canvas size",
|
|
"flag": "-canvas_size",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set the size of the canvas used to render subtitles",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["1920x1080", "1280x720"]
|
|
},
|
|
{
|
|
"name": "Guess layout max",
|
|
"flag": "-guess_layout_max",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "If input channel layout is unknown, try to guess only if it corresponds to at most this many channels. 0 to disable",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "SWS flags",
|
|
"flag": "-sws_flags",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set default flags for the libswscale library used by auto-inserted scale filters",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["bicubic", "bilinear", "lanczos"]
|
|
},
|
|
{
|
|
"name": "Rate control override",
|
|
"flag": "-rc_override",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Rate control override for specific intervals. Format: int,int,int list separated by slashes",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Print graphs",
|
|
"flag": "-print_graphs",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Print execution graph details to stderr",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Print graphs file",
|
|
"flag": "-print_graphs_file",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Write execution graph details to the specified file",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Print graphs format",
|
|
"flag": "-print_graphs_format",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Set the output format for graph details",
|
|
"required": false,
|
|
"default": "json",
|
|
"choices": ["default", "compact", "csv", "flat", "ini", "json", "xml", "mermaid", "mermaidhtml"],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Auto conversion filters",
|
|
"flag": "-auto_conversion_filters",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Enable auto-inserting format conversion filters in all filter graphs. On by default",
|
|
"required": false,
|
|
"default": true,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Bits per raw sample",
|
|
"flag": "-bits_per_raw_sample",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Declare the number of bits per raw sample in the given output stream",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Isync",
|
|
"flag": "-isync",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Assign an input as a sync source by input index. -1 means no adjustment",
|
|
"required": false,
|
|
"default": -1,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Filter complex threads",
|
|
"flag": "-filter_complex_threads",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Number of threads used to process filter_complex graphs. Default is number of available CPUs",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Filter buffered frames",
|
|
"flag": "-filter_buffered_frames",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Maximum number of buffered frames in a filtergraph. 0 means no limit",
|
|
"required": false,
|
|
"default": 0,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
}
|
|
]
|
|
}
|