Nreco video converter make video from image sequence

落爺英雄遲暮 提交于 2019-12-09 06:50:27

FFMpegConverter.ConcatMedia uses concat filter for merging several video files and should not be used for encoding video from images.

Correct way of using ConvertMedia method with ffmpeg image demuxer:

var videoConv = new FFMpegConverter();
videoConv.ConvertMedia( 
   @"g:\Storage\%03d.jpg", null, 
   "test.mp4", null, 
   new ConvertSettings() {
      CustomInputArgs = " -framerate 5 ",

      // specify any additional ffmpeg parameters for output here
      CustomOutputArgs = " -profile:v high " 
});
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!