Xuggler - add audio?

I creating an video file by encoding BufferedImages. How I can add Audio to this video from mp3 file? IMediaWriter movie = ToolFactory.makeWriter("somefile.mp4"); movie.addVideoStream(0, 0, ICodec.ID.CODEC_ID_H264, 720, 540); movie.encodeVideo(0,img, time, TimeUnit.MILLISECONDS); movie.close(); When I try concatenate class I get this error: 45694 [Thread-2] WARN com.xuggle.xuggler - Got error: picture is not of the same PixelType as this Coder expected (../../../../../../../csrc/com/xuggle/xuggler/StreamCoder.cpp:1430)

以上就是Xuggler - add audio?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏