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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th January 2020, 21:53   #1341  |  Link
maks-lee
Registered User
 
Join Date: Jul 2014
Posts: 5
Hello!

I have a modified 8mm projector, which captures one frame at a time. As i think, after capture i will need to create an avi file to feed to Fred's script first.
Is it possible to modify script somehow to import sequence right away after capture ?
I have tried ImageSource with no luck.
maks-lee is offline   Reply With Quote
Old 26th January 2020, 22:08   #1342  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
"With no luck?"

You'll have to be more specific than that. Please post your script (just the ImageSource line is enough), how the pictures are numbered, and the error message VirtualDub gives you when trying to open that script.
manono is offline   Reply With Quote
Old 26th January 2020, 23:29   #1343  |  Link
johnmeyer
Registered User
 
Join Date: Feb 2002
Location: California
Posts: 2,695
Quote:
Originally Posted by maks-lee View Post
I have a modified 8mm projector, which captures one frame at a time. As i think, after capture i will need to create an avi file to feed to Fred's script first.
Is it possible to modify script somehow to import sequence right away after capture ?
I have tried ImageSource with no luck.
I have not used ImageSource

ImageSource Wiki

but I have used similar features in VirtualDub and also my NLE, Sony Vegas Pro. The only issues I have had with either of those is that
  • You have to have a numbering sequence that conforms to what the image import function expects;
  • You have to use an image type that the function can read (i.e., JPG, TIFF, PNG). Some only read a few types
  • And, with some, you cannot have any gaps in the numbering sequence.

To avoid gaps, you can re-number the sequence prior to import.
johnmeyer is offline   Reply With Quote
Old 29th January 2020, 11:27   #1344  |  Link
bassquake
Registered User
 
Join Date: Jan 2007
Posts: 45
Quote:
Originally Posted by maks-lee View Post
Hello!

I have a modified 8mm projector, which captures one frame at a time. As i think, after capture i will need to create an avi file to feed to Fred's script first.
Is it possible to modify script somehow to import sequence right away after capture ?
I have tried ImageSource with no luck.
Hi maks-lee. I posted my script earlier in this forum which shows ImageSource in use. See: https://forum.doom9.org/showthread.p...04#post1877304

The important lines are:

Quote:
film="E:\Videos\imgseq\SAM_%05d.jpg"
Set the name and number to match how many digits your images use.

Quote:
trim_begin=1 trim_end= 28160
play_speed=18
Set how many frames used.

Quote:
source1= ImageSource(file=film, start=trim_begin, end=trim_end, fps=play_speed).FlipVertical().converttoYV12()
This is the ImageSource line which calls the previous variables. FlipVertical flips the image as theyre upside down when captured and then converted to YV12 so the plugins like AutoLevels can be used.

Hope that helps.
bassquake is offline   Reply With Quote
Old 29th January 2020, 22:44   #1345  |  Link
maks-lee
Registered User
 
Join Date: Jul 2014
Posts: 5
@manono, @johnmeyer, thanks!
Quote:
Originally Posted by bassquake View Post
Hi maks-lee. I posted my script earlier in this forum which shows ImageSource in use. See: https://forum.doom9.org/showthread.p...04#post1877304

The important lines are:


Set the name and number to match how many digits your images use.


Set how many frames used.


This is the ImageSource line which calls the previous variables. FlipVertical flips the image as theyre upside down when captured and then converted to YV12 so the plugins like AutoLevels can be used.

Hope that helps.
Thanks! It seems, that now i can feed sequence to VD after capture, many thanks! I will continue to read forum (still so much interesting)
maks-lee is offline   Reply With Quote
Old 27th March 2020, 12:35   #1346  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Quote:
Originally Posted by StvG View Post
Here if someone wants it.
The link for AVSRecursion x64 is down, could someone please re-upload the file?
__________________
By law and justice!

GMJCZP's Arsenal
GMJCZP is offline   Reply With Quote
Old 27th March 2020, 13:32   #1347  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
-deleted-
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 27th March 2020 at 15:19.
Groucho2004 is offline   Reply With Quote
Old 27th March 2020, 14:53   #1348  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Thanks G2K4.
I note that x86 version is 5KB, x64 38KB, checked and x64 is static linked (no runtimes required).
I also note that old x86 version (that I have) requires runtimes MSVCR71.dll which is I think from VS 2003 (maybe also VS Toolkit 2003).
Just observations.

Dont know what x64 plugs might require AvsRecursion x64, but I've added to my x64 system32 dll storage folder, and also system32.
I'll shout if something goes BANG !
__________________
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 27th March 2020, 15:18   #1349  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by StainlessS View Post
Thanks G2K4.
I note that x86 version is 5KB, x64 38KB, checked and x64 is static linked (no runtimes required).
I also note that old x86 version (that I have) requires runtimes MSVCR71.dll which is I think from VS 2003 (maybe also VS Toolkit 2003).
Just observations.

Dont know what x64 plugs might require AvsRecursion x64, but I've added to my x64 system32 dll storage folder, and also system32.
I'll shout if something goes BANG !
I made a new VC10 build with 32 and 64 bit binaries. These require VS2010 runtimes as it should be. I have added it to my Avisynth Stuff.

Please discard the build I posted before.
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 27th March 2020 at 15:24.
Groucho2004 is offline   Reply With Quote
Old 27th March 2020, 15:26   #1350  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Roger Wilco, over and out.

EDIT: AvsRecursion by Rainer Wittmann (think that might be Kassandro)
For:- AvsTimer, RemoveGrain, ReduceFlicker, RemoveDirt.
__________________
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; 27th March 2020 at 15:59.
StainlessS is offline   Reply With Quote
Old 27th March 2020, 20:41   #1351  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
IIRC, AvsRecursion is not needed in RgTools
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 27th March 2020, 21:32   #1352  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Quote:
Originally Posted by Groucho2004 View Post
I made a new VC10 build with 32 and 64 bit binaries. These require VS2010 runtimes as it should be. I have added it to my Avisynth Stuff.

Please discard the build I posted before.
Thanks Groucho 2004!
__________________
By law and justice!

GMJCZP's Arsenal
GMJCZP is offline   Reply With Quote
Old 27th March 2020, 21:34   #1353  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Quote:
Originally Posted by real.finder View Post
IIRC, AvsRecursion is not needed in RgTools
The filters with T letter are not included in rgtools.
__________________
By law and justice!

GMJCZP's Arsenal
GMJCZP is offline   Reply With Quote
Old 27th March 2020, 22:35   #1354  |  Link
frubsen
Registered User
 
Join Date: Jul 2004
Posts: 98
Hi all, I recently purchased a moviestuff Retro-8 Pro scanner and have been transferring films and would like to try out fred's script. I have a pretty good knowledge of avisynth, but am just looking for a little direction on what is the best route to take.
I have been exporting 1080p PNG image sequences of the captured film from the moviestuff software. Would it be wise to clean up the edit in Premiere and then re-export a PNG image sequence which I would then process with Fred's script?

Any advice on where to start with a script? I know there is Fred's original script, and then John has posted some modifications as well as some others.... I've been reading through a lot of this thread but it's pretty overwhelming.

Thanks
frubsen is offline   Reply With Quote
Old 27th March 2020, 22:46   #1355  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by frubsen View Post
Would it be wise to clean up the edit in Premiere and then re-export a PNG image sequence which I would then process with Fred's script?

It depends on the footage specifics and what you mean by "clean up the edit in Premiere"

What were you planning to do in PP exactly ? What are you doing in PP that cannot be done in the avs script? or what are you doing in PP that would benefit the results of the script processing ?
poisondeathray is offline   Reply With Quote
Old 27th March 2020, 22:48   #1356  |  Link
frubsen
Registered User
 
Join Date: Jul 2004
Posts: 98
Quote:
Originally Posted by poisondeathray View Post
It depends on the footage specifics and what you mean by "clean up the edit in Premiere"

What were you planning to do in PP exactly ? What are you doing in PP that cannot be done in the avs script? or what are you doing in PP that would benefit the results of the script processing ?
I guess removing junk(leader, etc) off the start and end, cleaning up any blank spots in the middle...although I guess technically that could be done in avisynth too.
frubsen is offline   Reply With Quote
Old 27th March 2020, 22:53   #1357  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by frubsen View Post
I guess removing junk(leader, etc) off the start and end, cleaning up any blank spots in the middle...although I guess technically that could be done in avisynth too.
Yes, that's a good idea
poisondeathray is offline   Reply With Quote
Old 28th March 2020, 01:59   #1358  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by real.finder View Post
IIRC, AvsRecursion is not needed in RgTools
Correct.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 17th May 2020, 04:18   #1359  |  Link
DiablosDemon
Registered User
 
Join Date: Apr 2020
Posts: 11
don't know what super means

I'm trying Minusthebear script on page 64. When I try to run it I get this

AVSMeter 2.9.9.2 (x64), 2012-2020, (c) Groucho2004
AviSynth+ 0.1 (r2772, MT, x86_64) (0.1.0.0)

I don't know what 'super' means.
(C:\Users\ME\Desktop\Seemtobe working\newtest.avs, line 205)
PS C:\Users\ME\Desktop\Seemtobe working>

Referencing this part of the script.

#DEGRAINING/SHARPENING
#...................................................................................................................................................................


super_mv = MSuper(cleaned, pel=2, sharp=1)
backward_vec2 = MAnalyse(super, isb = true, delta = 2, overlap=4)
backward_vec1 = MAnalyse(super, isb = true, delta = 1, overlap=4)
forward_vec1 = MAnalyse(super, isb = false, delta = 1, overlap=4)
forward_vec2 = MAnalyse(super, isb = false, delta = 2, overlap=4)

Any Ideas why?

If I comment out those lines it runs. But it's running at 30FPS when I set it to 16 and I only have trim set to 300 but it says 1315 (this changes with different frame input but I can't see a pattern). Where is it getting 30FPS why 1315 frames? I am inputting PNG image files. Thanks for any help on this.

AVSMeter 2.9.9.2 (x64), 2012-2020, (c) Groucho2004
AviSynth+ 0.1 (r2772, MT, x86_64) (0.1.0.0)

Number of frames: 1315
Length (hh:mm:ss.ms): 00:00:43.833
Frame width: 2048
Frame height: 1600
Framerate: 30.000 (30/1)
Colorspace: YV12

Frame (current | last): 461 | 1314
FPS (cur | min | max | avg): 1.729 | 0.099 | 564.0 | 2.991
Process memory usage: 1872 MiB
Thread count: 39
CPU usage (current | average): 24.7% | 23.8%

Time (elapsed | estimated): 00:02:34.127 | 00:07:19.646
DiablosDemon is offline   Reply With Quote
Old 17th May 2020, 05:02   #1360  |  Link
DiablosDemon
Registered User
 
Join Date: Apr 2020
Posts: 11
Fps

Do I even need FPS in the script if I'm just using image files? Seems I just need one in and one out as I'm not making a video yet. Inputting 2048X1600 PNG files from a 8mm film converted from DPX files.
DiablosDemon is offline   Reply With Quote
Reply


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 02:11.


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