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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

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

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th June 2012, 22:07   #121  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,501
On the System Setup page on Github, both FFmpeg and FFMS2 have full checkinstall commands. And while the instructions there are geared toward the release tarballs and therefore have simple version numbers to parse, AvxSynth itself is left with a plain sudo make install.

The below is the checkinstall line I've been using for AvxSynth:
Code:
sudo checkinstall --pkgname=avxsynth --pkgversion="1:$(grep "Version" avxsynth.pc | \
    cut -f2 -d " ")+$(git rev-list HEAD | wc -l)-$(git rev-list HEAD -n 1 | cut -c 1-7)-$(date +%Y%m%d)" \
    --backup=no --deldoc=yes --fstrans=no --default
which results in:
Code:
$ sudo apt-cache show avxsynth
Package: avxsynth
Status: install ok installed
Priority: extra
Section: checkinstall
Installed-Size: 11356
Architecture: i386
Version: 1:4.0+137-b2eb3c3-20120625-1
Provides: avxsynth
Description: Package created with checkinstall 1.6.2

Last edited by qyot27; 26th June 2012 at 22:13.
qyot27 is offline   Reply With Quote
Old 26th June 2012, 22:38   #122  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,754
Hmm, that's a useful command you got there qyot27. I'll probably steal it once I get my new i7 Ubuntu rig up.
Adub is offline   Reply With Quote
Old 26th June 2012, 23:00   #123  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 497
@qyot27: ubuntu?

to build package in ubuntu/debian: "dpkg-buildpackage -b" in avxsynt folder.. avxsynth have all to build package without checkinstall

Last edited by sl1pkn07; 27th June 2012 at 01:00.
sl1pkn07 is offline   Reply With Quote
Old 27th June 2012, 12:01   #124  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,501
I know about the buildpackage support, but I can't be bothered to use it. The only users who should really care about making repository-safe packages are those maintaining a repo, not the casual user that just wants it logged in the package manager.

It still doesn't change the fact that if it were so important to use the 'Debian way' to build the package (which it really isn't, aside from repo maintainers), then it still doesn't explain why it's not given as the final step on the installation page, with make install used instead. And considering said installation page assumes the use of an Ubuntu system (as that's the distro AvxSynth development is targeted to anyway), either packaging method would be valid and superior to a plain make install.
qyot27 is offline   Reply With Quote
Old 27th June 2012, 14:31   #125  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 497
is it more difficult:

dpkg-buildpackage
cd ..
sudo dpkg -i libavxsynth* avxedit*

instead of:

autoreconf -i
./configure
make
Code:
sudo checkinstall --pkgname=avxsynth --pkgversion="1:$(grep "Version" avxsynth.pc | \
    cut -f2 -d " ")+$(git rev-list HEAD | wc -l)-$(git rev-list HEAD -n 1 | cut -c 1-7)-$(date +%Y%m%d)" \
    --backup=no --deldoc=yes --fstrans=no --default
?

Use checkinstall instead of make install, because if you use make install, when deleting sources you may need to uninstall 2 method:

Rebuild sources and make uninstall (in the same prefix) or delete files installed one by one.

Using checkinstall (and dpkg-buildpackage) is easier than removing/updating the build using the system package updater. (apt-get, dpkg, packagekit,synaptic, etc)

Last edited by sl1pkn07; 27th June 2012 at 14:39.
sl1pkn07 is offline   Reply With Quote
Old 28th June 2012, 01:33   #126  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,406
I like the IDEA of LINUX, and the demise of MS, but really, not gonna happen any time soon.
If only Linux could differentiate between eg a word processor program and some other.
Under Windows, you might have a program called eg Office stuff, under Linux
it will almost certainly be called giraffe or duck billed or whatever..

I hate Windows, and Linux, but not in equal measure.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 28th June 2012, 01:37   #127  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 497
openoffice, libreoffice calligra.....
sl1pkn07 is offline   Reply With Quote
Old 28th June 2012, 01:46   #128  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,406
Can you suggest a solution for those unfortunate giraffe fixated users amongst us.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 28th June 2012, 01:51   #129  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Let's stay on topic, guys.
Guest is offline   Reply With Quote
Old 28th June 2012, 01:51   #130  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 497
oh. sorry (the offtopic). giraffe is a circuit simulator?

ktechlab?
sl1pkn07 is offline   Reply With Quote
Old 28th June 2012, 01:54   #131  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 497
okidoki
sl1pkn07 is offline   Reply With Quote
Old 28th June 2012, 02:10   #132  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,406
sl1pkn07, Open source?
Maybe like Spice. Nice Spice simulator would be well good.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 28th June 2012 at 02:20.
StainlessS is offline   Reply With Quote
Old 26th July 2012, 16:37   #133  |  Link
e1897876
Registered User
 
Join Date: Jul 2012
Posts: 3
Hello,

Does someone know if it is somehow possible to get the following AviSynth script working with AvxSynth (or which lines will work at least)? The functions (.avsi) used here are attached. I think, the video source could be modified as ffdshow tryouts doesn't exist under Linux.

setmtmode(5,0)
SetMemoryMax(512)
video=ffdshow_source().changefps(ffdshow_source(), linear=true)
A=video
setmtmode(2)
SetMemoryMax(712)
B=a.SPresso_JD()
C=a.SeeSaw_JD(B).LimitedSharpenFaster_JD(strength = 11)
return C
GetMTMode(false) > 0 ? distributor() : last


The other way round would be OK, too: will
- RemoveGrain-1.0
- masktools-v2.0a35
- mvtools-v2.5.11.3
- VariableBlur040
- warpsharppackage_25_dll_20031103
somehow be available with AvxSynth? That would be great!

If that should be a dead end, has someone an idea which combination of ported filters (Built-in-Functions) would offer similar functionality?

Thanks for helping and regards.
Attached Files
File Type: zip lsf_seesaw_spresso.zip (5.7 KB, 24 views)

Last edited by e1897876; 26th July 2012 at 17:10.
e1897876 is offline   Reply With Quote
Old 2nd August 2012, 15:32   #134  |  Link
e1897876
Registered User
 
Join Date: Jul 2012
Posts: 3
Really guys, no ideas?
e1897876 is offline   Reply With Quote
Old 2nd August 2012, 15:54   #135  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 497
Quote:
Originally Posted by e1897876 View Post
The other way round would be OK, too: will
- RemoveGrain-1.0
- masktools-v2.0a35
- mvtools-v2.5.11.3
- VariableBlur040
- warpsharppackage_25_dll_20031103
somehow be available with AvxSynth? That would be great!
only exist port for Removegrain and masktools, but don't work

to load video use ffmpegsource instead ffdshow (only windows)

all "set" modes don't exist in avxsynth
sl1pkn07 is offline   Reply With Quote
Old 2nd August 2012, 19:30   #136  |  Link
e1897876
Registered User
 
Join Date: Jul 2012
Posts: 3
OK for now, thanks for those hints.
e1897876 is offline   Reply With Quote
Old 14th October 2012, 08:30   #137  |  Link
btb
Registered User
 
Join Date: Aug 2012
Posts: 1
AvxSynth working on OSX, for anyone interested

https://github.com/avxsynth/avxsynth/issues/83
btb is offline   Reply With Quote
Old 17th October 2012, 15:43   #138  |  Link
videophool
Registered User
 
Join Date: Nov 2008
Posts: 91
Quote:
Originally Posted by btb View Post
AvxSynth working on OSX, for anyone interested

https://github.com/avxsynth/avxsynth/issues/83
Excellent contribution. Thanks.
videophool is offline   Reply With Quote
Old 6th November 2012, 22:59   #139  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,754
Hmm, I'm currently doing some research on the innards of AvxSynth, specifically the Cache and InternalCache mechanisms. Is there any documentation anywhere about their internal use for the built in functions? Is the Cache used by default throughout the full filter chain, or is it a more pick and choose situation per filter?

For context, I'm going to start work on porting some of the built in functions to CUDA (specifically the ones with disabled MMX and SSE) for some academic research, and if I can modify the internal cache in such a way so that I can keep the frame data on the GPU as long as possible, the greatest performance gains will be achieved. Otherwise if we are sending the frames back and forth across the bus, we lose a lot of speed due to the extra transmission overhead.
Adub is offline   Reply With Quote
Old 7th November 2012, 02:09   #140  |  Link
mandarinka
Registered User
 
mandarinka's Avatar
 
Join Date: Jan 2007
Posts: 729
If you care about unix environments, Vapoursynth is probably much more viable project to contribute to: http://forum.doom9.org/showthread.php?t=165771
mandarinka 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 11:39.


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