将音乐添加到现有视频并保存 [英] Add music to existing video and save

查看:78
本文介绍了将音乐添加到现有视频并保存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿!



我已经可以使用AForge用C#.net创建一个视频了但我想将现有音乐添加到我新创建的视频中。我已经有了这种音乐。我现在如何将该音乐添加到视频中并将其保存为f.ex.一个MPEG文件?



您可能认为我知道音乐 位置 结束时,开始 。音乐的持续时间可能比视频的持续时间长。我只会添加1个音乐文件。



INPUT格式:

音乐:* .MP3

视频:*。AVI



如果其他文件格式是必需的,我可以用FFMPEG.exe编译它f.ex.



非常感谢,



Wim

Hey!

I can already create a video with C#.net using AForge BUT I want to add existing music to my newly created video. I already have that music. How can I now add that music to the video and save it as f.ex. an MPEG file?

You may assume that I know at which position the music has to start and when it will end. It's possible that the duration of the music is longer then the duration of the video. I will only add 1 music file to it.

INPUT FORMATS:
Music: *.MP3
Video: *.AVI

If other file formats are nessessary, I can compile it with FFMPEG.exe f.ex.

Thank you very much,

Wim

推荐答案

它看起来更容易,我发现我可以完全使用FFMPEG.exe文件了!



结合音乐&视频: http://superuser.com/questions/590201/add-audio-to-video-using-ffmpeg [ ^ ]



分割音乐: http://dtbaker.net/random -linux-posts / split-mp3-file-with-ffmpeg / [ ^ ]



分割视频: http://stackoverflow.com/questions/5651654/ffmpeg-how-to-split-video-efficiently [ ^ ]



将多个视频组合在一起: http://stackoverflow.com/questions/7333232/concatenate-two-mp4-files-using-ffmpeg [ ^ ]



然后随意组合:-)!
It's easier then it looks, I found that I could use the FFMPEG.exe file completely!

Combining music & video: http://superuser.com/questions/590201/add-audio-to-video-using-ffmpeg[^]

Split music: http://dtbaker.net/random-linux-posts/split-mp3-file-with-ffmpeg/[^]

Split video: http://stackoverflow.com/questions/5651654/ffmpeg-how-to-split-video-efficiently[^]

Combining multiple video's together: http://stackoverflow.com/questions/7333232/concatenate-two-mp4-files-using-ffmpeg[^]

And then combine those at will :-) !


这篇关于将音乐添加到现有视频并保存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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