ffmpeg求助

yixi83 2006-04-19 02:12:38
现在想做视频转换(WIN VC平台),但是转出来的文件声音有问题,好多杂音。
有没人能够给点建议怎样改正?
怎样从一个有音视频的文件里(比如AVI,MPG,3GP....)取出声音数据,对其解码,再编码成一个新文件(MP3,MP2,3GP...)??就是文件转换了.有谁可以提供一个代码例子吗?万分感激!!!!!
...全文
185 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
yixi83 2006-04-20
  • 打赏
  • 举报
回复
可以给点例子吗?急需啊
谢谢
seanzh 2006-04-19
  • 打赏
  • 举报
回复
as to this question,
maybe you need the following APIs:
avcodec_read_frame, write_frame,
and you can judge the packets' type: video/audio...
seanzh 2006-04-19
  • 打赏
  • 举报
回复
you can visit the ffmpeg's official site for some help,
or there is a google group for ffmpeg here:
http://groups.google.com/group/smartAV

also, ffmpeg's official site, as well as ffmpeg's mailing list, is a good choice for you.

2,543

社区成员

发帖
与我相关
我的任务
社区描述
专题开发/技术/项目 多媒体/流媒体开发
社区管理员
  • 多媒体/流媒体开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧