cmxl / FFmpeg.NET

.NET wrapper for common ffmpeg tasks
MIT License
611 stars 99 forks source link

Is video merging currently supported? #36

Closed feiyit closed 3 years ago

feiyit commented 4 years ago

If not, how do I need to expand?

tifcty1 commented 3 years ago

I also faced this situation. How did you solve it ?

cmxl commented 3 years ago

This can currently be achieved via ConversionOptions.ExtraArguments. You need to provide the arguments manually there which is not ideal. For concatenation see https://stackoverflow.com/questions/7333232/how-to-concatenate-two-mp4-files-using-ffmpeg

If you want to help out I guess you need to add some more options to ConversionOptions and use them in FFmpegArgumentBuilder. Finally another function in Engine would be great which accepts multiple MediaFile inputs. Same as Engine.ConvertAsync but with a List<MediaFile> as input parameter.