Sideway
output.to from Sideway
Draft for Information Only

Content

FFmpeg Switch
 Switches
 Source and Reference

FFmpeg Switch

FFmpeg switch. 30Dec2019

Switches

-hprint basic optionsGetting help -h longprint more optionsGetting help -h fullprint all options (including all format and codec specific options, very long)Getting help -h type=nameprint all options for the named decoder/encoder/demuxer/muxer/filter/bsfGetting help -Lshow licensePrint Topics -h topicshow helpPrint Topics -? topicshow helpPrint Topics -help topicshow helpPrint Topics --help topicshow helpPrint Topics -versionshow versionPrint Topics -buildconfshow build configurationPrint Topics -formatsshow available formatsPrint Topics -muxersshow available muxersPrint Topics -demuxersshow available demuxersPrint Topics -devicesshow available devicesPrint Topics -codecsshow available codecsPrint Topics -decodersshow available decodersPrint Topics -encodersshow available encodersPrint Topics -bsfsshow available bit stream filtersPrint Topics -protocolsshow available protocolsPrint Topics -filtersshow available filtersPrint Topics -pix_fmtsshow available pixel formatsPrint Topics -layoutsshow standard channel layoutsPrint Topics -sample_fmtsshow available audio sample formatsPrint Topics -colorsshow available color namesPrint Topics -sources devicelist sources of the input devicePrint Topics -sinks devicelist sinks of the output devicePrint Topics -hwaccelsshow available HW acceleration methodsPrint Topics -loglevel loglevelset logging levelGlobal Options -v loglevelset logging levelGlobal Options -reportgenerate a reportGlobal Options -max_alloc bytesset maximum size of a single allocated blockGlobal Options -yoverwrite output filesGlobal Options -nnever overwrite output filesGlobal Options -ignore_unknownIgnore unknown stream typesGlobal Options -filter_threadsnumber of non-complex filter threadsGlobal Options -filter_complex_threadsnumber of threads for -filter_complexGlobal Options -statsprint progress report during encodingGlobal Options -max_error_rate maximum error rateratio of errors (0.0: no errors, 1.0: 100% errors) above which ffmpeg returns an error instead of success.Global Options -bits_per_raw_sample numberset the number of bits per raw sampleGlobal Options -vol volumechange audio volume (256=normal)Global Options -cpuflags flagsforce specific cpu flagsGlobal options, Advanced -hide_banner hide_bannerdo not show program bannerGlobal options, Advanced -copy_unknownCopy unknown stream typesGlobal options, Advanced -benchmarkadd timings for benchmarkingGlobal options, Advanced -benchmark_alladd timings for each taskGlobal options, Advanced -progress urlwrite program-readable progress informationGlobal options, Advanced -stdinenable or disable interaction on standard inputGlobal options, Advanced -timelimit limitset max runtime in seconds in CPU user timeGlobal options, Advanced -dumpdump each input packetGlobal options, Advanced -hexwhen dumping packets, also dump the payloadGlobal options, Advanced -vsyncvideo sync methodGlobal options, Advanced -frame_drop_thresholdframe drop thresholdGlobal options, Advanced -asyncaudio sync methodGlobal options, Advanced -adrift_threshold thresholdaudio drift thresholdGlobal options, Advanced -copytscopy timestampsGlobal options, Advanced -start_at_zeroshift input timestamps to start at 0 when using copytsGlobal options, Advanced -copytb modecopy input stream time base when stream copyingGlobal options, Advanced -dts_delta_threshold thresholdtimestamp discontinuity delta thresholdGlobal options, Advanced -dts_error_threshold thresholdtimestamp error delta thresholdGlobal options, Advanced -xerror errorexit on errorGlobal options, Advanced -abort_on flagsabort on the specified condition flagsGlobal options, Advanced -filter_complex graph_descriptioncreate a complex filtergraphGlobal options, Advanced -lavfi graph_descriptioncreate a complex filtergraphGlobal options, Advanced -filter_complex_script filenameread complex filtergraph description from a fileGlobal options, Advanced -debug_tsprint timestamp debugging infoGlobal options, Advanced -intradeprecated use -g 1Global options, Advanced -sameqRemovedGlobal options, Advanced -same_quantRemovedGlobal options, Advanced -deinterlacethis option is deprecated, use the yadif filter insteadGlobal options, Advanced -psnrcalculate PSNR of compressed framesGlobal options, Advanced -vstatsdump video coding statistics to fileGlobal options, Advanced -vstats_file filedump video coding statistics to fileGlobal options, Advanced -vstats_versionVersion of the vstats format to use.Global options, Advanced -qphistshow QP histogramGlobal options, Advanced -vc channeldeprecated, use -channelGlobal options, Advanced -tvstd standarddeprecated, use -standardGlobal options, Advanced -isyncthis option is deprecated and does nothingGlobal options, Advanced -sdp_file filespecify a file in which to print sdp informationGlobal options, Advanced -qsv_device deviceset QSV hardware device (DirectX adapter index, DRM path or X11 display name)Global options, Advanced -init_hw_device argsinitialise hardware deviceGlobal options, Advanced -filter_hw_device deviceset hardware device used when filteringGlobal options, Advanced -f fmtforce formatPer-file Main Options -c codeccodec namePer-file Main Options -codec codeccodec namePer-file Main Options -pre presetpreset namePer-file Main Options -map_metadata outfile[,metadata]:infile[,metadata]set metadata information of outfile from infilePer-file Main Options -t durationrecord or transcode "duration" seconds of audio/videoPer-file Main Options -to time_stoprecord or transcode stop timePer-file Main Options -fs limit_sizeset the limit file size in bytesPer-file Main Options -ss time_offset the start time offsetPer-file Main Options -sseof time_offset the start time offset relative to EOFPer-file Main Options -seek_timestampenable/disable seeking by timestamp with -ssPer-file Main Options -timestamp timeset the recording timestamp ('now' to set the current time)Per-file Main Options -metadata string=stringadd metadataPer-file Main Options -program title=string:st=number...add program with specified streamsPer-file Main Options -target typespecify target file type ("vcd", "svcd", "dvd", "dv" or "dv50" with optional prefixes "pal-", "ntsc-" or "film-")Per-file Main Options -apadaudio padPer-file Main Options -frames numberset the number of frames to outputPer-file Main Options -filter filter_graphset stream filtergraphPer-file Main Options -filter_script filenameread stream filtergraph description from a filePer-file Main Options -reinit_filterreinit filtergraph on input parameter changesPer-file Main Options -discarddiscardPer-file Main Options -dispositiondispositionPer-file Main Options -map [-]input_file_id[:stream_specifier][,sync_file_id[:stream_sset input stream mappingPer-file options, Advanced -map_channel file.stream.channel[:syncfile.syncstream]map an audio channel from one stream to anotherPer-file options, Advanced -map_chapters input_file_indexset chapters mappingPer-file options, Advanced -accurate_seekenable/disable accurate seeking with -ssPer-file options, Advanced -itsoffset time_offset the input ts offsetPer-file options, Advanced -itsscale scaleset the input ts scalePer-file options, Advanced -dframes numberset the number of data frames to outputPer-file options, Advanced -reread input at native frame ratePer-file options, Advanced -shortestfinish encoding within shortest inputPer-file options, Advanced -bitexactbitexact modePer-file options, Advanced -copyinkfcopy initial non-keyframesPer-file options, Advanced -copypriorsscopy or discard frames before start timePer-file options, Advanced -tag fourcc/tagforce codec tag/fourccPer-file options, Advanced -q quse fixed quality scale (VBR)Per-file options, Advanced -qscale quse fixed quality scale (VBR)Per-file options, Advanced -profile profileset profilePer-file options, Advanced -attach filenameadd an attachment to the output filePer-file options, Advanced -dump_attachment filenameextract an attachment into a filePer-file options, Advanced -stream_loop loop countset number of times input stream shall be loopedPer-file options, Advanced -thread_queue_sizeset the maximum number of queued packets from the demuxerPer-file options, Advanced -find_stream_inforead and decode the streams to fill missing information with heuristicsPer-file options, Advanced -autorotateautomatically insert correct rotate filtersPer-file options, Advanced -muxdelay secondsset the maximum demux-decode delayPer-file options, Advanced -muxpreload secondsset the initial demux-decode delayPer-file options, Advanced -time_base ratioset the desired time base hint for output stream (1:24, 1:48000 or 0.04166, 2.0833e-5)Per-file options, Advanced -enc_time_base ratioset the desired time base for the encoder (1:24, 1:48000 or 0.04166, 2.0833e-5). two special values are defined - 0 = use frame rate (video) or sample rate (audio),-1 = match source time basePer-file options, Advanced -bsf bitstream_filtersA comma-separated list of bitstream filtersPer-file options, Advanced -fpre filenameset options from indicated preset filePer-file options, Advanced -max_muxing_queue_size packetsmaximum number of packets that can be buffered while waiting for all streams to initializePer-file options, Advanced -dcodec codecforce data codec ('copy' to copy stream)Per-file options, Advanced -vframes numberset the number of video frames to outputVideo Options -r rateset frame rate (Hz value, fraction or abbreviation)Video Options -s sizeset frame size (WxH or abbreviation)Video Options -aspect aspectset aspect ratio (4:3, 16:9 or 1.3333, 1.7777)Video Options -bits_per_raw_sample numberset the number of bits per raw sampleVideo Options -vndisable videoVideo Options -vcodec codecforce video codec ('copy' to copy stream)Video Options -timecode hh:mm:ss[:;.]ffset initial TimeCode value.Video Options -pass nselect the pass number (1 to 3)Video Options -vf filter_graphset video filtersVideo Options -ab bitrateaudio bitrate (please use -b:a)Video Options -b bitratevideo bitrate (please use -b:v)Video Options -dndisable dataVideo Options -pix_fmt formatset pixel formatVideo options, Advanced -intradeprecated use -g 1Video options, Advanced -rc_override overriderate control override for specific intervalsVideo options, Advanced -sameqRemovedVideo options, Advanced -same_quantRemovedVideo options, Advanced -passlogfile prefixselect two pass log file name prefixVideo options, Advanced -deinterlacethis option is deprecated, use the yadif filter insteadVideo options, Advanced -psnrcalculate PSNR of compressed framesVideo options, Advanced -vstatsdump video coding statistics to fileVideo options, Advanced -vstats_file filedump video coding statistics to fileVideo options, Advanced -vstats_versionVersion of the vstats format to use.Video options, Advanced -intra_matrix matrixspecify intra matrix coeffsVideo options, Advanced -inter_matrix matrixspecify inter matrix coeffsVideo options, Advanced -chroma_intra_matrix matrixspecify intra matrix coeffsVideo options, Advanced -toptop=1/bottom=0/auto=-1 field firstVideo options, Advanced -vtag fourcc/tagforce video tag/fourccVideo options, Advanced -qphistshow QP histogramVideo options, Advanced -force_fpsforce the selected framerate, disable the best supported framerate selectionVideo options, Advanced -streamid streamIndex:valueset the value of an outfile streamidVideo options, Advanced -force_key_frames timestampsforce key frames at specified timestampsVideo options, Advanced -hwaccel hwaccel nameuse HW accelerated decodingVideo options, Advanced -hwaccel_device devicenameselect a device for HW accelerationVideo options, Advanced -hwaccel_output_format formatselect output format used with HW accelerated decodingVideo options, Advanced -vc channeldeprecated, use -channelVideo options, Advanced -tvstd standarddeprecated, use -standardVideo options, Advanced -vbsf video bitstream_filtersdeprecatedVideo options, Advanced -vpre presetset the video options to the indicated presetVideo options, Advanced -aframes numberset the number of audio frames to outputAudio Options -aq qualityset audio quality (codec-specific)Audio Options -ar rateset audio sampling rate (in Hz)Audio Options -ac channelsset number of audio channelsAudio Options -andisable audioAudio Options -acodec codecforce audio codec ('copy' to copy stream)Audio Options -vol volumechange audio volume (256=normal)Audio Options -af filter_graphset audio filtersAudio Options -atag fourcc/tagforce audio tag/fourccAudio options, Advanced -sample_fmt formatset sample formatAudio options, Advanced -channel_layout layoutset channel layoutAudio options, Advanced -guess_layout_maxset the maximum number of channels to try to guess the channel layoutAudio options, Advanced -absf audio bitstream_filtersdeprecatedAudio options, Advanced -apre presetset the audio options to the indicated presetAudio options, Advanced -s sizeset frame size (WxH or abbreviation)Subtitle Options -sndisable subtitleSubtitle Options -scodec codecforce subtitle codec ('copy' to copy stream)Subtitle Options -stag fourcc/tagforce subtitle tag/fourccSubtitle Options -fix_sub_durationfix subtitles durationSubtitle Options -canvas_size sizeset canvas size (WxH or abbreviation)Subtitle Options -spre presetset the subtitle options to the indicated presetSubtitle Options

Source and Reference

https://ffmpeg.org/ffmpeg.html

©sideway

ID: 200100802 Last Updated: 8/1/2020 Revision: 0

IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 337

Reference 67

Computer

Hardware 149

Software

Application 198

Digitization 105

Numeric 19

Programming

Web 283

Unicode 494

HTML 65

CSS 58

ASP.NET 66

OS 389

DeskTop 7

Python 17

Knowledge

Mathematics

Formulas 8

Algebra 25

Number Theory 206

Trigonometry 18

Geometry 18

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Physics

Electric 27

Biology 1

Geography 1


Copyright © 2000-2020 Sideway . All rights reserved Disclaimers last modified on 06 September 2019