audio - Horizontally show two videos side by side and export to one video -


What am I trying to achieve: programmatically (using any type of script) in a video Add different videos where the videos are both side-to-side and the sound shown along with the video is played

I get at least two ways from which I can display on two videos side , But in every one I have a different problem which is the process Makes it difficult to complete:

  1. Avisyth and Avs2Avi:
    Avisyth actually makes the process easy, such a simple untrusted script You should be able to play on behalf of two videos:

    video1 = AVISource ("d: \ file1.avi")
    video2 = AVISource ("D: \ file2. Avi ")
    stackhorizontal (video 1, video 2)

    A new output file can be made with AVS 2V.

    The problem here is that I Avisyth is also an AVI with The file is not able to play because I get the message "Could not get a decompressor message for AviSource fourcc xvid" message. I wentogled for the solution of that problem but nothing helped. Jaspot says that I need all the codecs and it seems that I can not do anything. Because I can not get to play the real video, I do not know the final video tells both videos. Avisyth is installed correctly and I am able to run the following script StackHorizontal (version, version).

  2. ffmpeg
    Works like a magic with two video and final file but I do not get the sound from both videos, but only the first one knows me Let's find that the solution to add sound to the second video will be using the envelope in the command line:

    ffmpeg exe -i video1.mp4 -vf "[ In] scale = iw / 2: ih / 2, pad = 2 * iw: ih [left]; movie = video2.mp4, scale = iw / 3: ih / 3 [right]] [left] [right] overlay = Main_va / 2: 0 [outside] "-C: an envelope-B: output of V768.mp4

    But I always get an error that does not get the encoder envelope. I downloaded libfaac.dll but still have no results.

    Is there one solution to these problems? Is there another way to create a video from two programming videos that are played on one side? thank you in advanced.

    Using Avisynth is not a problem for you, you can use just another source Are filters. The bill should fit very well - it is completely standalone and avoaries are not dependent on any system decoder.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -