Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的应用程序中,我将视频文件保存为 M4S 格式。我想为这些文件制作一个编辑选项,我的要求是在视频的特定点添加文本和图像。
我的第一个想法是为文本插入(使用jimp)生成照片,这非常容易。
现在我的目标是将单张照片制作为 m4s 文件。最好我想为该文件选择我自己的名称。
我怎样才能做到这一点?
流程应该是:
image.jpg -> 5.m4s
m4s文件不包含允许播放它的元数据(也称为段初始化),因此它们不是独立的。你可以试试这个:
m4s
mp4