|
Page 2 of 2 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73256
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Thu, 18th Jul 2013 20:44 Post subject: |
|
 |
It evens out if you divide by two. If you insert 30 manually, it does not. I work with Avisynth primarily, so I like to input the framerates I want manually.
|
|
Back to top |
|
 |
|
Posted: Thu, 18th Jul 2013 21:25 Post subject: |
|
 |
Last edited by paxsali on Thu, 4th Jul 2024 22:06; edited 1 time in total
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73256
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Thu, 18th Jul 2013 21:27 Post subject: |
|
 |
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73256
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Thu, 18th Jul 2013 22:23 Post subject: |
|
 |
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
|
Posted: Fri, 19th Jul 2013 00:10 Post subject: |
|
 |
Last edited by paxsali on Thu, 4th Jul 2024 22:06; edited 1 time in total
|
|
Back to top |
|
 |
|
Posted: Fri, 19th Jul 2013 00:14 Post subject: |
|
 |
Last edited by paxsali on Thu, 4th Jul 2024 22:06; edited 1 time in total
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73256
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Fri, 19th Jul 2013 00:22 Post subject: |
|
 |
I will now run the same script on your video.
I looked actually for a 1080p 60fps free video on the internet but didn't find a good sample. The problem I see with your video is a large lack of detail.
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73256
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Fri, 19th Jul 2013 00:38 Post subject: |
|
 |
BTW, the AviSynth script I concocted:
Code: | function TASBlend(clip c, float "ratio" ) {
# reduces framerate to 1/2 but leaves flicker effects partly visible
# blends frame pairs with alternating opacity (default is 2/3+1/3;1/3+2/3)
# optional "ratio" is the opacity of the first frame out of the four
ratio = default( ratio, 2.0/3 )
opacity = round( ratio * 257 )
# Blend flicker to half-rate
c.SelectEvery( 4, 1,0,2,3 )
blend = Layer( SelectEven(), SelectOdd(), level=opacity )
# Determine flicker is a simplistic way - compare each pixel with the previous and next two frames
Similar2 = 1 # How similar current pixel must be to the same pixel 2 frames forwards and backwards
Different1 = 8 # How different current pixel must be from the same pixel 1 frame forwards and backwards
maskf2 = Overlay( c, c.SelectEvery(1, 2), mode="difference", pc_range=true ).Greyscale().Levels( 128+Similar2, 1.0,129+Similar2, 0,255, false ).Invert()
maskf1 = Overlay( c, c.SelectEvery(1, 1), mode="difference", pc_range=true ).Greyscale().Levels( 128+Different1,1.0,129+Different1, 0,255, false )
maskb1 = Overlay( c, c.SelectEvery(1,-1), mode="difference", pc_range=true ).Greyscale().Levels( 128+Different1,1.0,129+Different1, 0,255, false )
maskb2 = Overlay( c, c.SelectEvery(1,-2), mode="difference", pc_range=true ).Greyscale().Levels( 128+Similar2, 1.0,129+Similar2, 0,255, false ).Invert()
maskf = Overlay( maskf1, maskf2, mode="multiply", pc_range=true )
maskb = Overlay( maskb1, maskb2, mode="multiply", pc_range=true )
mask = Overlay( maskf, maskb, mode="multiply", pc_range=true ).SelectEven()
# Only use blend where detected flicker
Layer( c.SelectEven(), blend.Mask(mask) )
}
c1 = DirectShowSource("TTT2-60fps-original.mp4", audio = false).AssumeFPS(60).ConvertToYUY2()
super = c1.MSuper(pel=4)
backward_vec = MAnalyse(super, isb = true, blksize=4, blksizeV=4)
forward_vec = MAnalyse(super, isb = false, blksize=4, blksizeV=4)
c2 = MFlowFps(c1, super, backward_vec, forward_vec, num=30, den=1, ml=900).Subtitle("c2_1: MFlowFps", align=8).ChangeFPS(60)
c3 = c1.selectevery(2,1).Subtitle("c3_1: selectevery(2,1)", align=8).ChangeFPS(60)
c4 = TASBlend(c1.ConvertToRGB32, 0.5).ChangeFPS(60).ConvertToYUY2().Subtitle("c4_1: TASBlend")
c1 = c1.Subtitle("Original", align = 8)
StackVertical(StackHorizontal(c1, c1, c1), StackHorizontal(c2, c3, c4))
ConvertToYV12() |
This is for the composite video. For the individuals, I disabled the unnecessary portions of the script and removed the "ChangeFPS(60)" so you can see the videos in their 30fps form.
TASBlend is from the internets.
|
|
Back to top |
|
 |
|
Posted: Fri, 19th Jul 2013 00:43 Post subject: |
|
 |
Last edited by paxsali on Thu, 4th Jul 2024 22:06; edited 2 times in total
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73256
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Fri, 19th Jul 2013 00:48 Post subject: |
|
 |
I actually took the sample videos from that page exactly!
See script above. I don't remember the exact AviSynth version, but it's one of the MT versions from Doom9 from a few months ago. I didn't bother with MT in this script.
I think all that is needed for the above script to compile is MVTools2.
|
|
Back to top |
|
 |
|
Posted: Fri, 19th Jul 2013 00:55 Post subject: |
|
 |
Last edited by paxsali on Thu, 4th Jul 2024 22:06; edited 1 time in total
|
|
Back to top |
|
 |
|
Posted: Fri, 19th Jul 2013 01:01 Post subject: |
|
 |
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73256
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Fri, 19th Jul 2013 01:04 Post subject: |
|
 |
No sorry, that's just a looped gif I found on the internets.

|
|
Back to top |
|
 |
|
Posted: Fri, 19th Jul 2013 01:14 Post subject: |
|
 |
Last edited by paxsali on Thu, 4th Jul 2024 22:06; edited 1 time in total
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73256
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Fri, 19th Jul 2013 01:16 Post subject: |
|
 |
I am uploading now. Should be done soon, it's 160MB archive.
If you'd like that kick specifically in 600fps using MFlowFps, put the frame numbers here (start and end), and I'll encode.
|
|
Back to top |
|
 |
|
Posted: Fri, 19th Jul 2013 01:17 Post subject: |
|
 |
Last edited by paxsali on Thu, 4th Jul 2024 22:06; edited 3 times in total
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73256
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Fri, 19th Jul 2013 01:30 Post subject: |
|
 |
|
|
Back to top |
|
 |
|
Posted: Fri, 19th Jul 2013 01:46 Post subject: |
|
 |
Last edited by paxsali on Thu, 4th Jul 2024 22:06; edited 1 time in total
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73256
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Fri, 19th Jul 2013 01:55 Post subject: |
|
 |
Hmm, I subtracted c2-c3 and c4-c3 and there is a difference:
I used:
Code: | a = DirectShowSource("c2_1.mkv")
b = DirectShowSource("c3_1.mkv")
c = DirectShowSource("c4_1.mkv")
StackVertical(Overlay(a, b, mode="Subtract", pc_range=true), Overlay(c, b, mode="Subtract", pc_range=true)) |
|
|
Back to top |
|
 |
Page 2 of 2 |
All times are GMT + 1 Hour |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group
|
|
 |
|