📄 mp4box.1
字号:
.B \-aviraw TKextracts AVI track to its raw format. TK can be one of "video", "audio" or "audioN" for multi-track avi files (cf '-info'). ..SH DUMP OPTIONS.TP.B \-info [TrackID]prints movie and tracks information. If TrackID specified, dumps only extended track info. If input file is not an IsoMedia file, lists known tracks for import..TP.B \-btdumps complete scene in a BT file. This will remove unknown MPEG4 nodes..TP.B \-xmtdumps complete scene in an XMT-A file. This will remove unknown MPEG4 nodes..TP.B \-wrldumps complete scene in an VRML97 WRL file. This will remove unknown VRML97 nodes..TP.B \-x3ddumps complete scene in an X3D XML file. This will remove unknown X3D nodes..TP.B \-x3dvdumps complete scene in an X3D Text (VRML) file. This will remove unknown X3D nodes..TP.B \-disocreates XML image of the file atoms..TP.B \-drtpcreates XML image of all hint tracks samples of a hinted mp4 file..TP.B \-dcrcreates XML image of all ISMACryp tracks samples of an mp4 file..TP.B \-sdpcreates SDP file associated with a hinted mp4 file..TP.B \-ttxtconverts input subtitle to GPAC TTXT format..TP.B \-ttxt trackIDexports given text track to GPAC TTXT format..TP.B \-srtconverts input subtitle to SRT format..TP.B \-srt trackIDexports given text track to SRT subtitle format..TP.B \-stddumps to stdout rather than file..TP.B \-statgenerates statitistic report on node/field usage for the whole presentation..TP.B \-statsgenerates statistic report on node/field usage per BIFS Access Unit..TP.B \-statxgenerates statistic report on node/field usage in the scene graph after each BIFS Access Unit...SH Meta OPTIONS..LPMP4Box supports the Meta addition to IsoMedia file format, used to make the file a generic data container (timed or untimed)..TP.B \-set-meta argssets meta object type. Syntax is "ABCD[;tk=N] where:.br ABCD is the four character code of the type, or O/NULL to remove the meta object.br tk indicates whether the meta is at the root level (no "tk"), at the moov level (tk=0) or at the track level (tk=trackID)..TP .B \-add-item argsadds resource to the given meta. args is the item file path followed by ';' separated options:.br tk=N: same as above.br name=item_name: specifies the item name, otherwise file name is used.br mime=mimeType: specifies the item mime type, otherwise application/octet-stream is used.br encoding=enctype: specifies the content encoding typeNote that file path set to "this" or "self" will identify the item added as the whole IsoMedia file.TP.B \-rem-item argsremoves item from given meta. Syntax is itemID[;tk=ID]..TP.B \-set-primary argssets given item as the primary one of the given meta. Syntax is itemID[;tk=ID]..TP.B \-set-xml argssets XML to the given meta. Syntax is xml_file_path[;tk=ID][;binary]..TP.B \-rem-xml [tk=ID]removes XML data from the given meta..TP.B \-dump-xml xml_out_file_name[;tk=ID]dumps the XML data of the given meta to a file..TP.B \-dump-item itemID[;tk=ID][;path=fileName]dumps the given item of the the given meta to a file. By default the item name is used as the output file name...SH SWF OPTIONS..LPMP4Box can import very simple Macromedia Flash files (".SWF"). You can specify a SWF input file with -bt, xmt and -mp4 switches..TP.B \-staticall SWF defines are placed in first scene replace. By default SWF defines are sent when needed..TP.B \-ctrluses a dedicated stream for movie control (forces -static option)..TP.B \-notextremoves all SWF text..TP.B \-nofontremoves all embedded SWF Fonts, forcing usage of MPEG-4 Text and terminal fonts..TP.B \-nolineremoves all lines from SWF shapes..TP.B \-nogradremoves all gradients from swf shapes..TP.B \-quaduses quadratic bezier curves instead of cubic ones..TP.B \-xlpsupport for lines transparency and scalability..TP.B \-flatten Valuereplaces 2 consecutive lines by a single one when angle between lines is less than Value (expressed in radians). Value 0 disables flattening....SH SUPPORTED INPUT FORMATS.TP.B RAW Formats and extensions.IPNHNT (.media .nhnt .info).brMPEG Audio (.mp3).brADTS-AAC (.aac).brMPEG-4 Visual (.cmp .m4v).brH263 Video (.263 .h263).brAVC/H264 Video (.h264 .h26L .264 .26L).brJPEG Images (.jpg .jpeg).brPNG Images (.png).brAMR(WB) Audio (.amr .awb).brEVRC Audio (.evc).brSMV Audio (.smv)..TP.B Container Formats and extensions.IPAVI (.avi).brMPEG-PS (.mpg .mpeg .vob .vcd .svcd).brQCP (.qcp).brOGG (.ogg).brISO-Media files (no extension checking)..TP.B Text Formats and extensions.IP.brSRT Subtitles (.srt).brSUB Subtitles (.sub).brGPAC Timed Text (.ttxt).brQuickTime TeXML Text (.xml) (cf QT documentation)..TP.B Scene Formats and extensions.IPMPEG-4 XMT-A (.xmt .xmta .xmt.gz .xmta.gz).br.brMPEG-4 BT (.bt .bt.gz).brVRML (.wrl .wrl.gz).brX3D-XML (.x3d .x3d.gz).brX3D-VRML (.x3dv .x3dv.gz).brMacroMedia Flash (.swf) - very limitted import support only...SH COMMON USAGE.TP.B Importing a file.IPImport an AVI: MP4Box -add myfile.avi mymp4.mp4.brImport audio from an AVI: MP4Box -add myfile.avi#audio mymp4.mp4.brImport video from an AVI: MP4Box -add myfile.avi#video mymp4.mp4.brImport an MP3 and leave data outside: MP4Box -dref -add myfile.mp3 mymp4.mp4.brImport a JPEG or PNG: MP4Box -add myfile.jpg mymp4.mp4.brCreate a movie with subtitle: MP4Box -add video.avi -add audio.mp3 -add Subtitle.srt mymp4.mp4.br.TP.B Base File operations.IPConvert file for HTTP/FTP streaming: MP4Box -inter 1000 myfile.mp4.brConvert unknown file to ISMA for HTTP/FTP streaming: MP4Box -isma -inter 1000 myfile.mp4.brConvert unknown file to ISMA and respect ISMA broken sync: MP4Box -ismax myfile.mp4.brConvert unknown file to 3GP : MP4Box -3gp myfile.mp4.br.TP.B Hinting a File.IPPrepare any mp4 for ISMA streaming: MP4Box -isma -hint myfile.mp4.brPrepare any 3GP for streaming: MP4Box -hint myfile.3gp.brPrepare any 3GP for streaming with RTP aggregation : MP4Box -hint -multi myfile.3gp.brPrepare a simple audio/video mp4 optimized for server: MP4Box -hint -copy -tight myfile.mp4.brPrepare a complex mp4 with BIFS for streaming: MP4Box -ocr -iod -hint myfile.mp4.br.TP.B Encoding/Decoding a file.IPEncode a BT file and keep node names for later inspection: MP4Box -mp4 -def pres.bt.brEncode a XMT-A file: MP4Box -mp4 pres.xmt.brTranslate BT to XMT-A file: MP4Box -xmt pres.bt.brTranslate XMT-A to BT file: MP4Box -bt pres.xmt.brDecode MP4 to BT: MP4Box -bt pres.mp4.br..SH BUGS and OTHER HELP.TPFor bug reports, more information on BT or XMT-A formats or GPAC TTXT files or ISMACryp, MPEG-4 Systems usage and more help on MP4Box please visit the GPAC web site http://gpac.sourceforge.net..SH "AUTHORS".LP Jean Le Feuvre <jeanlf@users.sourceforge.net> - GPAC (c) 2000-2005..SH "SEE ALSO".LP GPAC(1), MP4Client(1)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -