AlbumPop

AlbumPop creates an album page of still photos.and expands each of the photos to full frame during appropriate frame ranges. Audio of base clip is replaced by audio of various clips during frame ranges where they are in focus. The position number of each photo is preset as per the order of listing of clips. An array of popup frame, endframe (and photo frame) corresponding to each video clip is to be specified. There is an option to specify photo frame as the first frame(zero) of video clip. The expansion to full video and audio always starts from the video frame number.

This process may run slow and may even seemingly freeze if large number of photos from one video clip are used(Directshowsource clips). Its possible to run this function in two passes. During first pass album page clip with photos is generated. In the second pass the popups occur. In this case certain parameters (video clip, photoframe can be different for each pass. Care should be taken to ensure desired effect is obtained)

In case it is desired to have both processes to be done in one pass , it can be specified. RGB32, RGB24, YUY2 and YV12 only are supported at this time. For some reason I could not fathom, in case of pass=0 or 1, Virtualdub as front-end indicates access error if at start Advance by frame is clicked. If Playback button is clicked this error is not seen.

There is no limit to number of photos in an album page but may be 9 is a good limit ( Avisynth has a maximum limit of 60 parameters that can be passed. 14 to 19 photos on a page can be specified only if photoframe corresponds to first frame of each video clip ).

Depending upon the number of photos to be placed in an album page, the preset position for thumnbnail placement is determined automatically. If there are fewer photos than the corresponding preset positions, they will remain blank. The preset positions for the photos are as below.


If only one photo is to be used, then only one position, 1 is possible and it is central on frame.
If photos are from 2 to 4, preset 1 to 8 thumbnail placement positions are possible as below. All of them are of same size. In case of 5 to 8 only two photos of that size are possible (either 5 and 6 or 7 and 8).

Preset 1 Preset 2
Preset 3 Preset 4

If photos are between 5 to 9 then the following 1 to 9 preset positions are used for thumbnail placement.
Preset 1 Preset 2 Preset 3
Preset 4 Preset 5 Preset 6
Preset 7 Preset 8 Preset 9

If photos are between 10 and 16 the preset positions are as below.
Preset 1 Preset 2 Preset 3 Preset 4
Preset 5 Preset 6 Preset 7 Preset 8
Preset 9 Preset 10 Preset 11 Preset 12
Preset 13 Preset 14 Preset 15 Preset 16

Details of parameters
Description Name Type Limits Default
base clip clip none
Are thumbnails to be generated and motion starts from first frame of video clips? boolean true for yes, false for user defined below none
Pass number integer 0 for both passes at one go, 1 for pass1 only (Album page only)and 2 for PopUp pass only none
array of video clips, used for thumbnails and popups clip none
array of pop up frame number, popup end frame number, (and photo frame number on video clip only if parameter number 2 above is false) integer

#Usage examples:-
# First pass only. Only two input Video clips. photos start at different frames
AlbumPop(last,true,1, Right1,Right,Right1,Right,Right1,Right,Right1,right1,80,120,60,200,240,80,300,340,100,400,440,120,500,540,160,600,640,200,720,760,280,840,880,360)
# Second pass only
AlbumPop(last,true,2, Right1,Right,Right1,Right,Right1,Right,Right1,right1,80,120,60,200,240,80,300,340,100,400,440,120,500,540,160,600,640,200,720,760,280,840,880,360)


# Both passes same time. Starting frame(zero) is photo frame. 
AlbumPop(last,false,0, c1,c2,c3,c4,c5,c6,80,120,200,240,300,340,400,440,500,540,600,640)


Image with effect :
Back to HollywoodSq.
down load HollywoodSq plugin
Back to my plugins page
back to Avisynth