comparison help @ 2:2b6ce8d53356

Finished program, fully functional, seems to be faster than cat
author VilyaemKenyaz
date Sat, 26 Aug 2023 14:03:02 -0400
parents
children
comparison
equal deleted inserted replaced
1:b82f21466dfd 2:2b6ce8d53356
1 Hyper fast Audio and Video encoder
2 usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
3
4 Getting help:
5 -h -- print basic options
6 -h long -- print more options
7 -h full -- print all options (including all format and codec specific options, very long)
8 -h type=name -- print all options for the named decoder/encoder/demuxer/muxer/filter/bsf/protocol
9 See man ffmpeg for detailed description of the options.
10
11 Print help / information / capabilities:
12 -L show license
13 -h topic show help
14 -? topic show help
15 -help topic show help
16 --help topic show help
17 -version show version
18 -buildconf show build configuration
19 -formats show available formats
20 -muxers show available muxers
21 -demuxers show available demuxers
22 -devices show available devices
23 -codecs show available codecs
24 -decoders show available decoders
25 -encoders show available encoders
26 -bsfs show available bit stream filters
27 -protocols show available protocols
28 -filters show available filters
29 -pix_fmts show available pixel formats
30 -layouts show standard channel layouts
31 -sample_fmts show available audio sample formats
32 -colors show available color names
33 -sources device list sources of the input device
34 -sinks device list sinks of the output device
35 -hwaccels show available HW acceleration methods
36
37 Global options (affect whole program instead of just one file):
38 -loglevel loglevel set logging level
39 -v loglevel set logging level
40 -report generate a report
41 -max_alloc bytes set maximum size of a single allocated block
42 -y overwrite output files
43 -n never overwrite output files
44 -ignore_unknown Ignore unknown stream types
45 -filter_threads number of non-complex filter threads
46 -filter_complex_threads number of threads for -filter_complex
47 -stats print progress report during encoding
48 -max_error_rate maximum error rate ratio of decoding errors (0.0: no errors, 1.0: 100% errors) above which ffmpeg returns an error instead of success.
49 -bits_per_raw_sample number set the number of bits per raw sample
50 -vol volume change audio volume (256=normal)
51
52 Per-file main options:
53 -f fmt force format
54 -c codec codec name
55 -codec codec codec name
56 -pre preset preset name
57 -map_metadata outfile[,metadata]:infile[,metadata] set metadata information of outfile from infile
58 -t duration record or transcode "duration" seconds of audio/video
59 -to time_stop record or transcode stop time
60 -fs limit_size set the limit file size in bytes
61 -ss time_off set the start time offset
62 -sseof time_off set the start time offset relative to EOF
63 -seek_timestamp enable/disable seeking by timestamp with -ss
64 -timestamp time set the recording timestamp ('now' to set the current time)
65 -metadata string=string add metadata
66 -program title=string:st=number... add program with specified streams
67 -target type specify target file type ("vcd", "svcd", "dvd", "dv" or "dv50" with optional prefixes "pal-", "ntsc-" or "film-")
68 -apad audio pad
69 -frames number set the number of frames to output
70 -filter filter_graph set stream filtergraph
71 -filter_script filename read stream filtergraph description from a file
72 -reinit_filter reinit filtergraph on input parameter changes
73 -discard discard
74 -disposition disposition
75
76 Video options:
77 -vframes number set the number of video frames to output
78 -r rate set frame rate (Hz value, fraction or abbreviation)
79 -fpsmax rate set max frame rate (Hz value, fraction or abbreviation)
80 -s size set frame size (WxH or abbreviation)
81 -aspect aspect set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)
82 -bits_per_raw_sample number set the number of bits per raw sample
83 -vn disable video
84 -vcodec codec force video codec ('copy' to copy stream)
85 -timecode hh:mm:ss[:;.]ff set initial TimeCode value.
86 -pass n select the pass number (1 to 3)
87 -vf filter_graph set video filters
88 -ab bitrate audio bitrate (please use -b:a)
89 -b bitrate video bitrate (please use -b:v)
90 -dn disable data
91
92 Audio options:
93 -aframes number set the number of audio frames to output
94 -aq quality set audio quality (codec-specific)
95 -ar rate set audio sampling rate (in Hz)
96 -ac channels set number of audio channels
97 -an disable audio
98 -acodec codec force audio codec ('copy' to copy stream)
99 -vol volume change audio volume (256=normal)
100 -af filter_graph set audio filters
101
102 Subtitle options:
103 -s size set frame size (WxH or abbreviation)
104 -sn disable subtitle
105 -scodec codec force subtitle codec ('copy' to copy stream)
106 -stag fourcc/tag force subtitle tag/fourcc
107 -fix_sub_duration fix subtitles duration
108 -canvas_size size set canvas size (WxH or abbreviation)
109 -spre preset set the subtitle options to the indicated preset
110
111