MP4Box(1) GPAC MP4Box(1) (NAME) MP4Box - GPAC (SYNOPSIS) MP4Box [options] [file] [options] (GENERAL OPTIONS) MP4Box : (splitting) (hinting) (dumping) DASH (transcoding) . MP4Box ( .I -h ). . MP4Box . .I out . MP4Box (interleaving) ( moov ...) HTTP . .I flat . MP4Box IsoMedia . . .I -tmp . ( tkID ) : * INT: INT * n`INT`: INT * `audio` `video` `text`: * `audioN` `videoN` `textN`: N N=1 : . (boolean) . -mem-track (memory tracker) -mem-track-stack (stack dumping) -p (string) (profile) GPAC. . . . 0 . -p=NAME -p NAME . -inter (number, default: 0.5) (interleave) (chunks) . 0 -old-inter (number) .I inter (drift correction) -tight ( ). (seek) -flat . -frag (number) (fragment) . -out (string) ISOBMFF. -co64 ISOBMFF -new -newfs -no-sys,-nosys MPEG-4 Systems IOD . / -no-iod MPEG-4 InitialObjectDescriptor -mfra (movie fragment random offset) ( dash ) -isma ISMA 1.0 -ismax .I isma -3gp 3GPP(2) ( MPEG-4) .3gp .3g2 .3gpp . -ipod iPod iTunes -psp PSP -brand (string) (major brand) (ABCD) (ABCD:v) -ab (string) (brand) -rb (string) (brand) -cprt (string) () -chap (string) . ( ): * ZoomPlayer: AddChapter(nb_frames,chapter name) AddChapterBySeconds(nb_sec,chapter name) AddChapterByTime(h,m,s,chapter name) * : h:m:s chapter_name h:m:s:ms chapter_name h:m:s.ms chapter_name * SMPTE: h:m:s;nb_f/fps chapter_name h:m:s;nb_f chapter_name nb_f fps * : CHAPTERX=h:m:s[:ms or .ms] CHAPTERXNAME=name ( ) -chapqt (string) QT -set-track-id tkID:id2 id2 -swap-track-id tkID1:tkID1 id1 id2 -rem (int) -rap (int) RAP -refonly (int) -enable (int) -disable (int) -timescale (int, default: 600) (timescale) ( ) -set-vexu vexu MV- HEVC MP4 -hero-eye (int, default: 0) hero_eye_indicator HeroStereoEyeDescriptionBox (0 = 1 = 2 = ) -lang [tkID=]LAN . LAN BCP-47 (eng en-UK ...). -delay tkID=TIME (0<) (0>) (N/D) -par tkID=PAR (PAR) . PAR : * N:D: PAR N:D bitstream * wN:D: PAR N:D bitstream * none: PAR bitstream * auto: PAR bitstream * force: PAR 1:1 bitstream -clap tkID=CLAP (clean aperture) . CLAP Wn,Wd,Hn,Hd,HOn,HOd,VOn,VOd none * n, d: * W, H, HO, VO: clap clap clap clap -mx tkID=MX MX M1:M2:M3:M4:M5:M6:M7:M8:M9 . (16.16 fixed point) -kind tkID=schemeURI=value (kind) all=schemeURI=value -kind-rem tkID=schemeURI=value (kind) schemeID all=schemeURI=value -name tkID=NAME (track handler name) NAME ( UTF-8) -tags,-itags (string) iTunes -h tags -group-add (string) . (:) : * refTrack=ID: . trackID . 0 (alternate group) * switchID=ID: switch group . 0 . (<0) SwitchGroup * criteria=string: 4CC * trackID=ID: : trackID=1:criteria=lang:trackID=2 criteria=lang:trackID=1:trackID=2 -group-rem-track (int) -group-rem (int) -group-clean -ref tkID:R4CC:refID R4CC ID refID ( refID 0 ) -keep-utc UTC -udta tkID:[OPTS] udta tkID 0 . OPTS (:) : * type=CODE: 4CC UDTA ( box= ) * box=FILE: udta (serialized boxes) * box=base64,DATA: udta base64 * src=FILE: udta ( CODE ) * src=base64,DATA: udta base64 ( CODE ) * str=STRING: (payload) udta : UDTA CODE -patch [tkID=]FILE (box patch) FILE trackID -bo (boxes) -init-seg (string) (init segment) -zmov ISOBMFF mov QT -xmov zmov ftyp otyp -edits tkID=EDITS (edit list). ( ): * `r`: * `eSTART`: . START : - VAL: (int double ) - VAL-DUR: (int double ) * `eSTART,MEDIA[,RATE]`: (int double ) ( INT) * : - re0-5e5-3,4: 0s 5s 5s 3s 4s - re0-4,0,0.5: 0s 4s 0s 0.5 -moovpad (int) (padding) moov (inplace) - 0 padding moov -no-inplace (inplace) -hdr (string) HDR XML 'none' HDR -time [tkID=]DAY/MONTH/YEAR-H:M:S -mtime tkID=DAY/MONTH/YEAR-H:M:S (Extracting Options) MP4Box MP4 . . : -raw (string) (raw) . tkID:output=FileName -raws (string) . N- tkID:N -nhnt (int) NHNT -nhml (string) NHML. NHML tkID:full -webvtt-raw (string) WebVTT . WebVTT tkID:embedded -single (int) mp4 -six (int) XML -mux (string) (multiplex) -qcp (int) .I raw QCP EVRC/SMV -saf SAF -dvbhdemux (demultiplex) DVB-H IP -raw-layer (int) .I raw SVC/MVC/LHVC -diod IOD -mpd (string) HLS smooth ( http ) MPD - -url-template -segment-timeline . : gpac -h dasher : DASH DASH (DASH Options) : - dasher `gpac -h dasher` - [[ DASH|DASH-intro]]. dash : * #trackID=N: N * #N: N ( .I -tkid) * #video: * #audio: * #Prop=Value: PID SID ( `gpac -h doc`) * :id=NAME: Representation NAME. NULL Representation (multiplexed) . . * :dur=VALUE: VALUE () . VALUE (sample) . * :period=NAME: (Period) Representation NAME. . MPD * :BaseURL=NAME: BaseURL. BaseURL : ( segment template ). * :bandwidth=VALUE: Representation * :pdur=VALUE: VALUE () ( period_duration:VALUE). ( ) :period=X:xlink=Z:pdur=Y * :ddur=VALUE: DASH VALUE () ( duration:VALUE) * :xlink=VALUE: xlink . xlink Representation * :asID=VALUE: AdaptationSet VALUE ( unsigned int) * :role=VALUE: Representation ( DASH). (AdaptationSet) . * :desc_p=VALUE: Period. * :desc_as=VALUE: AdaptationSet. AdaptationSet . * :desc_as_c=VALUE: AdaptationSet. AdaptationSet . * :desc_rep=VALUE: Representation. AdaptationSet . * :sscale: (movie timescale) . * :trackID=N: #trackID= * @f1[:args][@fN:args][@@fK:args]: dasher. `gpac -h doc` . : - @ - @@ . Representation . source.mp4:@c=avc:b=1M@@c=avc:b=500k dasher . source.mp4:@c=avc:b=1M@c=avc:b=500k (!!). : @f . : (Descriptors) XML . file@FILENAME . (OPTIONS) -dash (number) DASH ( onDemand ) -dash-live (number) DASH -dash-live=F (context) F . MP4Box q -ddbg-live (number) .I dash-live -frag (number) (fragment) . DASH ( ) -out (string) MPD -profile,-dash-profile (string) DASH . full live ( :live .live ). onDemand live main simple full hbbtv1.5.live dashavc264.live dashavc264.onDemand dashif.ll -profile-ext (string) (profile extensions) DASH-IF DVB . (:) -rap (RAP) -frag-rap ( ) -segment-name (string) . () live dash_%%s . : - $Number[%%0Nd]$ 0 - $RepresentationID$ Representation - $Time$ - $Bandwidth$ Representation - $Init=NAME$ (init segment) NAME - $Index=NAME$ (index segments) NAME - $Path=PATH$ PATH - $SubNumber[%%0Nd]$ 0 - $Segment=NAME$ NAME (init) -segment-ext (string, default: m4s) null -init-segment-ext (string, default: mp4) init index (bitstream switching) null -segment-timeline SegmentTimeline -segment-marker (string) (box) (4CC) DASH -insert-utc UTC ISOBMF -base-url (string) Base URL MPD. . : -mpd-title (string) MPD -mpd-source (string) (source) MPD -mpd-info-url (string) (info url) MPD -cprt (string) () MPD -dash-ctx (string) / DASH -dynamic MPD (dynamic) (static) -last-dynamic .I dynamic (period) ( lmsg ) -mpd-duration (number) (live) ( 0 .I mpd-refresh ) -mpd-refresh (number) MPD -time-shift (int) (time-shift) MPD -1 . 0 -subdur (number) DASH LIVE context. (segment) . (loop) .I no- loop (period) -run-for (int) dash-live -min-buffer (int) MPD -ast-offset (int) AvailabilityStartTime MPD availabilityTimeOffset representation -dash-scale (int) .I dash .I dash- live .I subdur .I frag (timescale) ( ) -mem-frags (fragmentation) -pssh (int) pssh * v: (initial movie) * f: (movie fragments) * m: MPD * mv, vm: MPD * mf, fm: MPD * n: PSSH MPD -sample-groups-traf traf ( traf). -mvex-after-traks mvex trak moov. mvex -sdtp-traf (int) sdtp traf ( Smooth) * no: sdtp * sdtp: sdtp trun * both: sdtp trun -no-cache (cache) dash -no-loop (period switch) -hlsc UTC (variant playlists) HLS -bound -closest ( ) -subsegs-per-sidx,-frags-per-sidx (int) (subsegments) SIDX * 0: SIDX * -1: SIDX -ssix SubsegmentIndexBox : moof I (unmapped). daisy chaining -url-template SegmentTemplate . -url-template-sim SegmentTemplate HLS MPD -daisy-chain SIDX (daisy-chain) . frags/sidx 0 -single-segment ( OnDemand) -single-file () -bs-switching (string, default: inband, values: inband|merge|multi|no|single) (bitstream switching) * inband: inband (init segment) * merge: (sample description) no * multi: * no: * pps: VPS SPS DCI (out-of-band) PPS APS * single: -moof-sn (int) (sequence number) moof -tfdt (int) TFDT traf ( -dash-scale) -no-frags-default trex ( dash-if CMAF/smooth streaming) -single-traf track fragment moof ( /smooth streaming ) -tfdt-traf tfdt ( -single-traf ) -dash-ts-prog (int) (program_number) MPTS -frag-rt (fragments) -cp-location (string) ContentProtection * as: ContentProtection AdaptationSet * rep: ContentProtection Representation * both: ContentProtection -start-date (string) ( xs:date YYYY-MM-DDTHH:MM:SSZ). UTC : (periods) DASH GOP -cues (string) dash cue XML ( tests/media/dash_cues ) -strict-cues cue cue -merge-last-seg (segment) (File splitting) MP4Box () IsoMedia . ( ). MPEG-4 Systems hint . (RAP) . . . ( ) . : * `S-E`: S E HH:MM:SS.ms MM:SS.ms (int double ) * `S:E`: S E (int double ). D E E = S + time * `S:end` `S:end-N`: S (int double) N (int double) MP4Box reframer : - splitrange reframer - alltk - xs xe reframer - -splitz xadjust xround=after - -splitg xadjust xround=before - -splitf xround=seek propbe_refset - -splitx xround=closest propbe_ref (full interleave) . -flat -newfs -inter -frag . () -out ( -out split$num%04d$.mp4 split0001.mp4 split0002.mp4 ). -splitx -splitz -splitg . -split (string) ( ) . : * `M` `m`: * `H` `h`: -split-rap,-splitr RAP -split-size,-splits (string) ( ) . : * `M` `m`: * `G` `g`: -split-chunk,-splitx (string) : - RAP - -splitz (string) A:B B:C B : - RAP - RAP -splitg (string) : - RAP - RAP -splitf (string) (edits) MP4Box . : -std / stdout stdout -stdb / stdout stdout -tracks stdout -info (string) ( ) ID -infon (string) -infox ( -info N ) -diso,-dmp4 IsoMedia XML -dxml IsoMedia XML -disox IsoMedia XML -keep-comp -keep-ods ODs ESDs ISOM ( ) -bt BT -xmt XMT -wrl VRML -x3d X3D XML -x3dv X3D VRML -lsr LASeR XML (XSR) -svg SVG -drtp rtp hint XML -dts -dtsx .I dts -dtsc .I dts dts/cts (!) -dtsxc .I dtsc (!) -dnal (int) NAL -dnalc (int) NAL CRC nal -dnald (int) NAL DTS CTS -dnalx (int) NAL DTS CTS CRC nal -sdp SDP hint -dsap (int) DASH SAP ( -cues ) -dsaps (int) .I dsap -dsapc (int) .I dsap CTS -dsapd (int) .I dsap DTS -dsapp (int) .I dsap (presentation time) -dcr ISMACryp XML -dchunk chunk -dump-cover (cover art) -dump-chap TTXT -dump-chap-ogg OGG -dump-chap-zoom zoom -dump-udta [tkID:]4cc 4CC . tkID UDTA (track ID) moov -mergevtt vtt -ttxt (int) GPAC TTXT. GPAC TTXT -srt (int) SRT. SRT -nstat / (node/field) -nstats / (Access Unit) -nstatx / AU -hash (Hash) SHA-1 -comp (string) (top-level boxes) orig_4cc_1=comp_4cc_1[,orig_4cc_2=comp_4cc_2] -topcount (string) stdout 4cc_1,4cc_2N -topsize (string) ( ) stdout 4cc_1,4cc_2N all -bin XML NHML -mpd-rip MPD (segments) -udp-write (string, default: IP[:port]) UDP ( 2345) -raw-cat (string) (raw concatenation) -wget (string) http(s) -dm2ts MPEG-2 TS -check-xml XML -dnal* -diso* -dxml -fuzz-chk (probing) ( fuzz) (Importing Options) (File importing) .I add / .I cat URL[#FRAGMENT][:opt1...:optN=val] . () . .I -new . (filters) . '#' . : * `#video`: * `#audio`: * `#auxv`: * `#pict`: * `#trackID=ID` `#ID`: . IsoMedia ID track ID . ID MP4Box -info inputFile * `#pid=ID`: PID MPEG-2 TS * `#prog_id=ID`: MPEG-2 TS * `#program=NAME`: MPEG-2 TS (interleaving) ISOBMF ( ) . .I -flat . .I -newfs . .I -new ( ). : - ( X ) ( AVC xps_inband ). - ( D ) . - .I cat . cat/add (playlist) . (Source URL) GPAC . : SRT SUB MP4Box . ( SRT/SUB serif fontSize 400x60 ). TTXT . / . . -add stream[:opt1:...:optN] . self () . -add self:moovts=-1:noedit src.mp4 moovts noedit src.mp4 -add self#2:moovts=-1:noedit src.mp4 moovts noedit ID=2 src.mp4 S . ISOBMFF/QT C S . E . : dur (int) XCE . : * : * : NUM/DEN * : start (number) C lang (string) SE delay (int) SE (0<) (0>) (N/D) par (string) S (: .I -par ) clap (string) S (clean aperture) (: .I -clap ) mx (string) SE (: .I -mx ) name (string) S ext (string) hdlr (string) S (4CC) stype (string) S (sample description) (4CC) tkhd (int) SE enable movie preview size_ar ( tkhd+=FLAGS tkhd-=FLAGS ) disable SE () disable=no group (int) SE G. G 0 GroupID fps (string) S .I fps rap DS RAP refs DS trailing AVC/HEVC agg (int) X .I agg dref XC .I dref keep_refs C nodrop .I no-drop packed X .I packed sbr .I sbr sbrx .I sbrx ovsbr .I ovsbr ps .I ps psx .I psx asemode (string) XS AudioSampleEntry. : * v0-s: MPEG AudioSampleEntry v0 ( Dolby (e)AC3/4) - * v0-2: MPEG AudioSampleEntry v0 * v0-bs: MPEG AudioSampleEntry v0 * v1: MPEG AudioSampleEntry v1 * v1-qt: QuickTime Sound Sample Description ( ). alis url audio_roll (int) S roll roll_distance N roll (int) S roll roll_distance N proll (int) S preroll roll_distance N mpeg4 X .I mpeg4 nosei SEI svc SVC/LHVC ( AVC) nosvc SVC/LHVC svcmode (string) DS SVC/LHVC. : * split: * merge: * splitbase: * splitnox: (extractor) * splitnoxib: (inband) temporal (string) DS (temporal sublayer) HEVC/LHVC. : * split: * splitbase: HEVC * splitnox: (extractor) subsamples SubSample AVC+SVC deps AVC HEVC ccst S (box) ccst HEIF (visual sample entry) forcesync SE IDR I-slice ( OpenGOP GDR) (sync points) : (seeking) xps_inband XC xPS inband AVC/H264 HEVC ( ) xps_inbandx XC xps_inband xPS (sample description) au_delim NAL (AU delimiter) max_lid (int) (max layer ID) HEVC N ( ) max_tid (int) (max temporal ID) HEVC N ( ) tiles S HEVC NALU split_tiles DS HEVC ( /) negctts S CTS-DTS ( ISO4). negctts=no chap SE (chapter track) chapter (string) SE ( nero) chapfile (string) SE ( nero) layout (string) SE WxH[xXxY][xLAYER]. W ( H) 0 ( ) rescale (int) S (timescale) TS ( ) sampdur (int) S (D) (D/TS) CFR timescale (int) S TS moovts (int) SE TS. noedit XS (edit list) B-frames rvc (string) S RVC fmt (string) - (data probing) ext profile (int) S AVC. high444 high extended main baseline level (int) S (level) AVC < 6 compat (int) S H.264 novpsext VPS HEVC VPS keepav1t OBU AV1 dlba (string) S DolbyAtmos EAC3. : * no: Atmos * auto: Atmos * N: Atmos N font (string) ( Serif) size (int) ( 18) text_layout (string) WxHxXxY * W ( H) = 0 : ( ) * Y=-1 : * X Y : :layout=WxH swf-global (defines) SWF (scene replace) swf-no-ctrl ( ActionScript ) swf-no-text SWF swf-no-font SWF ( ) swf-no-line SWF swf-no-grad SWF swf-quad swf-xlp swf-ic2d (indexed curve 2D hardcoded proto) swf-same-app (appearance nodes) swf-flatten (number) (flattening) kind (string) SE kind schemeURI=value txtflags (int) ( ) . txtflags+=FLAGS txtflags-=FLAGS rate (int) VAL ( bps) btrt. btrt stz2 S ( ) bitdepth (int) VAL ( ) colr (string) S . : * nclc,p,t,m: p ( ) t ( ) m ( ) -h cicp * nclx,p,t,m,r: nclx r ( yes on no off) * prof,path: path ICC * rICC,path: path ICC * 'none': hdr (string) S HDR ( .I -hdr ) 'none' HDR dvp,-dv-profile (string) S Dolby Vision - none DV - 5.hdr10 - none hdr10 bt709 hlg709 hlg2100 bt2020 brd DV - 'f' DV f8.2 dvmdc (int) S Dolby Vision ( : 0 1 3. = 0) fullrange (string) S (fullrange) VUI AVC|H264 ( yes on no off) videofmt (string) S VUI AVC|H264 HEVC component pal ntsc secam mac undef colorprim (string) S VUI AVC|H264 HEVC ( -h cicp) colortfc (string) S VUI AVC|H264 HEVC ( -h cicp) colormx (string) S VUI AVC|H264 HEVC ( -h cicp) tc (string) SE (timecode) QT. : * [d]FPS[/FPS_den],h,m,s,f[,framespertick]: drop ( ) * : d drop-frame * : framespertick round(framerate) edits (string) SE (edit list) .I -edits lastsampdur (string) S . : * : * : * N/D: ID (int) SE - 0 () - -1 - tkgp (string) SE . TYPE,N TYPE (4CC) N . -N tkidx (string) SE extk CE (external) times (string) SE . : - # () timescale=V ( ) - - cts dts cts stats,-fstat C graph,-fgraph C sopt:[OPTS] OPTS (source filter). OPTS : `gpac -h doc` dopt:[OPTS] OPTS (destination filter). OPTS : `gpac -h doc` @f1[:args][@fN:args] (multiplexer). : `gpac -h doc`. @@ ( DASH ). (ID) . : sopt dopt @f . (GLOBAL IMPORT OPTIONS) -add (string) . + : -add url1+url2 -cat (string) (samples) . + : -cat url1+url2. : (timestamp) . -catx (string) cat +ADD_COMMAND ADD_COMMAND add . -catpl (string) ( # ). : -cat . -unalign-cat . -force-cat . : () (THIS MAY BREAK THE CONCATENATED TRACK(S)). -keep-sys MPEG-4 add cat ( IsoMedia ). -dref (data referencing). ( ) . MP4 . : ( IsoMedia) (interleaving) (bitstream) (AVC HEVC ). -no-drop,-nodrop (constant FPS) AVI. -packed (packed bitstream) MPEG-4 part 2 Advanced Simple Profile . -sbr (backward compatible) AAC-SBR. -sbrx (non-backward compatible) AAC-SBR. -ps (backward compatible) AAC-PS. -psx (non-backward compatible) AAC-PS. -ovsbr SBR (oversample) (AAC SBR AAC PS SBR ). -fps (string) SUB TS-inc TS/inc. : H263 FPS . ISOBMFF rescale: . -mpeg4 (sample descriptions) MPEG-4 . AAC MPEG-4 AAC MPEG-2 . -agg (int) N ( 3GP ). (hinting) IsoMedia (multiplexing) . (hints) hint . MP4Box hint RTSP QuickTime Streaming Server DarwinStreaming Server RTSP 3GPP . : GPAC rtp rtsp hint (on- the-fly) MP4 . : -hint (hint) RTP/RTSP -mtu (int, default: 1450) MTU RTP ( ) ( RTP) -copy hint ( ) -multi [maxptime] RTP ( maxptime ) -rate (int, default: 90000) rtp (Hz) payload -mpeg4 (payload) MPEG-4 -latm MPG4-LATM AAC -static (static) payload RTP ( payload ) -add-sdp (string) SDP (string) (tkID:string) tkID hint -no-offset (sequence number) ( ) -unhint hinting -group-single hint -ocr MPEG-4 ( MPEG-4 Systems) -rap (RAP) RTP ( MPEG-4 Systems) -ts AU RTP ( MPEG-4 Systems) -size AU RTP ( MPEG-4 Systems) -idx AU RTP ( MPEG-4 Systems) -iod systems IOD ( MPEG-4 Systems) .I -isma MPEG-4 (MPEG-4 SCENE ENCODING OPTIONS) MP4Box BT XMT VRML ( ) X3D MPEG-4 BIFS XSR SVG MPEG-4 LASeR . MuxInfo MP4 . https://wiki.gpac.io/Howtos/scenecoding/MPEG-4-BIFS-Textual- Format . (Scene Random Access) MP4Box BIFS LASeR . (broadcast) . MPEG-4 (scene carousel) . ## BIFS (chunk) BIFS (AU) BIFS (context) . AU BIFS ( SL) FILE-ESID-AUIDX.bifs FILE . 0 carousel ( context ) . 0 AU . : -mp4 BIFS/LASeR -def DEF BIFS -sync (int) (sync sample) BIFS ( .I shadow .I carousel ) -shadow (int) BIFS sync shadow ( .I sync .I carousel ) -carousel (int) BIFS carousel ( .I sync .I shadow ) -sclog (log) -ms (string) -ctx-in (string) (MP4/BT/XMT) . -ctx-out (string) (MP4/BT/XMT) -resolution (int) (- ) LASeR (truncation) 2^res ( LASeR) -coord-bits (int) ( ) ( LASeR) -scale-bits (int) ( ) ( LASeR) -auto-quant (int) .I resolution coord-bits scale-bits ( LASeR) -global-quant (int) .I resolution res ( BIFS) MP4Box ISMA OMA CENC `gpac -h cecrypt` . XML CryptFile https://wiki.gpac.io/xmlformats/Common-Encryption . (HEIF) CENC / . : -crypt (string) CryptFile -decrypt (string) CryptFile . CryptFile -set-kms tkID=kms_uri KMS ISMA/OMA =all HEIF (META AND HEIF OPTIONS) IsoMedia XML . HEIF MPEG-21 . HEIF/IFF MPEG-21 . -set-meta ABCD[:tk=tkID] (meta box) ABCD (NULL 0 ) * tk : () * tkID == 0: moov * tkID != 0: -add-item (string) file_path[:opt1:optN] * file_path `this` `self`: * tk=tkID: (file moov track) * name=str: none * type=itype: 4cc ( mime ) * mime=mtype: mime none * encoding=enctype: content-encoding none * id=ID: ( ) * ref=4cc,id: 4cc ( 'dimg' 'auxl' 'cdsc') ( ) * group=4cc,id: 4cc ( 'altr') * replace: -add-image (string) HEIF file_path[:opt1:optN]. filepath MP4 * name id ref group: .I add-item * primary: (primary) * time=t[-e][/i]: (sync sample) t ( 0). intra - e ( ) t e - i ( ) * split_tiles: (tiled) HEVC * image-size=wxh: bitstream grid overlay identity * rotation=a: a*90 ( ) * mirror-axis=axis: : vertical () horizontal () * clap=Wn,Wd,Hn,Hd,HOn,HOd,VOn,VOd: clap * image-pasp=axb: * image-pixi=(a|a,b,c): ( ) * hidden: * icc_path: icc * alpha: (alpha) ( ref=auxl ) * depth: (depth) ( ref=auxl ) * it=ID: . * itp=ID: =it * tk=tkID: . 0 * samp=N: * ref: / filepath * agrid[=AR]: . AR ( ) AR . * av1_op_index: AV1 (operating point) a1op * replace: keep_props * keep_props=4CCs: keep_props=auxC * auxt=URN: URN * auxd=FILE: FILE ( auxC ) - .I -add -add-derived-image (string) (grid) (overlay) (identity) :type=(grid|iovl|iden)[:opt1:optN] * image-grid-size=rxc: * image-overlay-offsets=h,v[,h,v]*: * image-overlay-color=r,g,b,a: (canvas) [0-65535] - .I add-image -rem-item,-rem-image item_ID[:tk=tkID] (meta) -set-primary item_ID[:tk=tkID] -set-xml xml_file_path[:tk=tkID][:binary] XML -rem-xml [tk=tkID] XML -dump-xml file_path[:tk=tkID] (dump) XML -dump-item item_ID[:tk=tkID][:path=fileName] (dump) -package (string) XML ISO -mgt (string) XML MPEG-U ISO MP4Box Macromedia Flash (<<.SWF>>) (import) SWF '-bt' '-xmt' '-mp4' : -global (defines) SWF -no-ctrl (stream) ( ActionScript ) -no-text SWF -no-font SWF ( ) -no-line SWF -no-grad SWF -quad (quadratic) (cubic) -xlp -ic2d (hardcoded proto) (indexed curve 2D) -same-app (appearance nodes) -flatten (number) 0 (flattening) (Tagging support) tag_name=tag_value[:tag2=val2] NULL . clear ( reset) . cust DOMAIN,MEAN, . -itags cust='com.apple.iTunes,iTunEXTC,My Tag Value' DOMAIN / NAME . (4CC) . 0xA9 . -itags filename . UTF8 : - tag_name=value - WM/ Xtra ( WMA ). (QT metadata key) QT : - tag_name QT/ - tag_name tag_name HDLR@ (4CC) mdta . (tag_value) : * S: ( ) * b: * s: * l: * L: * f: (float) (variable-size) . + . -tags io.gpac.some_tag=s+32 32 . (tag_value) : * XxY@WxH: (rectangle) * XxY: (point) * W@H: (size) * A,B,C,D,E,F,G,H,I: x * FNAME: FNAME jpeg png title ((C)nam) ( name) artist ((C)ART) album_artist (aART) ( albumArtist) album ((C)alb) group ((C)grp) ( grouping) composer ((C)com) writer ((C)wrt) conductor ((C)con) comment ((C)cmt) ( comments) genre (gnre) ( ID3) created ((C)day) ( releaseDate) track ((C)trk) tracknum (trkn) (: A/B A B 0 ) disk (disk) (: A/B A B 0 ) tempo (tmpo) compilation (cpil) (yes no) show (tvsh) ( tvShow) episode_id (tven) ( tvEpisodeID) season (tvsn) ( tvSeason) episode (tves) ( tvEPisode) network (tvnn) ( tvNetwork) sdesc (desc) ( description) ldesc (ldes) ( longDescription) lyrics ((C)lyr) sort_name (sonm) ( sortName) sort_artist (soar) ( sortArtist) sort_album_artist (soaa) ( sortAlbumArtist) sort_album (soal) ( sortAlbum) sort_composer (soco) ( sortComposer) sort_show (sosn) ( sortShow) cover (covr) ( artwork) copyright (cprt) tool ((C)too) ( encodingTool) encoder ((C)enc) ( encodedBy) pdate (purd) ( purchaseDate) podcast (pcst) (yes no) url (purl) ( podcastURL) keywords (kyyw) category (catg) hdvideo (hdvd) media (stik) ( mediaType) rating (rtng) ( contentRating) gapless (pgap) (yes no) art_director ((C)ard) arranger ((C)arg) lyricist ((C)aut) acknowledgement ((C)cak) song_description ((C)des) director ((C)dir) equalizer ((C)equ) liner ((C)lnt) record_company ((C)mak) original_artist ((C)ope) phono_rights ((C)phg) producer ((C)prd) performer ((C)prf) publisher ((C)pub) sound_engineer ((C)sne) soloist ((C)sol) credits ((C)src) thanks ((C)thx) online_info ((C)url) exec_producer ((C)xpd) genre ((C)gen) ( ID3) location ((C)xyz) opt_name=opt_val . : -live BIFS/LASeR -dst () IP -port ( : 7000) (port) -mtu ( : 1450) MTU RTP -ifce () IP -ttl ( : 1) (TTL) (multicast) -sdp ( : session.sdp) SDP -dims DIMS SVG -no-rap RAP carousel -src () -rap ( ) (carousel) RAP ESID ( DIMS) ESID=X:time : * q: * u: * U: u (critical) * e: (aggregation) * E: e (critical) * f: RAP * F: RAP * p: (dump) (EXAMPLES) https://wiki.gpac.io/MP4Box/MP4Box (MORE) : GPAC git (-log) https://github.com/gpac/gpac : 26.07 : (c) 2000-2024 Telecom Paris LGPL v2.1+ - https://gpac.io (SEE ALSO) gpac(1) MP4Box 2019 MP4Box(1)