Log in

View Full Version : InterFrame 2.8.2 - Framedoubling/60FPS/HFR conversion script


Pages : 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20

SubJunk
19th February 2013, 20:50
Do you mean if you use the DLLs from 2.0.1 with the InterFrame 2.5.0 script?

kolak
19th February 2013, 20:53
Can be old or new script- dlls are changing.

SubJunk
19th February 2013, 20:55
I'll test it

kolak
19th February 2013, 21:13
There is one big improvement- handling edges of the frame- way better than in old version!

kolak
19th February 2013, 21:21
I'll test it

It's almost like I need pel=4 (with pel=2 for old dlls) to get same results.

sofakng
8th March 2013, 15:00
I've installed AviSynth 2.5.8 because apparantly SVP (SmoothVideo Project) doesn't work well with 2.6, but I'd like to use AviSynth 2.6 MT when encoding with InterFrame + MeGUI.

Is this possible?

sofakng
8th March 2013, 17:58
OK - It looks like I figured it out.

I have AviSynth 2.5.8 installed normally (through the installer).

I downloaded the AviSynth 2.6 MT (latest) avisynth.dll and had to copy it to the following folders:

\MeGUI
\MeGUI\tools\avs
\MeGUI\tools\x264

I really needed it in all three places (I tried every combination) and now it seems to work fine.

sofakng
9th March 2013, 15:55
Sorry, but one more post.

Last night I ran several tests and using the "GPU=true" flag actually slowed down the encoding by a tiny bit. I ran several consecutive tests (each encode took about three hours), and here was the latest test:

CPU: 14.05 FPS
GPU: 13.37 FPS

Is this normal?

My GPU is a GTX 690 and I'm running Windows 7 x64...

chainik_svp
9th March 2013, 22:00
using the "GPU=true" flag actually slowed down the encoding by a tiny bit

Is this normal?

My GPU is a GTX 690

May be it's not the only GPU you have?
HD4000/2500 is also a "GPU", you know...

SubJunk
10th March 2013, 22:36
That's normal because InterFrame uses higher quality settings while in GPU mode

kolak
10th March 2013, 22:48
What exactly is better?
How much is it better?

SubJunk
10th March 2013, 22:58
GPU mode uses 8x8 blocksize, CPU mode uses 16x16

XinZu
13th March 2013, 00:55
hello, i'm new at tweaking video settings and i just followed a tutorial at a site...interframe works well with sd content but cant get it to work properly with 720&1080 video becomes choppy, slow & out of sync with audio...m using alienware m17x-r4 i7 quad processors, 8gb ram, gforce 660m gtx 2gb...is it the settings or is this hardware insufficient to use interframe on hd video?

Motenai Yoda
18th March 2013, 20:14
16/01/2013 - 2.4.0 RC1:
[list] Fixed the presets Weak and Faster when not using GPU (thanks, Motenai Yoda!)

thanks but why? :confused:

LilScrappy
28th March 2013, 16:50
I have question please for help, when try to use Preset="Placebo" have this error, any chance to fix?
And Placebo have big different between Medium, or it a good options to use ?
http://i.imgur.com/ZOPNSWB.jpg

aegisofrime
28th March 2013, 18:47
I have question please for help, when try to use Preset="Placebo" have this error, any chance to fix?
And Placebo have big different between Medium, or it a good options to use ?
http://i.imgur.com/ZOPNSWB.jpg

Placebo was removed. Can't remember which revision, but the "highest" preset is now Medium.

LilScrappy
28th March 2013, 19:08
ок
when i encoding full movie with 60fps in 48% i think looks megui stoped encoding, and in log info i see have some error but i forgot to save, something like this time frame error 12567, i encoding now again and save error if have again!
my script is
FFVideoSource("J:\video.mkv", fpsnum=24000, fpsden=1001)
Spline36Resize(1920,800,0,140,-0,-140) # Spline36 (Neutral)
Setmemorymax(1024)
SetMTMode(5,6)
SetMTMode(2)
InterFrame(Cores=6, Preset="Medium", Tuning="Film", OverrideAlgo=23, NewNum=60060, NewDen=1001)

i don't have Video Card, please tell me where maybe is problem, to stoped encoding when is 48%
maybe SetMode dont know, i use Intel i5 3550

LilScrappy
29th March 2013, 18:40
Please for help i have again error in 48% i think:
http://i.imgur.com/ZSZOPMR.jpg
what mean want to disable 64 bit mode in megui setting or, and why?
please helping me to fix this problem!

edit:
i start again encoding 60fps this time with x264 32bit, but please tell me below 60fps, i mean 30fps, 50fps no problem to use x264 64bit mode or ?

edit2:
i use now 32bit 10bit-depth and have this error:
http://i.imgur.com/9tRc0Ta.jpg

SubJunk
29th March 2013, 22:56
The best option is to use x264 32-bit at 8-bit-depth. 64-bit is less stable and 10-bit-depth is unsupported by most hardware

kolak
3rd April 2013, 20:33
Have a problem with my new laptop with GPU mode- keeps crashing.
I have HD4000 and GF 640M LE, so would like to use it. Tried different settings for gpuid and nothing works- if works a bit than always uses HD4000.
How can I check what GPU is my cards have?

StainlessS
3rd April 2013, 20:49
Suggest, Right click "My Computer,Properties,Hardware,Device Manager,Display Adapters".

If "My Computer" not on Desktop, then same on "My Computer" in Windows Explorer (WINDOWS E key).
Then perhaps google the card with "GPU".

Could perhaps identify card by clicking on it in device manager (as above) and selecting Details tab, and google search on one of the
ID's there, will look something like "PCI\VEN_8086&DEV_29A2&SUBSYS_513D8086&RE_02"

http://www.geforce.co.uk/hardware/desktop-gpus/geforce-gt-640m-le/specifications (see note at top of page)

kolak
3rd April 2013, 22:06
I see both cards fine- this is not the problem, just don't know how to use them in interframe.
How can I know what gpuid should I specify to use GF card?

kolak
4th April 2013, 20:46
Sorted- had some OpenCL drivers installed, which was causing crashes.

Sparktank
27th April 2013, 11:23
Looking at the SVP wiki, is this the chart I use to help determine if my Intel is GPU worthy?
http://www.svp-team.com/wiki/GPU_Compatibility

Intel 2nd gen. Core "Sandy Bridge" CPU IGP
Intel HD Graphics 3000

So that would be a no for GPU=true on my laptop?
I tried and it doesn't work. But I mean, there won't be any support for Intel HD Graphics 3000 in the future?

I usee DirectShowSource or DSS2 in the mean time, which works well.

kolak
27th April 2013, 13:07
It's probably not fast enough, the same as 2500.

SVP:

(*) Note: HD2500 is still too slow for any real job. Don't try to use it, we warned you!

x265
27th April 2013, 15:50
Does frame interpolation using Interframe require very high bitrates to look good?

kolak
27th April 2013, 16:41
If you have source with macroblocking this may affect motion compensation algorithm, but it works quite well on many source types- the cleaner the source, the better.

x265
27th April 2013, 16:57
I tried encoding a small part of a BD, sometimes during motion the space around people looks distorted. Why does this happen?

kolak
27th April 2013, 17:07
BDs are mainly 24p and this means "not much motion+motion blur", which causes artefacts in motion estimation algorithm. This is normal and at the moment not much can be done- motion adaptive fps conversion is very difficult. We have to wait for some miracle from SVP :)
In the meantime 50/60i source (deinterlaced to 50/60p) convert between each other at very good quality.

Sparktank
28th April 2013, 00:50
It's probably not fast enough, the same as 2500.

SVP:

(*) Note: HD2500 is still too slow for any real job. Don't try to use it, we warned you!

Interesting. I'll stick with DSS/DSS2. It does a well enough job as it is.

I tried encoding a small part of a BD, sometimes during motion the space around people looks distorted. Why does this happen?

This makes me think.
I've been downsizing to cropped 720p and then applying InterFrame and it turns out fine.

But I recently tried InterFrame first in the script then downsized it to cropped 720p.
Crop()
InterFrame()
SplineResize()

The results were uncanny. Especially for things where text fades in and out (like in teasers/trailers).

ratulupadhyay
6th May 2013, 03:39
Hey subjunk, thanks a ton for all your hard work, and I made this account just to say thank you. :)

While I'm at it I thought I could ask about what should I use. Currently I'm using this script to upscale and apply interframe. Couldn't get it all the way up to 1080p, my native resolution, as my CPU usage shoots up to 100% and then the player crashes. Most of my videos are in 720p, so is there anything I should change or add to make the quality better?

SetMemoryMax(512)
SetMTMode(3,16)
ffdshow_source()
LoadPlugin("C:\\Program Files (x86)\\Avisynth 2.5\\plugins\\svpflow1.dll")
LoadPlugin("C:\\Program Files (x86)\\Avisynth 2.5\\plugins\\svpflow2.dll")
Import("C:\\Program Files (x86)\\Avisynth 2.5\\plugins\\InterFrame2.avsi")
SetMTMode(2)
lanczos4resize(1366,768)
InterFrame(Cores=16, GPU=true, Tuning="Smooth", Preset="Medium")
SetMTMode(1)
GetMTMode(false) > 0 ? distributor() : last

With this script my CPU usage is around 40-70%

CPU - Phenom X6 1090T
GPU - GTX 660

SubJunk
6th May 2013, 22:26
Hi ratulupadhyay, thanks for the kind words!

The script looks good, I would try removing the tuning and presets since I recently made the default preset smoother than it used to be, you can always change it back if you still prefer smooth.
The only real thing to change is the resizer, you should get slightly better quality by using Spline36Resize(1366,768) or if you want the very best you can use ResampleHQ (http://forum.doom9.org/showthread.php?t=160038) which is nice especially for downscaling.

ratulupadhyay
8th May 2013, 02:39
Spline36resize did make a difference, resampleHQ looked good but it blew up my CPU usage! Running interframe with default settings lowered my CPU usage by 10% and looked quite a lot better, lot less artifacts. Thanks a lot. :)

SubJunk
9th May 2013, 02:30
Great, glad it helped :)

aegisofrime
9th June 2013, 05:48
Hi Subjunk!

I use InterFrame on a regular basis, and am generally pleased with the visual quality. It's the speed that concerns me. I'm currently using a Radeon 7850, and I wonder if I will get better speeds if I change to a GTX 660?

SubJunk
9th June 2013, 07:46
Probably not, since it only uses the GPU for a few things. It's still mostly CPU-based. Overclocking the CPU is probably the easiest way to get better speeds, or of course using a lower quality preset

ceth
12th June 2013, 12:52
Hi SubJunk,

I'm looking for a way to achieve "controlled interpolation". What I mean by "controlled" is the script would only interpolate pre-determined frames from an inputed list.

For exemple:

original has frames 1-2-3-4-5-6-7-8-9-10

inputed list:
4
8
9

output: 1-2-3-4-i1-5-6-7-8-i2-9-i3-10 where i1, i2, i3 are frames interpolated from original frames 4&5, 8&9 and 9&10 respectively, and the other frames are the original frames that remain untouched.

Is it possible ?

SubJunk
14th June 2013, 08:00
Yeah I think there is a way using AviSynth but I don't know how off the top of my head. You could start a thread about it.

robpdotcom
14th June 2013, 14:18
Can I get some tips on using Interframe while re-encoding?

Since I'm re-encoding, I don't need real-time performance, and I want maximum quality.

Thanks

SubJunk
14th June 2013, 21:06
Maximum quality is somewhat subjective but my recommendation is to leave it all at defaults but use GPU=true

pbristow
15th June 2013, 19:52
Hi SubJunk,

I'm looking for a way to achieve "controlled interpolation". What I mean by "controlled" is the script would only interpolate pre-determined frames from an inputed list.

For exemple:

original has frames 1-2-3-4-5-6-7-8-9-10

inputed list:
4
8
9

output: 1-2-3-4-i1-5-6-7-8-i2-9-i3-10 where i1, i2, i3 are frames interpolated from original frames 4&5, 8&9 and 9&10 respectively, and the other frames are the original frames that remain untouched.

Is it possible ?

First, a good way to avoid confusion is to number your frames 0, not from 1, as that's what avisynth assumes. For simplicity's sake, I'm going to assume/pretend that in your example there's a frame at the beginning of the input called frame 0, but which you don't want to include in the output.

The way to approach the task is to just generate extra in-between frames with InterFrame as usual, and then select the frames you want from that. Don't worry about time/CPU being wasted producing frames you don't want: Avisynth is cleverly designed to only generate frames that are actually required for the eventual output. So for example, if I say:


Interframe()
SelectEvery(999, 2, 4, 6, 8, 9, 10, 12, 14, 16, 17, 18, 19, 20)


Then avisynth looks at the SelectEvery function first, requests the frames it needs Interframe, and interframe either passes through an original frame or generates a new one as required. It never generates a frame you haven't asked for.

The result will be your "1-2-3-4-i1-5-6-7-8-i2-9-i3-10" sequence. All you need to do is double the frame numbers you want to keep from the original, and insert odd numbers in between for the ones you want interpolated by InterFrame.

SelectEvery() is a quick-n-dirty way of selecting a fixed sequence of frames if your source clip is short enough (up to a thousand frames, say): You just use a number bigger than the input clip length as the first argument, so that it doesn't start looping. There are lots of other ways to select frames, depending what you need: SelectRangeEvery (new in version 2.5); Decimate; and various things recently created by StainlessS.

ceth
16th June 2013, 16:52
Thanks for your answer pbristow :)
I have quoted it and answered in the thread I opened here (http://forum.doom9.org/showpost.php?p=1633126&postcount=11) so I don't pollute Subjunk's thread with things that are not only related to interpolation.

robpdotcom
16th June 2013, 20:02
Maximum quality is somewhat subjective but my recommendation is to leave it all at defaults but use GPU=true

Thanks for the tip. BTW: Why was the "placebo" preset dropped? Would that have given better results?

StainlessS
16th June 2013, 20:14
Placebo, "An innocuous or inert medication; given as a pacifier or to the control group in experiments on the efficacy of a drug".

In context, takes a LOT longer to make negligible difference, for those that have time to waste with little or no benefit.

SubJunk
17th June 2013, 01:48
Thanks for the tip. BTW: Why was the "placebo" preset dropped? Would that have given better results?As the quality of other presets was improved, thanks to SVP, the placebo preset didn't offer better quality anymore

SubJunk
1st July 2013, 00:32
Hi jq963152, can you describe a part of the video that does that?
InterFrame isn't meant to be a competitor against SVP because it's mostly for a different purpose; SVP is for realtime watching on the computer, while InterFrame is for encoding for later, or watching on your TV.

otherman
1st July 2013, 07:53
It's possibile to use interframe to analyze a lowres 24fps video to get 24fps into a highres 8fps video? (The videos are the same, recorded in the same time from the same camera)

SubJunk
5th July 2013, 03:33
I'm not sure what you're asking, otherman. If you want to make a 24fps video into 8fps then you don't need InterFrame. AviSynth can do it with functions like AssumeFPS() or ConvertFPS()

sigma2x
5th July 2013, 08:10
I think what otherman is asking is, can you take a high resolution 8fps clip and turn it into 24fps using a low res 24fps clip to guide the motion.

otherman
5th July 2013, 09:55
I think what otherman is asking is, can you take a high resolution 8fps clip and turn it into 24fps using a low res 24fps clip to guide the motion.

Exactly :)