Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd March 2012, 05:56   #321  |  Link
aegisofrime
Registered User
 
Join Date: Apr 2009
Posts: 478
Quote:
Originally Posted by SubJunk View Post
Cool, I'll try not to keep you waiting too long
Lol I wasn't trying to put pressure on you, if that's how it came across. I will just work on my interlaced/Needs-To-Be-QTGMC'ed stuff first.
aegisofrime is offline   Reply With Quote
Old 23rd March 2012, 07:26   #322  |  Link
LexSfX
Registered User
 
Join Date: Feb 2012
Posts: 36
Quote:
Originally Posted by SubJunk View Post
InterFrame has always supported multi-threading, as do most AviSynth plugins.

You just use a multithreaded version of AviSynth then make the script like:

SetMemoryMax(512)
SetMTMode(3)
DSS2('file')
SetMTMode(2)
InterFrame()
This is interesting, and I got the latest multi-threaded build from SEt ( http://www.mediafire.com/file/3gd385...q7/avisynth.7z ). Before installing it, setmtmode() returned an error saying setmtmode() didn't exist, and after installing it, it ran with setmtmode(), so I know I installed it properly. However, even after doing that, the script only used 1 thread with the interframe() call, but all 4 threads without it. I'm using ffmpegsource, if that makes a difference. It runs at full speed without the interframe() call, but interframe() seems to throttle its CPU usage to 1 of my 4 cores somehow, even though I am using setmtmode(2) before the interframe call. Do you have any ideas about why this is happening?

I'm using "avs2pipemod -benchmark interframe.avs" for testing.

My script is here: https://raw.github.com/AlexFolland/i...interframe.avs

By the way, before you say it's because there's no setmtmode(3) before the source function calls, I tried that. It didn't change anything. Also, ffmpegsource seems to be multi-threaded anyway, even without that.

I would be very happy if I could use interframe at full speed! :)
LexSfX is offline   Reply With Quote
Old 23rd March 2012, 07:33   #323  |  Link
SubJunk
Registered User
 
Join Date: Jun 2010
Posts: 443
No idea why it's doing that, sorry. I've never used it with ffmpegsource
SubJunk is offline   Reply With Quote
Old 23rd March 2012, 22:43   #324  |  Link
Bernardd
Registered User
 
Join Date: Jan 2012
Location: Toulon France
Posts: 249
Hi SubJunk,
Thank you for this new release.
Bernard
Bernardd is offline   Reply With Quote
Old 23rd March 2012, 23:22   #325  |  Link
SubJunk
Registered User
 
Join Date: Jun 2010
Posts: 443
InterFrame 2.0b1 is released
SubJunk is offline   Reply With Quote
Old 24th March 2012, 10:41   #326  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 317
"Film" tuning for 2.0b1 seems broken.

Even though the source I'm testing it on is pretty tough, it still uses pure frame blending on the easy parts.
"Smooth" Works just fine though. [/feedback]
Bloax is offline   Reply With Quote
Old 24th March 2012, 12:42   #327  |  Link
SubJunk
Registered User
 
Join Date: Jun 2010
Posts: 443
Yeah I think the scene-change detection is too strong, that could be what's happening there. I'll look at making it weaker. Thanks for the feedback!
SubJunk is offline   Reply With Quote
Old 24th March 2012, 12:49   #328  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 317
Yeah, I'd believe that's the issue. Since in my brief testing of the new plugins, pumping the SCD way too high up resulted in the same effect.

Edit: Though it seems strange that I can't seem to find neither "Scene: x" nor "Blocks: y" definitions.

Last edited by Bloax; 24th March 2012 at 12:55.
Bloax is offline   Reply With Quote
Old 24th March 2012, 12:52   #329  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,665
Hello SubJunk,

Thanks for your hard work.

In one your ealier post you said that the SVP DLLs did not work on AVIsynth 2.6. Is this still a work in progress?
I get an error for both svpflow_cpu.dll and svpflow_gpu.dll. Plugin "__" is not an AVIsynth 2.5 plugin. I'm using 2.6 MT on 32bit XP.
Reel.Deel is offline   Reply With Quote
Old 24th March 2012, 13:15   #330  |  Link
noee
Registered User
 
Join Date: Jan 2007
Posts: 530
Quote:
Originally Posted by Reel.Deel View Post
Hello SubJunk,

Thanks for your hard work.

In one your ealier post you said that the SVP DLLs did not work on AVIsynth 2.6. Is this still a work in progress?
I get an error for both svpflow_cpu.dll and svpflow_gpu.dll. Plugin "__" is not an AVIsynth 2.5 plugin. I'm using 2.6 MT on 32bit XP.
Don't load *cpu or *gpu. Only load the plugins SVP1 and SVP2...
noee is offline   Reply With Quote
Old 24th March 2012, 13:31   #331  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,665
Thanks Noee.

I had tried that but didn't realize that it only works when GPU=True.

When GPU=False I get an error.

SVSmoothFps: overlap must be even with CPU frame composition.

(__\Interframe2.avsi, line 98)

(__\Interframe2.avsi, line 51)
Reel.Deel is offline   Reply With Quote
Old 24th March 2012, 13:48   #332  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Have same error.
Also NewNum adn NewDen are String, but in help/examples they are written eg. as 48000 instead of "48000"
kolak is offline   Reply With Quote
Old 24th March 2012, 16:40   #333  |  Link
aegisofrime
Registered User
 
Join Date: Apr 2009
Posts: 478
Subjunk, I remember in pre 2.0 versions of InterFrame your documentation states that usage of the GPU results in softer output. Your documentation for 2.0 does not state this. Does it mean that GPU and non-GPU output are of the same quality, more or less?
aegisofrime is offline   Reply With Quote
Old 25th March 2012, 00:22   #334  |  Link
SubJunk
Registered User
 
Join Date: Jun 2010
Posts: 443
Quote:
Originally Posted by Reel.Deel View Post
In one your ealier post you said that the SVP DLLs did not work on AVIsynth 2.6. Is this still a work in progress?
It works with 2.6 now

Quote:
Originally Posted by Reel.Deel View Post
When GPU=False I get an error.

SVSmoothFps: overlap must be even with CPU frame composition.

(__\Interframe2.avsi, line 98)

(__\Interframe2.avsi, line 51)
You're right. I will fix it. For now using Preset="Fast" should fix it.

Quote:
Originally Posted by kolak View Post
Also NewNum adn NewDen are String, but in help/examples they are written eg. as 48000 instead of "48000"
All strings (like Tuning and Preset) in the documentation are written without quotation marks, since they have "(String)" next to them. It has always been like that in 1.x too.

Quote:
Originally Posted by aegisofrime View Post
Subjunk, I remember in pre 2.0 versions of InterFrame your documentation states that usage of the GPU results in softer output. Your documentation for 2.0 does not state this. Does it mean that GPU and non-GPU output are of the same quality, more or less?
Yes

Last edited by SubJunk; 25th March 2012 at 00:31.
SubJunk is offline   Reply With Quote
Old 25th March 2012, 00:47   #335  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Does it use fallback method?
kolak is offline   Reply With Quote
Old 25th March 2012, 00:59   #336  |  Link
SubJunk
Registered User
 
Join Date: Jun 2010
Posts: 443
I'm not sure what you're asking
SubJunk is offline   Reply With Quote
Old 25th March 2012, 01:17   #337  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Some solutions use fallback method- so when motion adapative engine produces to many artefacts it switches to simple frame blending conversion.
kolak is offline   Reply With Quote
Old 25th March 2012, 01:21   #338  |  Link
SubJunk
Registered User
 
Join Date: Jun 2010
Posts: 443
There are fallbacks but in those cases we use masking on the problematic areas instead of giving up on the whole frame.
SubJunk is offline   Reply With Quote
Old 25th March 2012, 01:42   #339  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Does this not break frame cohesiveness?

I have some smoothness issues when watching footage on TV.
It's mainly on horizontal movements, eg when someone walks across.
Another question- it also looks like there is not enough motion blur, so footage look very sharp, but not smooth. I tried different setting for sadgamma, but still can't get enough blurring. It's ok for PC monitor, but once watched on TV than motion is not that smooth.
kolak is offline   Reply With Quote
Old 25th March 2012, 01:52   #340  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,391
What motion blur? That's not the scope of this tool. If in frame one the ball is left, and in frame two the ball is right, it will calculate a new frame with the ball in the middle.

Creating motion blur is a quite different kettle of fish.
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Reply

Tags
48fps, 60fps, framedoubling, interframe, smooth motion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:02.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.