Easiest cheapest (free best) way to do this?
Here is the original video.
www.youtube.com/watch?v=9QGg4FoQWlE
and here is the subject video
www.youtube.com/watch?v=3gEwc82jRLM
As you can see in the first video he has a slide show going on but the luminance difference and lack of dynamic range means the screen is for the most part blown out.
I also have the slide show (he sent it to me)
I loaded this PDF on my phone turned on screen recorder and simply followed along as best I could as he did it in the original video.
for now I have users play the first video switch to the second video play it and turn off its sound. listening to one watching the other.
what I want to do is "overlay" the second video (no sound just the video use sound from original video) ONTO the first video to "cover up" the wall mounted display panel. in fact I could even make it bigger almost as big as the way so I would end up with something like this.
https://forum.videohelp.com/images/imgfiles/4akiAsH.jpg
I just want to plop one video on top of the other specifying where it "sits" on the other video and just make them into one video (no alpha that just the quicked way I had to make a quick and dirty example of what I mean)
I don't care if its obvious that is fine Just want to make it one video.
suggestions?
+ Reply to Thread
Results 1 to 14 of 14
-
-
ffmpeg? overlay with transparency?
Ok now i get it - you searching for PiP (Picture in Picture) look at this:
http://thewowza.guru/how-to-do-picture-in-picture-with-ffmpeg/
https://trac.ffmpeg.org/wiki/Create%20a%20mosaic%20out%20of%20several%20input%20videos
https://www.youtube.com/watch?v=RiyX0y3nHP0Last edited by pandy; 2nd Mar 2016 at 02:12.
-
No transparency photoshop was broken and irfanview had a watermark function so i could show what i wanted. Yes pip is probably what i want.
I tried to read that. I did. Maybe after some time i might be able to figure it out. But right now i just go blurry and see greek trying to understand that.
Any chance you can break it down to me so i can understand what the variable are what they mean etc.. so i k ow what i need to change to get my desired end result?
I think the important bit is the x and y of the corner of the pip video and the size of the pip window. Those variable should be enough to define where to draw the video into the video.
X and y of what? In what units? I assume pixels?
What about the audio? Do i strip the audio from the second file first or can i tell it to ignore and not use the audio from the second file? And only use the audio from the first file.
What if the second video is shorter than the first. Is that ok? What will it do when it hits that point? Keep using the last frame forward or simply revert back to original video?
I appreciate any help you can provide. -
There must be hundreds of tutorials on PIP on youtube.
Extraordinary claims require extraordinary evidence -Carl Sagan -
This works pretty well between the time when the camera settles down (about 10 seconds in) and when it's jostled (about 20.5 minutes in) :
Code:base = ffVideoSource("base.mp4") ovr = ffVideoSource("ovr.mp4").Crop(330,0,-330,-0).AddBorders(64,72,64,72).BilinearResize(268,222) bg = blankclip(ovr) ovr = skew(ovr, bg, ltopx=0,ltopy=6,lbotx=2,lboty=216, resize = "line").Rotate(-3.0) bmask = base.Trim(22088,22088).Loop(base.framecount, 0, 0).ColorYUV(gain_y=10000, off_y=-9000) bmask = bmask.Crop(536,102,268,222).mt_expand().Blur(1.0).Blur(1.0).Blur(1.0).Greyscale() Overlay(base, ovr, x=536, y=102, mask=bmask) ReplaceFramesSimple(base, last, mappings="[225 36775]")
First 60 seconds attached (video only).Last edited by jagabo; 2nd Mar 2016 at 21:42.
-
What needs to be done is, to cut out or overlay a green or blue section where the screen is on the original video (Nice and large so the slides can be read), then using green/blue screen chroma effect just insert the second video so it shows through onto the main vid.
I can proably do this, but I am lazy basterd so someone else will have to do it lol. -
-
-
Got it.
https://www.youtube.com/watch?v=ofqk-Bw45zc
figured out how to both use vegas (have to use pan crop AND track motion)
pan crop lets me crop down to the section of the video I need (him near the podium) and track motion lets me scale and move the video to the position where I need it.
I also figured out why I could not load it into vegas. I used my goto favorite program (do you guys have suggestions for a GUI replacement ie similar simple dead simple program for cutting and merging videos without transcoding!!!
I used mpeg stream clip to join the two files together (the phone hits a 4gb wall and stops around 46-47 minutes so I had to "restart" the recording and ended up with 2 files) I combined them with mpeg stream clip to upload. man am I glad I saved the originals for it seems mpegstream clip "does" something to the files that vegas can not deal with and it refuses to even see them as valid files "at all" not just bad format or something (although youtube see's them fine and vlc see's them fine)
strange.
btw that merge you did for me with the sample file. that is badass manI was just going to use the whole wall
and then realized I would be better off making the primary video the slide show since THAT has the interesting content and simply make the speaker a PIP !
It would be amazing if someone made a decent GUI for ffmpeg for doing stuff like this but then again I guess then it would be "vegas" or something similar and similarly big and complicated.
amazes me that you did that with a command string. Going to save this thread and maybe one day I can learn to effectively use ffmpeg.
any suggestions for a replacement for mpeg stream clip that won't muck up the files? dirt simple visual program to "trim/clip/Split" files and or "merge" files with the simple GUI interface and no transcoding that mpeg stream clip allows but more modern/compatible with modern larger files (oddly enough it works with my 4k files too but the action is "blind" since it can't "preview" the content. so I have to play the file and "note" the time index I want to start and end with. Still nice and fast though
Similar Threads
-
Is it possible to have realtime video, inside a pre recorded video
By Oliver2854 in forum Video Streaming DownloadingReplies: 9Last Post: 8th Nov 2015, 09:12 -
How to add text inside video?
By vstar in forum SubtitleReplies: 12Last Post: 2nd Mar 2014, 21:14 -
Let ffmpeg show used audio and video codec inside a (.mp4) video file?
By pxstein in forum Newbie / General discussionsReplies: 1Last Post: 26th Jan 2013, 02:47 -
New software for finding entrances of one video inside other video files
By DuplicateVideoSearch in forum Latest Video NewsReplies: 0Last Post: 22nd Sep 2012, 04:57 -
How to embed a video in a Picture ??? example inside
By momo1984 in forum Newbie / General discussionsReplies: 2Last Post: 24th Mar 2011, 10:13