Muxer mp4 [MP4 (MPEG-4 Part 14)]: Common extensions: mp4. Mime type: video/mp4. Default video codec: h264. Default audio codec: aac. mov/mp4/tgp/psp/tg2/ipod/ismv/f4v muxer AVOptions: -movflags <flags> E.......... MOV muxer flags (default 0) rtphint E.......... Add RTP hint tracks empty_moov E.......... Make the initial moov atom empty frag_keyframe E.......... Fragment at video keyframes frag_every_frame E.......... Fragment at every frame separate_moof E.......... Write separate moof/mdat atoms for each track frag_custom E.......... Flush fragments on caller requests isml E.......... Create a live smooth streaming feed (for pushing to a publishing point) faststart E.......... Run a second pass to put the index (moov atom) at the beginning of the file omit_tfhd_offset E.......... Omit the base data offset in tfhd atoms disable_chpl E.......... Disable Nero chapter atom default_base_moof E.......... Set the default-base-is-moof flag in tfhd atoms dash E.......... Write DASH compatible fragmented MP4 cmaf E.......... Write CMAF compatible fragmented MP4 frag_discont E.......... Signal that the next fragment is discontinuous from earlier ones delay_moov E.......... Delay writing the initial moov until the first fragment is cut, or until the first fragment flush global_sidx E.......... Write a global sidx index at the start of the file skip_sidx E.......... Skip writing of sidx atom write_colr E.......... Write colr atom even if the color info is unspecified (Experimental, may be renamed or changed, do not use from scripts) prefer_icc E.......... If writing colr atom prioritise usage of ICC profile if it exists in stream packet side data write_gama E.......... Write deprecated gama atom use_metadata_tags E.......... Use mdta atom for metadata. skip_trailer E.......... Skip writing the mfra/tfra/mfro trailer for fragmented files negative_cts_offsets E.......... Use negative CTS offsets (reducing the need for edit lists) -moov_size <int> E.......... maximum moov size so it can be placed at the begin (from 0 to INT_MAX) (default 0) -rtpflags <flags> E.......... RTP muxer flags (default 0) latm E.......... Use MP4A-LATM packetization instead of MPEG4-GENERIC for AAC rfc2190 E.......... Use RFC 2190 packetization instead of RFC 4629 for H.263 skip_rtcp E.......... Don't send RTCP sender reports h264_mode0 E.......... Use mode 0 for H.264 in RTP send_bye E.......... Send RTCP BYE packets when finishing -skip_iods <boolean> E.......... Skip writing iods atom. (default true) -iods_audio_profile <int> E.......... iods audio profile atom. (from -1 to 255) (default -1) -iods_video_profile <int> E.......... iods video profile atom. (from -1 to 255) (default -1) -frag_duration <int> E.......... Maximum fragment duration (from 0 to INT_MAX) (default 0) -min_frag_duration <int> E.......... Minimum fragment duration (from 0 to INT_MAX) (default 0) -frag_size <int> E.......... Maximum fragment size (from 0 to INT_MAX) (default 0) -ism_lookahead <int> E.......... Number of lookahead entries for ISM files (from 0 to 255) (default 0) -video_track_timescale <int> E.......... set timescale of all video tracks (from 0 to INT_MAX) (default 0) -brand <string> E.......... Override major brand -use_editlist <boolean> E.......... use edit list (default auto) -fragment_index <int> E.......... Fragment number of the next fragment (from 1 to INT_MAX) (default 1) -mov_gamma <float> E.......... gamma value for gama atom (from 0 to 10) (default 0) -frag_interleave <int> E.......... Interleave samples within fragments (max number of consecutive samples, lower is tighter interleaving, but with more overhead) (from 0 to INT_MAX) (default 0) -encryption_scheme <string> E.......... Configures the encryption scheme, allowed values are none, cenc-aes-ctr -encryption_key <binary> E.......... The media encryption key (hex) -encryption_kid <binary> E.......... The media encryption key identifier (hex) -use_stream_ids_as_track_ids <boolean> E.......... use stream ids as track ids (default false) -write_btrt <boolean> E.......... force or disable writing btrt (default auto) -write_tmcd <boolean> E.......... force or disable writing tmcd (default auto) -write_prft <int> E.......... Write producer reference time box with specified time source (from 0 to 2) (default 0) wallclock 1 E.......... pts 2 E.......... -empty_hdlr_name <boolean> E.......... write zero-length name string in hdlr atoms within mdia and minf atoms (default false) -movie_timescale <int> E.......... set movie timescale (from 1 to INT_MAX) (default 1000)
Demuxer mov,mp4,m4a,3gp,3g2,mj2 [QuickTime / MOV]: Common extensions: mov,mp4,m4a,3gp,3g2,mj2,psp,m4b,ism,ismv,isma,f4v,avif. mov,mp4,m4a,3gp,3g2,mj2 AVOptions: -use_absolute_path <boolean> .D.V....... allow using absolute path when opening alias, this is a possible security issue (default false) -seek_streams_individually <boolean> .D.V....... Seek each stream individually to the closest point (default true) -ignore_editlist <boolean> .D.V....... Ignore the edit list atom. (default false) -advanced_editlist <boolean> .D.V....... Modify the AVIndex according to the editlists. Use this option to decode in the order specified by the edits. (default true) -ignore_chapters <boolean> .D.V....... (default false) -use_mfra_for <int> .D.V....... use mfra for fragment timestamps (from -1 to 2) (default auto) auto -1 .D.V....... auto dts 1 .D.V....... dts pts 2 .D.V....... pts -use_tfdt <boolean> .D.V....... use tfdt for fragment timestamps (default true) -export_all <boolean> .D.V....... Export unrecognized metadata entries (default false) -export_xmp <boolean> .D.V....... Export full XMP metadata (default false) -activation_bytes <binary> .D......... Secret bytes for Audible AAX files -audible_key <binary> .D......... AES-128 Key for Audible AAXC files -audible_iv <binary> .D......... AES-128 IV for Audible AAXC files -audible_fixed_key <binary> .D......... Fixed key used for handling Audible AAX files -decryption_key <binary> .D......... The media decryption key (hex) -enable_drefs <boolean> .D.V....... Enable external track support. (default false) -max_stts_delta <int> .D......... treat offsets above this value as invalid (from 0 to UINT32_MAX) (default 4294487295)
-h (string): print help * general: general options help * hint: hinting options help * dash: DASH segmenter help * import: import options help * encode: encode options help * meta: meta handling options help * extract: extraction options help * dump: dump options help * swf: Flash (SWF) options help * crypt: ISMA E&A options help * format: supported formats help * live: BIFS streamer help * core: libgpac core options * all: print all the above help screens * opts: print all options * VAL: search for option named VAL (without - or --) in MP4Box, libgpac core and all filters
-hx (string): look for given string in all possible options -nodes: list supported MPEG4 nodes -node (string): get given MPEG4 node syntax and QP infolist -xnodes: list supported X3D nodes -xnode (string): get given X3D node syntax -snodes: list supported SVG nodes -languages: list supported ISO 639 languages -boxes: list all supported ISOBMF boxes and their syntax -fstat: print filter session statistics (import/export/encrypt/decrypt/dashing) -fgraph: print filter session graph (import/export/encrypt/decrypt/dashing) -v: verbose mode -version: get build version --- INPUT: escape option if INPUT starts with - character