76

(22 replies, posted in Using SVP)

We're investigating how to optimize frame interpolation for quality instead of for real-time processing in this thread.
https://forum.doom9.org/showthread.php? … ost1800439

This code does give significantly better results than SVP/Interframe ... *when* it behaves.

function jm_fps(clip source, float "fps")
{
fps = default(fps, 25.000)
fps_num = int(fps * 1000)
fps_den = 1000

prefiltered = RemoveGrain(source, 22)
super = MSuper(source, hpad = 16, vpad = 16, levels = 1) # one level is enough for MRecalculate
superfilt = MSuper(prefiltered, hpad = 16, vpad = 16) # all levels for MAnalyse
backward = MAnalyse(superfilt, isb = true, blksize = 16, overlap = 4, search = 3, dct = 0)
forward = MAnalyse(superfilt, isb = false, blksize = 16, overlap = 4, search = 3, dct = 0)
forward_re = MRecalculate(super, forward, blksize = 8, overlap = 2, thSAD = 100)
backward_re = MRecalculate(super, backward, blksize = 8, overlap = 2, thSAD = 100)
out = MFlowFps(source, super, backward_re, forward_re, num = fps_num, den = fps_den, blend = false, ml = 200, mask = 2)

return out
}

This has no artifact masking, and produces considerable artifacts.

My question is: how does artifact masking work in SVP, and how could it be added to this script?

Then I'm thinking, artifact masking could fall-back on frame blending instead of disabling frame interpolation altogether.

Then, this algorithm most likely will still will result in some serious artifacts that must be removed manually (replacing these frames with a clip using frame blending).

77

(0 replies, posted in Using SVP)

This is slightly off-topic but not so much because it allows easily re-encoding videos to 60fps, while also optionally upscaling them with very good quality (and applying a few other filters).

https://raw.githubusercontent.com/mysteryx93/NaturalGroundingPlayer/master/Setup/Screenshots/Screenshot3.png

You can get x265 output with Opus audio if you want; or simply copy the source audio without re-encoding it.

I posted about this a while back, and now I just released v1.4 that has major improvements in every area.

You can give it a try here

This software also does a whole bunch of other cool stuff.

Note: the output would be further improved if SVP would support YV24 format, because now I'm downscaling from 16-bit YV24 to 8-bit YV12 in the middle of the processing before doubling the resolution again.

78

(15 replies, posted in Using SVP)

... I have an octacore from 3.5 years ago. They still aren't common?

It rocks at video encoding, couldn't believe it the first time I saw it. Unfortunately performance went backwards after that.

79

(15 replies, posted in Using SVP)

What about YV24 videos? Would it be difficult to support it?

80

(15 replies, posted in Using SVP)

10-bit would be nice, sure, although ffdshow doesn't support.

I know the focus is on live playback, but this is also useful for AviSynth manual processing. Since I run SVP in the middle of the script, the ability to process in YV24 and not downscale the chroma into YV12 before further upscaling the image would considerably improve the image quality in my case. I don't think this would be hard to implement.

Then, could the algorithm itself be further be improved or it's mathematically doing the best it can already? Comparing with various other products doing a similar job (including Abobe Optical Flow), it's already doing a great job, yet there's always room for improvements.

81

(15 replies, posted in Using SVP)

Hey, I haven't been much active around here for a while but I see you got busy with customer support since releasing SVP 4 smile

You've done a full rewrite of the management UI... but the core really hasn't changed for a long time AFAIK. Are there any plans for further improvements to the core DLLs and the video processing itself?

Feature-wise, would it be difficult to support YV24? For sure it would be slower and require more memory, but for manual processing with AviSynth I don't think it would be an issue. How much more memory and processing would it require?

uh... it means the AviSynth script is not returning valid data...

If you click "Preview in MPC-HC", is the video loading correctly? If not, what error message do you get?

In the Media Encoder window, there is a "Script" tab that allows you to see and customize the auto-generated script. You select your desired settings, then go to the Script tab, then you can fine-tune the script. If you go back to the Settings tab, however, you lose your custom changes.

On a side note I'll mention I made a *lot* of improvements to the media encoder (and the overall software) but never finished those changes... not sure when I'll get back into finishing that.

I am however blown away that the software still gets downloaded over 150 times per week!!

In comparison, with my blog and work, I get about 1 subscriber per day.

TayyabKhalid wrote:

Oh, so I can get 72fps. Could you please give me instruction on how to do so, I don't have a clue, even thouh I did check the interframe documentation.

Change NewNum
InterFrame(Cores=8, Tuning="Smooth", NewNum=72, NewDen=1, GPU=true)

AndyDragneel wrote:

I tried the media encoder but.....when i select the file and then i click "encode" the cmd appear and disappear after 1 sec.....what should i do?

i think that this is the error: LoadPlugin: unable to load "C:Progamfiles ecc ecc LSMASHSource.dll",Module found.
Install missing library?
(C:/NaturalGrounding/Temp/Jobi_Script.avs,line 2)

You can try an utility like this to install all VC++ redistributable
http://appnee.com/vc-redist-installer/

1. As MAG79 said
2. You can get 72fps by editing the script manually and changing the parameters of InterFrame (see InterFrame documentation)
3. Yes.

For LSMASHSource.dll not loading, the only thing I can think of is missing VC++ redistributable; not sure which version is required for this.

For failing to load h265 video, LSMASHSource is failing. As an alternative, you can use the option to convert the video to AVI and it will load just fine.

87

(0 replies, posted in Using SVP)

I've been doing some experiments with doing OpenCL processing with my 2 graphic cards with KNLMeans denoiser.

Here are the results.

I'm wondering. Could SVP benefit from using both graphic cards on a dual-graphics system?

Although SVP is a lot more CPU-intensive and the CPU is often the bottleneck.

88

(7 replies, posted in Using SVP)

Press 'O' for Options. Playback, Output. DirectShow Video: select System Default instead of madVR.

89

(5 replies, posted in Using SVP)

Adobe Premiere CC 2015.1 introduced Optical Flow to do pretty much what SVP is doing. How does it compare?

SVP
https://s31.postimg.org/4musvzzqf/Motion_SVP.png

Adobe Premiere Optical Flow
https://s31.postimg.org/sp71d4qzr/Motion_Optical_Flow.png

The clip isn't exactly the same; the SVP clip is zoomed in a little bit more, but it's good enough for a comparison. Optical Flow creates UGLY artifacts.

SVP team wins!

I have rules setup based on the various video formats. It works fine, EXCEPT for Interleaved videos. The reason is that a 720p Interleaved video gets seen as having a height of 360 in SVP and thus it selects the wrong profile. Since the manager has rules for whether it is interleaved, it knows it. In that case, it should evaluate rules based on the *real* height of the video, not half as it does right now.

91

(1 replies, posted in Using SVP)

I know this wouldn't be useful to many, but I'd like to hear form the developers. Would it be hard to implement?

92

(1 replies, posted in Using SVP)

Would it be difficult for SVP to support YV24 and/or RGB24 formats with AviSynth?

Sure the performance will be lower, but it can be useful when doing manual encoding.

93

(1 replies, posted in Using SVP)

Hey Chainik, I've been trying to run scripts in AVS+ with InterFrame and there has been several weird issues. Which is strange since SVP itself is running better than ever.

Perhaps you'd want to take a look at this thread and bring your insights
http://forum.doom9.org/showthread.php?t … mp;page=78

94

(13 replies, posted in Using SVP)

Plus I'm working on a software that manages video playback for average users. Integrating an "expert-only" video like MVP that needs to be configured from the command-line is out of the question. It's something I could do myself but I can't expect others to do that.

95

(46 replies, posted in Using SVP)

Oh, I just got a "freeze on seek". These are now rare but still happen.

96

(13 replies, posted in Using SVP)

MAG79, how complicated would it be to rewrite a "ffdshow lite" version that only serves as a bridge for AviSynth? Because right now that code is a dead unmaintaineable mess that does a whole bunch of things.

97

(13 replies, posted in Using SVP)

The person currently working on AviSynth+ has been discussing the possibility of adding high-bit-depth support to the AviSynth engine. I think it would make more sense for SVP to support it based on a native implementation instead of hacking around.

98

(46 replies, posted in Using SVP)

It does seem a bit more stable with 4.0.0.60 as the latest version was causing random crashes in the middle of playback which didn't happen before.

As to whether MPC 1.7.9 helps, I'm not sure.

99

(46 replies, posted in Using SVP)

Alright I've been playing around with MPC-HC 1.7.9, AviSynth+ and SVP 4.0.0.60.

It has been surprisingly very stable but I just got a freeze after playing videos about 20 videos without issue. The freezes only happen when loading videos.

Then I'm loading AVS scripts instead of opening the video file directly; I'm not sure if it would still crash if I open the video files directly.

EDIT: I've got another crash when loading a video directly. Still totally random, but it always happens when loading.

100

(46 replies, posted in Using SVP)

I think 2.6 wasn't crashing so much on seek, but would still sometimes freeze when loading videos.

Every now and then, MPC-HC process needs to be killed and re-opened.

Then I'm also loading the video through an AVS script to re-tune to 432hz instead of opening it directly which adds to the instability.

Edit: I think you're right. 2.6 doesn't crash on seek. Only on load.