将多个媒体文件连接成一个。 [英] Concatenating multiple media files into one.

查看:96
本文介绍了将多个媒体文件连接成一个。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello everyone:



我有一个应用程序(用VC ++ MFC COM编写),需要显示多种媒体文件类型,包括MP4,JPG,HTML 。

我可以使用CreateProcess()调用与Windows上这些文件类型相关联的单个应用程序,并将我的媒体文件名作为cmd行参数传递给它们。它工作正常。它按照我想要的顺序播放文件。



但是,由于在不同的应用程序之间来回切换,(Chrome,媒体播放器等)过渡这些文件的显示方式并不顺畅。

有人给了我一个想法,即将我想播放的所有文件合并到一个媒体文件中,然后在相应的播放器中播放。

有谁知道怎么做这样的事情?将不同的文件格式连接成一个玩家驾驶室理解的格式。



我知道MP4协议允许所有电影和静态页面(HTML或JPG)在同一个文件中指定。有没有人知道如何创建一个由上述几种不同媒体类型组成的MP4文件?



非常感谢您的明智建议。



BW R



我的尝试:



使用CreateProcess& TerminateProcess顺序。

Hello Everyone:

I have an application (written in VC++ MFC COM) that needs to display a number of media file types, including MP4, JPG, HTML.
I can invoke individual Apps associated with those file types on Windows, using CreateProcess() and pass my media file names as cmd line parameters to them. And it works fine. It plays the file sin the sequence that I would like.

However, due to the switching back and forth between different Apps, (Chrome, Media Player etc) the transition between how these files are displayed is not smooth.
Someone gave me the idea of combining all the files that I would like to play, into one media file, and then just play that in the appropriate player.
Does anyone know how to do something like this? Concatenating different file formats into one format that one Player cab understand.

I know for instance that the MP4 protocol allows movies, and static pages (HTML or JPG) to all be specified in the same file. Does anyone know how to create an MP4 file that is a composite of several different media types as described above ?

Many Thanks for your informed suggestions.

BW R

What I have tried:

Using CreateProcess & TerminateProcess sequentially .

推荐答案

是;它被称为Movie Maker。
Yes; it's called "Movie Maker".


这篇关于将多个媒体文件连接成一个。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆