File Dumping

MP4Box has many dump functionalities, from simple track listing to more complete reporting of special tracks.  
    
Options:  
<div markdown class="option">
<a id="std" data-level="basic">__-std__</a>: dump/write to stdout and assume stdout is opened in binary mode  
</div>
<div markdown class="option">
<a id="stdb" data-level="basic">__-stdb__</a>: dump/write to stdout and try to reopen stdout in binary mode  
</div>
<div markdown class="option">
<a id="tracks" data-level="basic">__-tracks__</a>: print the number of tracks on stdout  
</div>
<div markdown class="option">
<a id="info" data-level="basic">__-info__</a> (string): print movie info (no parameter) or track extended info with specified ID  
</div>
<div markdown class="option">
<a id="infon" data-level="basic">__-infon__</a> (string): print track info for given track number, 1 being the first track in the file  
</div>
<div markdown class="option">
<a id="infox" data-level="basic">__-infox__</a>: print movie and track extended info (same as -info N` for each track)`  
</div>
<div markdown class="option">
<a id="diso" data-level="basic">__-diso__</a>,__-dmp4__: dump IsoMedia file boxes in XML output  
</div>
<div markdown class="option">
<a id="dxml" data-level="basic">__-dxml__</a>: dump IsoMedia file boxes and known track samples in XML output  
</div>
<div markdown class="option">
<a id="disox" data-level="basic">__-disox__</a>: dump IsoMedia file boxes except sample tables in XML output  
</div>
<div markdown class="option">
<a id="keep-ods" data-level="basic">__-keep-ods__</a>: do not translate ISOM ODs and ESDs tags (debug purpose only)  
</div>
<div markdown class="option">
<a id="bt" data-level="basic">__-bt__</a>: dump scene to BT format  
</div>
<div markdown class="option">
<a id="xmt" data-level="basic">__-xmt__</a>: dump scene to XMT format  
</div>
<div markdown class="option">
<a id="wrl" data-level="basic">__-wrl__</a>: dump scene to VRML format  
</div>
<div markdown class="option">
<a id="x3d" data-level="basic">__-x3d__</a>: dump scene to X3D XML format  
</div>
<div markdown class="option">
<a id="x3dv" data-level="basic">__-x3dv__</a>: dump scene to X3D VRML format  
</div>
<div markdown class="option">
<a id="lsr" data-level="basic">__-lsr__</a>: dump scene to LASeR XML (XSR) format  
</div>
<div markdown class="option">
<a id="svg" data-level="basic">__-svg__</a>: dump scene to SVG  
</div>
<div markdown class="option">
<a id="drtp" data-level="basic">__-drtp__</a>: dump rtp hint samples structure to XML output  
</div>
<div markdown class="option">
<a id="dts" data-level="basic">__-dts__</a>: print sample timing, size and position in file to text output  
</div>
<div markdown class="option">
<a id="dtsx" data-level="basic">__-dtsx__</a>: same as [-dts](#dts) but does not print offset  
</div>
<div markdown class="option">
<a id="dtsc" data-level="basic">__-dtsc__</a>: same as [-dts](#dts) but analyses each sample for duplicated dts/cts (_slow !_)  
</div>
<div markdown class="option">
<a id="dtsxc" data-level="basic">__-dtsxc__</a>: same as [-dtsc](#dtsc) but does not print offset (_slow !_)  
</div>
<div markdown class="option">
<a id="dnal" data-level="basic">__-dnal__</a> (int): print NAL sample info of given track  
</div>
<div markdown class="option">
<a id="dnalc" data-level="basic">__-dnalc__</a> (int): print NAL sample info of given track, adding CRC for each nal  
</div>
<div markdown class="option">
<a id="dnald" data-level="basic">__-dnald__</a> (int): print NAL sample info of given track without DTS and CTS info  
</div>
<div markdown class="option">
<a id="dnalx" data-level="basic">__-dnalx__</a> (int): print NAL sample info of given track without DTS and CTS info and adding CRC for each nal  
</div>
<div markdown class="option">
<a id="sdp" data-level="basic">__-sdp__</a>: dump SDP description of hinted file  
</div>
<div markdown class="option">
<a id="dsap" data-level="basic">__-dsap__</a> (int): dump DASH SAP cues (see -cues) for a given track  
</div>
<div markdown class="option">
<a id="dsaps" data-level="basic">__-dsaps__</a> (int): same as [-dsap](#dsap) but only print sample number  
</div>
<div markdown class="option">
<a id="dsapc" data-level="basic">__-dsapc__</a> (int): same as [-dsap](#dsap) but only print CTS  
</div>
<div markdown class="option">
<a id="dsapd" data-level="basic">__-dsapd__</a> (int): same as [-dsap](#dsap) but only print DTS  
</div>
<div markdown class="option">
<a id="dsapp">__-dsapp__</a> (int): same as [-dsap](#dsap) but only print presentation time  
</div>
<div markdown class="option">
<a id="dcr" data-level="basic">__-dcr__</a>: dump ISMACryp samples structure to XML output  
</div>
<div markdown class="option">
<a id="dchunk" data-level="basic">__-dchunk__</a>: dump chunk info  
</div>
<div markdown class="option">
<a id="dump-cover" data-level="basic">__-dump-cover__</a>: extract cover art  
</div>
<div markdown class="option">
<a id="dump-chap" data-level="basic">__-dump-chap__</a>: extract chapter file as TTXT format  
</div>
<div markdown class="option">
<a id="dump-chap-ogg" data-level="basic">__-dump-chap-ogg__</a>: extract chapter file as OGG format  
</div>
<div markdown class="option">
<a id="dump-chap-zoom" data-level="basic">__-dump-chap-zoom__</a>: extract chapter file as zoom format  
</div>
<div markdown class="option">
<a id="dump-udta" data-level="basic">__-dump-udta__</a> `[tkID:]4cc`: extract user data for the given 4CC. If `tkID` is given, dumps from UDTA of the given track ID, otherwise moov is used  
</div>
<div markdown class="option">
<a id="mergevtt" data-level="basic">__-mergevtt__</a>: merge vtt cues while dumping  
</div>
<div markdown class="option">
<a id="ttxt" data-level="basic">__-ttxt__</a> (int): convert input subtitle to GPAC TTXT format if no parameter. Otherwise, dump given text track to GPAC TTXT format  
</div>
<div markdown class="option">
<a id="srt" data-level="basic">__-srt__</a> (int): convert input subtitle to SRT format if no parameter. Otherwise, dump given text track to SRT format  
</div>
<div markdown class="option">
<a id="nstat" data-level="basic">__-nstat__</a>: generate node/field statistics for scene  
</div>
<div markdown class="option">
<a id="nstats" data-level="basic">__-nstats__</a>: generate node/field statistics per Access Unit  
</div>
<div markdown class="option">
<a id="nstatx" data-level="basic">__-nstatx__</a>: generate node/field statistics for scene after each AU  
</div>
<div markdown class="option">
<a id="hash" data-level="basic">__-hash__</a>: generate SHA-1 Hash of the input file  
</div>
<div markdown class="option">
<a id="comp" data-level="basic">__-comp__</a> (string): replace with compressed version all top level box types given as parameter, formatted as `orig_4cc_1=comp_4cc_1[,orig_4cc_2=comp_4cc_2]`  
</div>
<div markdown class="option">
<a id="topcount" data-level="basic">__-topcount__</a> (string): print to stdout the number of top-level boxes matching box types given as parameter, formatted as `4cc_1,4cc_2N`  
</div>
<div markdown class="option">
<a id="topsize" data-level="basic">__-topsize__</a> (string): print to stdout the number of bytes of top-level boxes matching types given as parameter, formatted as `4cc_1,4cc_2N` or `all` for all boxes  
</div>
<div markdown class="option">
<a id="bin" data-level="basic">__-bin__</a>: convert input XML file using NHML bitstream syntax to binary  
</div>
<div markdown class="option">
<a id="mpd-rip" data-level="basic">__-mpd-rip__</a>: fetch MPD and segment to disk  
</div>
<div markdown class="option">
<a id="udp-write">__-udp-write__</a> (string, default: __IP[:port]__): write input name to UDP (default port 2345)  
</div>
<div markdown class="option">
<a id="raw-cat">__-raw-cat__</a> (string): raw concatenation of given file with input file  
</div>
<div markdown class="option">
<a id="wget">__-wget__</a> (string): fetch resource from http(s) URL  
</div>
<div markdown class="option">
<a id="dm2ts" data-level="basic">__-dm2ts__</a>: dump timing of an input MPEG-2 TS stream sample timing  
</div>
<div markdown class="option">
<a id="check-xml" data-level="basic">__-check-xml__</a>: check XML output format for -dnal*, -diso* and -dxml options  
</div>
<div markdown class="option">
<a id="fuzz-chk">__-fuzz-chk__</a>: open file without probing and exit (for fuzz tests)  
</div>