使用带有ffmpeg的C ++将原始文件转换为mp4视频 [英] Convert raw files to mp4 video using C++ with ffmpeg
本文介绍了使用带有ffmpeg的C ++将原始文件转换为mp4视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用ffmpeg将原始文件转换为mp4视频格式,我想用C ++实现它。我该怎么做呢我已经在visual studio中配置了libs和include文件夹。如果我能用C ++获得有用的链接或示例代码,我将很高兴。
什么我试过了:
我不知道如何从头开始
I want to convert a raw files to mp4 video format using ffmpeg and i want to implement it using C++. How do i go about it. I have configured libs and include folder in visual studio set up.I will be glad if i could get a useful link or sample code in C++.
What I have tried:
I don't know how to start in the first place
推荐答案
您最好从 ffmpeg文档网站开始。我还想提一下 ffmpeg示例。也许 stackoverflow回答帮助您解决问题。
这是一个复杂的库,所以你必须学到很多东西。
You best start at the ffmpeg documentation site. I also like to mention the ffmpeg examples. Maybe that stackoverflow answer helps you in your problem.
It is a complex library so you will have to learn a lot.
这篇关于使用带有ffmpeg的C ++将原始文件转换为mp4视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文