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 > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th October 2017, 17:58   #1  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 3,097
TTempsmooth port or equivalent for vapoursynth?

Is there a TTempsmooth port or equivalent for vapoursynth ?

I couldn't find one , and core.avs.LoadPlugin won't load an avisynth 2.5 plugin on x64
poisondeathray is offline   Reply With Quote
Old 13th October 2017, 00:49   #2  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 1,625
Simplest solution: ask someone to recompile it for 2.6
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 13th October 2017, 06:22   #3  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 3,097
Quote:
Originally Posted by Myrsloik View Post
Simplest solution: ask someone to recompile it for 2.6

Are you my "someone" , or too busy ?

Or should I asking in the ttempsmooth thread in the avisynth forum ?
poisondeathray is offline   Reply With Quote
Old 13th October 2017, 16:59   #4  |  Link
DJATOM
Registered User
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 68
Guess I've managed to build it (with some code modifications and w/o asm routines): http://dropmefiles.com/cyHJI
DJATOM is offline   Reply With Quote
Old 13th October 2017, 17:14   #5  |  Link
tuanden0
Registered User
 
Join Date: Oct 2016
Posts: 59
Try this, I don't remember where I get it. But it's seem to be here
https://forum.doom9.org/showpost.php...&postcount=728

https://www.mediafire.com/file/v9229...TempSmooth.rar
tuanden0 is offline   Reply With Quote
Old 13th October 2017, 17:30   #6  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 3,097
Quote:
Originally Posted by DJATOM View Post
Guess I've managed to build it (with some code modifications and w/o asm routines): http://dropmefiles.com/cyHJI
Thanks. This loads correctly


Quote:
Originally Posted by tuanden0 View Post
This doesn't load, because it's compiled for avisynth 2.5, but thanks anyways
poisondeathray is offline   Reply With Quote
Old 13th October 2017, 17:39   #7  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 3,097
clip = core.avs.TTempSmooth(c1=clip)

But I get error

"TTempSmooth: only YV12 and YUY2 input supported!"

Clip is already YUV422P8 , do I need to override clip properties with SetFrameProp or how do I "convince" this to work in vapoursynth ?
poisondeathray is offline   Reply With Quote
Old 13th October 2017, 17:43   #8  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 1,625
Quote:
Originally Posted by poisondeathray View Post
clip = core.avs.TTempSmooth(c1=clip)

But I get error

"TTempSmooth: only YV12 and YUY2 input supported!"

Clip is already YUV422P8 , do I need to override clip properties with SetFrameProp or how do I "convince" this to work in vapoursynth ?
It's called COMPATYUY2
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 13th October 2017, 17:47   #9  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 3,097
Quote:
Originally Posted by Myrsloik View Post
It's called COMPATYUY2
It works. Thanks
poisondeathray is offline   Reply With Quote
Old 13th October 2017, 17:49   #10  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,155
Methinks Myrsloik is a pussycat, perhaps mistaken

Either way, nice fella.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but are any of them infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 13th October 2017, 17:50   #11  |  Link
DJATOM
Registered User
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 68
Quote:
Originally Posted by poisondeathray View Post
Thanks. This loads correctly
Good.

Since TTempSmooth is GPL`ed, I'm publishing modified sources: https://www.dropbox.com/s/785qyq8t7c...TTempSmooth.7z
Someone might also want to port inline asm.
DJATOM is offline   Reply With Quote
Old 13th October 2017, 17:58   #12  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 3,097
The light bulb just went on for me!

COMPATBGR32 , COMPATYUY2 are for the RGB, YUV422 "packed" formats !

Don't laugh it's not obvious for us non programmer types
poisondeathray is offline   Reply With Quote
Reply

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 06:46.


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