video-processing

Solid FFmpeg wrapper for C#/.NET

橙三吉。 提交于 2019-11-26 04:36:09
问题 I have been searching the web for some time for a solid FFmpeg wrapper for C#/.NET . But I have yet to come up with something useful. I have found the following three projects, but all of them apears to be dead in early alpha stage. FFmpeg.NET ffmpeg-sharp FFLIB.NET So my question is if anyone knows of a wrapper project that is more mature? I am not looking for a full transcoding engine with job queues and more. Just a simple wrapper so I do not have to make a command line call and then parse

Rotating videos with FFmpeg

爷,独闯天下 提交于 2019-11-26 03:36:22
问题 I have been trying to figure out how to rotate videos with FFmpeg. I am working with iPhone videos taken in portrait mode. I know how to determine the current degrees of rotation using MediaInfo (excellent library, btw) but I\'m stuck on FFmpeg now. From what I\'ve read, what you need to use is a vfilter option. According to what I see, it should look like this: ffmpeg -vfilters \"rotate=90\" -i input.mp4 output.mp4 However, I can\'t get this to work. First, -vfilters doesn\'t exist anymore,

Vertically or horizontally stack several videos using ffmpeg?

爱⌒轻易说出口 提交于 2019-11-26 02:22:07
问题 I have two videos of the same exact length, and I would like to use ffmpeg to stack them into one video file. How can I do this? 回答1: See this answer to this question for a newer way to do this. Old version: You should be able to do this using the pad, movie and overlay filters in FFmpeg. The command will look something like this: ffmpeg -i top.mov -vf 'pad=iw:2*ih [top]; movie=bottom.mov [bottom]; \ [top][bottom] overlay=0:main_h/2' stacked.mov First the movie that should be on top is padded

Vertically or horizontally stack several videos using ffmpeg?

こ雲淡風輕ζ 提交于 2019-11-26 02:02:31
I have two videos of the same exact length, and I would like to use ffmpeg to stack them into one video file. How can I do this? blahdiblah See this answer to this question for a newer way to do this. Old version: You should be able to do this using the pad , movie and overlay filters in FFmpeg. The command will look something like this: ffmpeg -i top.mov -vf 'pad=iw:2*ih [top]; movie=bottom.mov [bottom]; \ [top][bottom] overlay=0:main_h/2' stacked.mov First the movie that should be on top is padded to twice its height. Then the bottom movie is loaded. Then the bottom movie is overlaid on the