I looked through all the questions about this in stackoverflow, but none of the answers worked for me.
I have a video recorded on the screen in mp4 and another video recorded from a webcam in mp4. I want to overlay a video in a webcam in the upper left corner of the screen recorded on the video.
I think I finally found the right command line for this, but when I go to the ffmpeg process, it hangs when it reaches "handler_name: SoundHandler".
Here is my command line:
string overlayPosition = "movie=" + '"' + _videoFile.FileName + '"' + "[inner]; [in][inner] overlay [out]";
string overLayCommand = "-i " + '"' + videoList[0].Path + '"' + " -vf " + '"' + overlayPosition + '"' + + '"' + " C:\\Users\\james\\output.mp4" + '"';
Does anyone know what I'm doing wrong? I managed to trim the audio and video, trim the video, join the sound, join the video and join the sound and video, but cannot get the overlay to work with: (.
source
share