Mp4box encapsulated Media Bare stream

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.