Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
What I Not Found In Proram, ... or in help
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
Vgyuri
  Posted: Nov 24 2013, 04:20 PM


Newbie


Group: Members
Posts: 1
Member No.: 37491
Joined: 24-November 13



How can I insert picture into the edited video?
 
     Top
malky
Posted: Nov 24 2013, 11:31 PM


Advanced Member


Group: Members
Posts: 290
Member No.: 22386
Joined: 6-November 07



I think you have to install AviSynth and use a script.

QUOTE
x=avisource("C:\path\to\video\clip.avi").assumefps(25)
y=ImageSource("C:\path\to\image\clipboard01.jpg",end=75,fps=25).ConvertToYV12()                               
z=audiodub(y, blankclip(x))         
#yy=wavsource("C:\path\to\audio\some.wav")           
#z=audiodub(y, yy)                       
z++x 


#image and video must have same resolution width x height and frame rate
#this image has 75 frames at 25 fps = 3 seconds on screen
#line 3 is for a silent clip
# if audio is required, remove the # from lines 4 and 5 and insert a # in line 3


If you want to insert the image somewhere in the middle of the video, it might be:

QUOTE
vid    = avisource("clip.avi")
start  = vid.trim(0,545)
end    = vid.trim(546,1594)
   
middle = ImageSource("C:\Users\Superuser\Desktop\Clipboard01.jpg",end=75,fps=25).ConvertToYV12()
middle = audiodub(middle, blankclip(vid))

#yy = wavsource("C:\Users\Superuser\Desktop\titanic.wav")           
#middle = audiodub(middle, yy)
 
start++middle++end


#the middle will be inserted beginning at frame 546 using image
 
    Top
raffriff42
Posted: Nov 25 2013, 01:01 AM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



If you are not familar with Avisyth, the Logo Filter for VirtualDub is easier.

Here's a screenshot showing a PNG image with alpha channel:
user posted image
 
     Top
meowmeow
Posted: Nov 25 2013, 01:19 PM


Advanced Member


Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13



I hope with curve editor it can add many-many logos at different frames of video.

Curve editor can blend videos too? What if I want to do mosaic from four videos?
 
     Top
raffriff42
Posted: Nov 25 2013, 07:33 PM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



To make multiple images with the Logo filter, you would add multiple filter instances. Curve Editor does not work with this filter. If you want that kind of advanced processing, I think Avisynth would be easier.
 
     Top
dloneranger
Posted: Nov 25 2013, 07:48 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



QUOTE
Curve Editor does not work with this filter.

Just tested the internal logo filer and the one you gave a link to
Both work fine with the curve editor and blending?

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
meowmeow
Posted: Nov 25 2013, 08:04 PM


Advanced Member


Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13



QUOTE (dloneranger @ Nov 25 2013, 07:48 PM)
Both work fine with the curve editor and blending?

Plays, blends, encodes, plays....

How merge & blend layers works?
 
     Top
dloneranger
Posted: Nov 25 2013, 08:30 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



No idea, I use an older virtualdub that doesn't have the merge and name outputs thing
I tried it when it appeared, and a quick look at the blend layers filter is an easy one to explain

add a filter eg greyscale
right click on that filter and 'name output' I called it G1
add a blend layers filter, I used normal 100% , click ok to close the blend layers dialog
right click on blend layers filter - add input - right click on (no connection) - select 'source'
right click on blend layers filter - add input - right click on (no connection) - select 'g1'
configure the blend layers filter - move the slider to change the % and it'll move between grey and normal



--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
meowmeow
Posted: Nov 25 2013, 09:15 PM


Advanced Member


Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13



QUOTE (dloneranger @ Nov 25 2013, 08:30 PM)
right click on that filter

Ahh, the missing link meowmeow was looking for!

http://i.imgur.com/UdlHiyv.jpg

Step closer to joining two videos together.
 
     Top
raffriff42
Posted: Nov 26 2013, 12:05 AM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



QUOTE (dloneranger @ Nov 25 2013, 08:30 PM)
a quick look at the blend layers filter is an easy one to explain...

This is the first time I've seen Layers explained. Thank you. And I stand corrected on Logo+blend+curves.
 
     Top
meowmeow
Posted: Nov 26 2013, 01:16 AM


Advanced Member


Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13



QUOTE (meowmeow @ Nov 25 2013, 09:15 PM)
Step closer to joining two videos together.

Done.

http://i.imgur.com/aE9NVjC.gif

But slow. Need filter which just reads video from file wink.gif
Or frameserve from another VD instance
 
     Top
dloneranger
Posted: Nov 26 2013, 05:38 AM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



QUOTE
Done

Nice cool.gif

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
meowmeow
Posted: Nov 26 2013, 05:49 AM


Advanced Member


Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13



QUOTE (meowmeow @ Nov 26 2013, 01:16 AM)
Need filter which just reads video from file  wink.gif

Found: http://www.trevlac.us/FilterDocs/
Video overlay, picture in picture filter plug-in!

Crashed when try to open file into 0x0 selection by mistake.
Crashed when try to blend it.
But has source codes and much easier than using the interpolate/fill/perspective/blend layers way tongue.gif
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
12 replies since Nov 24 2013, 04:20 PM Track this topic | Email this topic | Print this topic

<< Back to General Discussion