Mp4box is a MP4 file encapsulation tool that supports only command line invocation.
The following are the invocation instances of their supported caption encapsulation parameters:
mp4box-add 1.srt:lang=zh:name=caption:hdlr=sbtl:font= "Microsoft Jas Black": Size=22-new 1.srt.mp4
If you need to support devices such as Iphone/itouch/ipod/ipad, you can add the parameter "-ipod":
mp4box-ipod-add 1.srt:lang=zh:name=caption:hdlr=sbtl:font= "Microsoft Jas Black": Size=22-new 1.srt.mp4
The parts that can be modified are marked in red as follows:
mp4box-ipod-add 1.srt:lang=zh:name=caption:hdlr=sbtl:font= "Microsoft Jas Black": Size=22-new 1.srt.mp4
1 is the original file name, need to change to your subtitle file name;
ZH is the Chinese code, en is English, "mp4box-language" command can see all the language code;
Caption is a convenient name, can be changed casually;
"Microsoft Jas Black" can be changed to the font name you want;
22 can be changed to the font size you want, such as 18.
A complete package of MP4 video file commands is like:
mp4box-ipod-add 1.h264:fps=29.97:name=video-add 1.aac:lang=en:name=audio-add 1.chs.srt:lang=zh:name=caption: Hdlr=sbtl:font= "Microsoft Jas Black": Size=22-add 1.eng.srt:lang=en:name=caption:hdlr=sbtl:font=georgia:size=20-new "Synthetic 1.mp4"
The MP4 file, which is encapsulated in this way, can be played on the computer using Quick time Pro but without subtitles. itunes syncs to Iphone/itouch/ipod/ipad and other devices, there are two situations when playing: 1, some files can play and display subtitles, and some files are not supported and can not play.
Mp4box encapsulated Media Bare stream