MP4Box封装H265码流

The most simple example is like below:

mp4box -add .\i_main.265     -new  i_main.mp4

while,  i_main.265 is HEVC raw data stream. Be care of that the raw stream suffix name must be  .265 

the default  fps is 25  add in this case there is not audio, you can do a little more complicated example:

mp4box  -add   raw_video.265   -add  raw_audio.aac  -new  video.mp4 


for more information of MP4BOX,  you can read the help :

C:\Documents and Settings\A>mp4box -h

MP4Box [option] input [option]
 -h general           general options help
 -h hint              hinting options help
 -h dash              DASH segmenter help
 -h import            import options help
 -h encode            encode options help
 -h meta              meta handling options help
 -h extract           extraction options help
 -h dump              dump options help
 -h swf               Flash (SWF) options help
 -h crypt             ISMA E&A options help
 -h format            supported formats help
 -h rtp               file streamer help
 -h live              BIFS streamer help
 -h all               all options are printed


 -nodes               lists supported MPEG4 nodes
 -node NodeName       gets MPEG4 node syntax and QP info
 -xnodes              lists supported X3D nodes
 -xnode NodeName      gets X3D node syntax
 -snodes              lists supported SVG nodes
 -snode NodeName      gets SVG node syntax
 -languages           lists supported ISO 639 languages


 -quiet                quiet mode
 -noprog               disables progress
 -v                   verbose mode
 -logs                set log tools and levels, formatted as a ':'-separated list of toolX[:toolZ]@levelX
 -version             gets build version
 -- INPUT             escape option if INPUT starts with - character



你可能感兴趣的:(ffmpeg)