Topic: Video with variable frame size plays crazy
This video is playing totally crazy under SVP4; it's unwatcheable. I'm guessing it has been encoded as a weird VFR.
https://mega.nz/#!LA4HyLKb!z9mfwfPt2cCA … _OJnaZ-gXY
You are not logged in. Please login or register.
SmoothVideo Project → Using SVP → Video with variable frame size plays crazy
This video is playing totally crazy under SVP4; it's unwatcheable. I'm guessing it has been encoded as a weird VFR.
https://mega.nz/#!LA4HyLKb!z9mfwfPt2cCA … _OJnaZ-gXY
this's not VFR video
but it switches between 16:9 and wide screen formats every 10 seconds
so it's "black bars detection" that makes it "unwatchable"
I have two solutions:
1. Disable black bars detection. And cut frame manually to constant size you want.
2. To develop "smart" black bars lighting algorithm.
Solution 1 you can use now with SVP4. For solution 2 a some time is needed. It can be realized in the future.
it switches between 16:9 and wide screen formats
16:9 is widescreen.
I believe you mean "ultra-wide".
Mystery
I told about such "smart black bars lighting"...
The idea is to detect and colorize black bars at short scenes interleaved with full-sized scenes. Logos and subtitles must remain untouched.
demo video: BoA - Kiss My Lips (lighting).mp4 (155.9 MB)
View it with SVP
concept avs-script:
SetMtMode(3,4)
DirectShowSource("BoA - Kiss My Lips.mkv")
lights=16
SetMTMode(2)
global top = Crop(0, 0, 0, 106).BilinearResize(16,16)
global btm = Crop(0, 974, 0, 0).BilinearResize(16,16)
topS=Crop(0,108,0,4).blur(0,1).blur(0,1).PointResize(1920,8).blur(0,1)
global topS=topS.BicubicResize(lights,108).BicubicResize(1920,108)
btmS=Crop(0,972-4,0,4).blur(0,1).blur(0,1).PointResize(1920,8).blur(0,1)
global btmS=btmS.BicubicResize(lights,108).BicubicResize(1920,108)
ScriptClip("""AverageLuma(top)>20 ? last : overlay(last,topS,mode="lighten")""")
ScriptClip("""AverageLuma(btm)>20 ? last : overlay(last,btmS,y=972,mode="lighten")""")
distributor()
Pictures are attached.
Demo animation
SmoothVideo Project → Using SVP → Video with variable frame size plays crazy
Powered by PunBB, supported by Informer Technologies, Inc.