Forum

Forum



SearchSearch   Users   Registration   Entrance
Today: 14.12.2025 - 18:12:58
Pages:  1  

Bug in v2.0x TemporalSoften?

AuthorMessage

stspdr

Guru


Statistics:
Messages: 208
Registration: 11.08.2001

I'm hving problms using layering multiple captures, with the Interleave/TemporalSoften/SelectEvery method. Here is the script: ### AVI SOURCE(S) ### cap1=Trim(AVISource("[DRIVE]:\[PATH]\[FILENAME].avi"),0,0) cap2=Trim(AVISource("[DRIVE]:\[PATH]\[FILENAME].avi"),0,0) cap3=Trim(AVISource("[DRIVE]:\[PATH]\[FILENAME].avi"),0,0) #cap4=Trim(AVISource("[DRIVE]:\[PATH]\[FILENAME].avi"),0,0) #cap5=Trim(AVISource("[DRIVE]:\[PATH]\[FILENAME].avi"),0,0) # Trim extra frame if using 5 layers #cap6=Trim(AVISource("[DRIVE]:\[PATH]\[FILENAME].avi"),0,0) # Trim extra frame if using 7 layers #cap7=Trim(AVISource("[DRIVE]:\[PATH]\[FILENAME].avi"),0,0) # Trim extra frame if using 7 & 9 layers #cap8=Trim(AVISource("[DRIVE]:\[PATH]\[FILENAME].avi"),0,0) # Trim extra frame if using 9 layers #cap9=Trim(AVISource("[DRIVE]:\[PATH]\[FILENAME].avi"),0,0) # Trim extra frame if using 9 layers ### LAYER CAPTURES ### #Interleave(cap1,cap2,cap3).TemporalSoften(1,255,255).SelectEvery(3,1) # 3 Layers #Interleave(cap1,cap2,cap3,cap4,cap5).TemporalSoften(2,255,255).SelectEvery(5,1) # 5 Layers #Interleave(cap1,cap2,cap3,cap4,cap5,cap6,cap7).TemporalSoften(3,255,255).SelectEvery(7,1) # 7 Layers #Interleave(cap1,cap2,cap3,cap4,cap5,cap6,cap7,cap8,cap9).TemporalSoften(4,255,255).SelectEvery(9,1) # 9 Layers Three layers works fine. However, with 5/7/9 layers, I get ghosting, because some of the source AVI end up off by one frame. With For 5 layers, I have to trim one frame off the beginning of the 5th cap. For 7 layrs, I have to trim a frame from caps 6 and 7. And, for 9 layers, I need to trim a frame from layers 7 & 8 & 9. For testing, I used the exact same AVI file for all source AVIs, so I could not make a mistake in the source AVIs not being exactly the same. This looks like some sort of bug in TemproalSoften.



Message # 1 22.07.22 - 10:47:25
RE: Bug in v2.0x TemporalSoften?

coloboardin

Guru


Statistics:
Messages: 24
Registration: 10.03.2003

When you find out something - feel free to drop by avisynth.org and help us improve the documentation. Thanks! :cool:



Message # 2 22.07.22 - 10:57:09
RE: Bug in v2.0x TemporalSoften?

hccyong

Guru


Statistics:
Messages: 93
Registration: 05.03.2002

I am glad I could help. Here is what the 5 clip version does: Interleave takes a frame from each clip (Clip1-Frame0,C2F0,C3F0,C4F0,C5F0, then Clip1-Frame1,C2F1,C3F1 ...) TemporalSoften(2,255,255) says averege all frames within a radius of 2. So it will average 5 frames together (frame-2, frame-1, frame 0, frame+1, frame+2) You actually only want the middle of the 5 frames so: SelectEvery(5,2) says for every 5 frames keep the middle one 0,1, 2 ,3,4 or for 7 frames: 0,1,2, 3 ,4,5,6



Message # 3 22.07.22 - 11:03:45
RE: Bug in v2.0x TemporalSoften?

Jeff M3

Guru


Statistics:
Messages: 60
Registration: 02.21.2003

"fps_denominator" seems to be a special option, if "fps" is not accurate enough - not sure of it's practical function though.


------------------------------------
I sold this car after a very lengthy restoration, but it's just too pretty to remove from my sig.
Message # 4 22.07.22 - 11:15:08
RE: Bug in v2.0x TemporalSoften?

z015989

Guru


Statistics:
Messages: 140
Registration: 10.10.2003

I am not sure how it works in this function but in general fps for say 29.97 fps is often specified as 30000/1001 where 30000 is the fps_numerator and 1001 is the fps_denominator.



Message # 5 22.07.22 - 11:20:56
RE: Bug in v2.0x TemporalSoften?
Pages:  1  

Message
Name
Message

Click on the dot next to the name to address the participant

           
   
The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants

inside: Flatboard 9.7