Is there are way to remove or at least decrease the frame blending effect caused by a previously rendered video with smart Resampling enabled in Sony Vegas?
+ Reply to Thread
Results 1 to 23 of 23
In theory it's possible to improve , but results depends heavily on the cadence of the blends, the exact type of blend, and amount of "good" frames are present
There are various deblend scripts used in avisynth, unblend, deblend, c deblend, removeblend, many others . Some are geared towards specific types of blends
It would be great if there is an alternative way to do this inside Vegas (free or paid) to be able to split the parts that are affected without leaving the program.
Last edited by lonrot; 9th Jul 2014 at 18:21.
Then why don' t you just re-download the original YT video ??
No way to deblend within vegas, free or paid that I know of.
When you say "split the parts" did you just want to cut them out ? That leaves you with gaps and jerky footage. It's already bad enough going 29.97=>25 (higher to lower FPS) vs. lower to higher FPS
I was referring to external avisynth scripts with avisynth
restorefps() is geared for convertfps() style FPS changes, which is similar to what vegas uses. The problem is if there is editing on top of the FPS change, then the cadence pattern changes, it's no longer regular and way more difficult
Most of the videos are 3-5 minute Top 5's, edited all the way through with music and overlays, for an specific 5 second scene it would mean ripping an entire 45 minute gameplay just to find that scene.
Avisynth is alright. I will add both original and modified video tracks in Vegas and slice them together.
Can you post an example for restorefps? Recovering a 29.94 fps video which was rendered at 25 fps?
actually restorefps won't work for you ; it will only work on a low to high conversion (e.g. 25=> 29.97)
If quality is important I would download the video , deblenders aren't perfect either at detection or repair
You could use cdeblend or srestore and use omode=1 which would replace the blend with the next frame, or omode=0 (replace with previous frame) . That way it will look like smart resample=off . It still sucks because I'm assuming the original 29.97 footage has unique frames. The 25 "fixed" footage will have small jerks.
Download the YT video if you care about this even a little
Import("Srestore.avsi") Import("spinoff.mpg") Srestore(omode=1)
Script error: Invalid arguments to function "Srestore"
(C:\Users\lonrot\Downloads\fs.avs, line 3)
DirectShowSource("spinoff.mpg") Srestore(omode=1)Script error: there is no function named "mt_makediff"
(Srestore.avsi, line 46)
look at the section "required filters"
With masktools2 there are no errors but the video looks exactly the same as the original.
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mt_masktools-26.dll") Import("C:\Program Files (x86)\AviSynth 2.5\plugins\Srestore.avsi") DirectShowSource("spinoff.mpg") Srestore(omode=1)
Try using a frame accurate source filter instead of directshowsource
You can try adjusting the settings , thresholds, or even try another deblend function
But I would just download the original. It's a no brainer.
Even if you get it working ok, it will miss some, perhaps generate some false positives (ruin some good frames by replacing with duplicates) . And even if it worked 100% accurate, it will still be jerky, because you are missing frames from the original
You noticed the blends, but "blends" by definition "blend in" . If your buddy didn't notice the blends, chances are he will notice the duplicates and jerks - they are way more noticable to average person
Better to field blend 30p to 25i. The blends are visible for a shorter period of time and... uh... blend in better. And the jerks are smaller.
Last edited by jagabo; 9th Jul 2014 at 21:26.
It's actually worse than I thought . I did some tests and vegas does 100% blends for the 29.97=>25p , but variable each frame. There are no clean frames. It's not like convertfps(); at least with convertfps() there are 1 in 5 clean frames when you go 29.97=>25.
I shamelessly took jagabo's famous 24v30v60.avi clip, took out the 30p section and made a 29.97 clip to import into vegas, smart resampled out a 25p clip
does 100% blends for the 29.97=>25p , but variable each frame. There are no clean frames
It might be possible if you have the exact ratio, in theory with a very clean test clip like that. And I remember didee pulling some magic out of hats (he actually fixed something similar with a crazy number of blends), but I can't see a way to "fix" that .
It's more academic since the 29.97 original is available on youtube for him
But how would you replicate that vegas style of blending / fps conversion in avisynth ?
Perhaps you can give it a quick test? I'm pretty much useless in terms of scripting.
This is the typical footage treatment I get from my client.
ConvertFPS() gives the same sort of result -- all blended frames. Though I didn't see any that were a blend of 3 frames, like Vegas.
But I think that's just the difference between 30000/1001 and 30.0
This gives 1 in 5 clean
It's blendfps(25) that give similar (but not exactly the same) results to vegas' smart resample. Maybe adjusting the aperture will give similar results
(Blendfps is part of motion.dll, the one I have is Motion_12Dec05.dll)
Last edited by poisondeathray; 10th Jul 2014 at 00:15.
Maybe adjusting the aperture will give similar results
vegas does (introducing blends) , not deblending
You need to understand exactly what vegas is doing (what phase, double blends, triple blends etc...) , before you even attempt to deblend it . Or you can blindly try out some settings with a bunch of deblend filters
But I doubt that footage you uploaded is recoverable. On top of blends, there are compression artifacts. Even with a clean test pattern , I think it's very difficult to "undo"
The srestore / cdeblend methods won't work with simple deblend modes, because you have 100% blends (or very very close to). So even if they detected a "blend" correctly, they would replace it with a neighboring blend! ie. you have WAY too many blends . Even double blend modes cause major problems, the "replacement" often looks way worse then the original (etched ghosting artifacts)
Just download the original unblended footage already!
Last edited by poisondeathray; 10th Jul 2014 at 10:38.
Just download the original unblended footage already!