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 26th October 2005, 19:12   #21  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
Version 0.9 beta has a reworked status bar. You can save your project output scripts without messing up the current project. The encoder application dialog box has been reworked to allow color-space testing before launching the encoder. Max number of unique encoder configurations increased from nine to 99. I have also enabled very basic avi viewing (note the retro file open dialog box with preview). See the change log at the top of this thread.

http://members.aol.com/avsfilmcutter

http://rapidshare.de/files/6795203/F...9beta.zip.html
Ebobtron is offline   Reply With Quote
Old 2nd November 2005, 21:08   #22  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
Hello all,

Version 0.0.1.0 beta is up and ready for download.

More work done to the encoder dialog box to fix and improve.

Added tab control to the script editor. When a project is open the user can switch between source and project scripts in the editor window by clicking on a tab. see the change log in this thread.


http://members.aol.com/avsfilmcutter
or
http://rapidshare.de/files/7103415/F...0beta.zip.html

Wish everyone has a happy and safe holiday season.
ebobtron
Ebobtron is offline   Reply With Quote
Old 2nd November 2005, 23:42   #23  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
Ebobtron,
May you consider to implement in AVS script editor:
1. select avisynth function from menu list:
2. select parameters for selected fuction from list

see here:

http://forum.doom9.org/showthread.ph...114#post729114
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 3rd November 2005, 08:34   #24  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
Hi Fizick,

You have given me an early Christmas present, thank you. I have always considered such a feature far too difficult to maintain.

I have been thinking about an implementation of the TransAll plugin for FilmCutter’s scene editor. If the plugin is in the directory, the feature is available.

This certainly changes my thinking.

There is one problem though; you people are about eleven years ahead of me. I could use a little help in catching up. I have no clue how to read data from the dll.

Can someone volunteer to catch me up?

Update:
As of 11/10/05 I know how to access avisynth.dll to obtain filter lists and the like.

Quote:
Originally Posted by Fizick
Ebobtron,
May you consider to implement in AVS script editor:
1. select avisynth function from menu list:
2. select parameters for selected fuction from list

see here:

http://forum.doom9.org/showthread.ph...114#post729114
Thanks again,
Ebobtron

Last edited by Ebobtron; 10th November 2005 at 16:58. Reason: Issue update
Ebobtron is offline   Reply With Quote
Old 6th November 2005, 22:10   #25  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
@Fizick

Your alt left and right keys jump (fps * 2).

FilmCutter's jump buttons jump by default 300 had planned to assign up-arrow jump reverse and down-arrow jump forward, what would you think alt up and down arrows should be. Should we think in minutes, 1 min and 10 mins respectfully?

Anyone have an idea of useful numbers.

Ebobtron
http://members.aol.com/avsfilmcutter
Ebobtron is offline   Reply With Quote
Old 7th November 2005, 18:47   #26  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
Please, try get some VirtualDubMod compatibility with this and other fuctions !
Thanks!
Fizick is offline   Reply With Quote
Old 7th November 2005, 18:52   #27  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
I repost some my (old ) suggestions here:
0.Fades and dissolves (cross-fades ?) will be very interesting!
1. Can we not close script windows when switch to preview ?(I like use VDMod F5 key for refresh frame preview after changing the script).
2. Full frame size option in editor for detailed preview. And may be option with small quarter-frame size with a few frames for fast but precise navigation - I often check if I exactly put trim to right place or i missed 1 or 2 frames.
I wrote this and understand now, that i want timeline option like Adome Premier or Ulead MediaStudio
3. Also I want scroll forward and backward by 50 frames with keyboard (ALT-arrow keys in VDMod).
Fizick is offline   Reply With Quote
Old 7th November 2005, 21:58   #28  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
HI,
Quote:
Originally Posted by Fizick
Please, try get some VirtualDubMod compatibility with this and other fuctions !
Thanks!
You make my life too easy VDMod 1.5.10.2 9 (build 2540) does nothing with the up/down arrows.
Thanks, I can do that.
Quote:
Originally Posted by Fizick
0.Fades and dissolves (cross-fades ?) will be very interesting!
I quote the following source. "A gradual fade from one shot to the next is known as a crossfade, mix or dissolve".
http://www.mediacollege.com/video/ed...crossfade.html
FilmCutter uses FadeIn, FadeOut, FadeIO and Dissolve to generate scripts. What do you think cross-fades are?

As you can see from an above post the alt up and down arrows will advance and reverse frames 2 seconds any framerate. It is coded in "ver 0.0.1.1".

As for the rest, coding an alpha of your item number 1. My thinking is the full size video window is best used with the script editor for filter tuning, or am I wrong. When I am done I will let you all take a peek.

Quote:
Originally Posted by Fizick
I wrote this and understand now, that i want timeline option like Adome Premier or Ulead MediaStudio
I am still laughing.

@Fizick
Concerning your post http://forum.doom9.org/showthread.ph...432#post732432 I have downloaded VDMod's source and sent PM to shOdan, from the source I can see that in practice env->GetVar() looks like....

avisynth.dll Class object = env->GetVar("$InternalFunctions$")
, I need to track down where the data goes.

As for my end of a filter pick list, it is not going to be very hard, I can see most of the code in my head. The params feature is a little tricky but very doable.

Alpha update:
Sorry, but the alpha I promised is a total bust, I just hated it. Looking at other programs for ideas is good and bad, I very much like VDMod's script editor with the F5 feature. Looking through my idealist, I have come up with the following.
  • Menu select script preview options
    • auto play
    • return to same frame
    • Dual video windows, left (source) and right (edited source), they will not play but will be frame locked together.
  • Preview window in dual mode will have editable frame number window (go to frame), three-display option buttons (dual, left only, right only) and slide bar, only nav feature disabled will be the play button.
  • Maybe an Alt+F5 toggle to invoke the dual window mode without using the menu to preselect it.
If that does not help with script development I am not sure what will, once implemented I may consider small script editor window.

Still need to add the undo functions to the editor menus, how many levels of undo do you like.

Later,
Ebobtron
http://members.aol.com/avsfilmcutter

Last edited by Ebobtron; 8th November 2005 at 16:02. Reason: alpha release update
Ebobtron is offline   Reply With Quote
Old 12th November 2005, 16:37   #29  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
Hi all,

I put an alpha up on the website which demos the filter picking popup idea from Fizick.

http://members.aol.com/avsfilmcutter/fcAlpha.zip

As FilmCutter creates itself it has a little chat with avisynth.dll and collects the keywords for the external plugins in the external plugins directory.

You may activate the popup window from the script editor menu (right click the editor window) or by the keyboard shift+tab.
When the window is up you may use arrows or mouse to navagate the list, double click or enter to select. Once up, it will stay till you use it though.

When you select the filter you want, it is inserted at the current caret position or it replaces any selected text.

The alpha is 0.0.1.1 a and as far as I know a direct sub for 1.0 b except for the feature described above.

Ebobtron
http://members.aol.com/avsfilmcutter

Nic,
Thank you for being a sounding board and for the good advice.
Ebobtron is offline   Reply With Quote
Old 13th November 2005, 01:34   #30  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
Ebobtron,
It works! Thanks. It is nice.
Small comment: I see two MVAnalyse, etc. It is becaurse of i have mvtools0953.dll and mvtools0991.dll in my plugin dir.
To use them prorerly, i must to use function name like mvtools0953_mvanalyse(param).
Forget about it now, but please recall it in some time in future (for stable version).
Right now i wate exited version with plugin parameters selection!
Probably we can select function name in script (not from your list!) by mouse or arrows, press F1 and get some form (table) to fill parameters.
But if fuction exist in scipt with parametes, we can select parameters values too, and fill the form.
But so you must parse this string. it is not easy task. some parameters are named, some are not.
So, probably more simple solution is popup window with all parametes list (with type) for current function, with possibility to press on it and put it to script line. (as you implement for functions names)
What anybody think about it?
Fizick is offline   Reply With Quote
Old 18th November 2005, 20:17   #31  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
Hello all,
If anyone would like to see the progress of FilmCutter's new feature or more importantly like to help. I have uploaded a new alpha at http://members.aol.com/avsfilmcutter/fcAlpha.zip.

With the current release of AviSynth only internals are working, but the good news is that Fizick found the bug. The info concerning the bug and the test build are here: http://forum.doom9.org/showthread.ph...974#post737974.

If you want to try the test build you’ll have to modify filmcutter.ini

Make this:
Code:
main window
1 156 86 752 526

write script
2  0

button 1
Look like this:
Code:
main window
1 156 86 752 526

write script
2  0

ForceEFP
1     change the one to a zero to go back to using the release build of avisynth.dll

button 1
Either way, to invoke the list press shift+tab, select a filter / function and press tab to open the function help dialog box.

The string from AviSynth.dll is shown on the bottom and the data should be parsed out into the boxes above (scroll is working).

The other change between the two alphas is I removed the alternate name filter for the list box (plugin_function name). Now every external plugin function is listed twice "Mpeg2Source and DgIndex_Mpeg2Source" are an example.

There is also a script menu function that will display the filters, internal and external and the parameter strings returned by AviSynth, runs very slow but that is not a bug, it is a very slow function.

If you see a string parsing problem please let me know.

There is a lot more to do, but the overall framework for the api, related to this feature, is about done.

One more thing, FilmCutter is set to limit these features to avisynth versions 2.55 and above. It is the oldest version I have to test with.

Thanks for looking,
EBobtron

Last edited by Ebobtron; 18th November 2005 at 20:53.
Ebobtron is offline   Reply With Quote
Old 18th November 2005, 20:49   #32  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
Link is wrong. probably this must work:
http://members.aol.com/avsfilmcutter/fcAlpha.zip
Fizick is offline   Reply With Quote
Old 21st November 2005, 19:07   #33  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
Hello all,

One more alpha before the big offical release.

http://members.aol.com/avsfilmcutter/fcAlpha.zip

Everything about this "filter/function lookup / help feature" mentioned in a pior post still aplies, except add the following info.

After you have opened the dialog box ( select filter/function in the list then press tab ) please note.
  • Use the tab button to move forword though the data windows, no shift+tab for reverse navigation yet. The tab button will advance the vertical scroll and jump to the top if you tab past the last data field.
  • Data windows are now appropriate for the data type.
  • Only data presets are TRUE and FALSE loaded in the bool list boxes.
  • There are no defaults, the data windows start out NULL.
  • For the moment you can not load a scripted function into the dialog box.
  • You can preview the output string before you insert it into the script.
  • Clicking Insert closes the window and inserts the entire string into your script whereever your caret was or inplace of any text you may have selected pior to calling the list and dialog box.
Lots of work still to do, but I thought some might like a look see.

Ebobtron
And of course FilmCutters website and webguides are located here: http://members.aol.com/avsfilmcutter

Last edited by Ebobtron; 21st November 2005 at 19:16.
Ebobtron is offline   Reply With Quote
Old 21st November 2005, 22:59   #34  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
Thank for your works.
I will try it.
By the way, I replaced test build avisynth.dll by version with number 2.5.7 . Link above.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 22nd November 2005, 07:25   #35  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
Hi,

Went to test with avisynth.dll ver 2.57 ala Fizick and caught a buffer use error in FilmCutter, that caused instant program termination.

I have corrected the error and updated the Alpha on the website.
http://members.aol.com/avsfilmcutter/fcAlpha.zip
The error only affected the alphas, when used with versions of avisynth pior to 2.57 with ForceEFP set to 0.

@ Fizick,

Thanks for the new Avisynth build. I was able to test FilmCutter's version trapping and I guess I can remove the ForceEFP functions from the released beta. User's who follow this thread will have the new build away, if they want.

Thank you for your work.

Ebobtron

Last edited by Ebobtron; 22nd November 2005 at 07:45.
Ebobtron is offline   Reply With Quote
Old 30th November 2005, 08:59   #36  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
Hi,

Well I did it again, released a little too early, look for 1.2b next week.

Did you know that “Audiodub(clip=v, clip=a)” does not work fortunately d2v = “” works, I didn’t even give it a thought. Someone please slap me.

The only thing that will not be obvious is the right click on the data windows in the filter parameter dialog-box. The right click should get you a file name dialog box that will insert the file name into the little window.

Went back a little and downloaded all versions of AviSynth 2.5 and tested each with FilmCutter the results follow.
  • 2.50 no filter name export.
  • 2.51 no filter name export.
  • 2.52 external filter function names attempting param read throws exception or at least it does not crash.
  • 2.53 external filter function names attempting param read crashes.
  • 2.54 external filter function names attempting param read crashes.
  • 2.55 internal and plug-in function name lookup working can read internal function parameters attempting to read plug-in function params causes instant and fatal error. Alternate names for externals added in 2.55.
  • 2.56 same as 2.55.
  • 2.57 all working in Fizick's build.
FilmCutter will provide the proper amount of support depending on the version of AviSynth your using, preventing the crashing. Probably a waste of time, but I did find some bugs in my version trapping.

I wish I could say the filter picker and param dialog is 100% stable but I can not say that, testing continues of course.

http://members.aol.com/avsfilmcutter
or
http://rapidshare.de/files/8361518/F...1beta.zip.html

I am now going to go sulk for a while, get some sleep and try again tomorrow.

Last edited by Ebobtron; 30th November 2005 at 09:01. Reason: content
Ebobtron is offline   Reply With Quote
Old 1st December 2005, 22:16   #37  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
Will try on weekend.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 5th December 2005, 20:22   #38  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
Hello all,
That old last but not least stuff gets old so.......

@Doom9
Thank you for this place where I play and learn.
@all
Thanks you for making this forum such a great place to play and learn.
@Nic
Thanks for your time, when you have none.
@Fizick
Thanks for the great ideas and then coming though with a fix so I can pursue them.

As promised 0.0.1.2 b.
http://members.aol.com/avsfilmcutter
or
http://rapidshare.de/files/8673247/F...2beta.zip.html

FilmCutter is not crash free yet but the filter / function popup list and parameter dialog should not be so deadly.

I kind of think it is a pain to type a little then mouse a little or try to do both. I have tried to setup FilmCutter so you can keep you hands on the keyboard if you like. Therefore I have made some changes to the filter / function popup list and dialog they include.
  • Changed “shift+tab” to “ctrl+tab” to display the filter / function list. Seems more comfortable to me.
  • Once the list is up keep typing, note the far right column of the status bar will display “Filter search = M“ if you type a ‘M’, the list highlight will move to the first ‘M’. don’t worry about case just keep typing, as you get close the filter / function you want will show. Lots faster than arrowing down though the list. Backspace works if you type the wrong character, and alt_names work as well. If the highlight lands on your filter press enter or tab for the dialog box.
  • Once your in the dialog box pressing “Ctrl+Shift+O” will open a file dialog box for filename selection that will insert into the data cell that your in. Tab navigation still works. Press enter and your done.
You should be able to write the following script without touching the mouse, I can.
Code:
vid = MPEG2Source(d2v="E:\your.d2v", iPP=TRUE)
aud = WAVSource("E:\your.wav")
AudioDub(vid, aud)
Normalize()
There are three recently discovered issues with FilmCutter.
  1. FilmCutter’s video viewer / player does not work well with audio only scripts, not that there is anything wrong with that Mr. Gates. It is just that I have not properly trapped the exceptions, my bad.
  2. Along the same lines the script output property routines assume there will always be a video stream, again my bad.
  3. If you have selected a display aspect ratio of 16:9 the player will refuse to play with some window sizes. Slightly moving the window edge solves the problem. I have not seen the problem when using 4:3 but do not know why.
The audio only issues will be addressed by next version.

Going to come at FilmCutter as a user for the remaining days of 2005 and hopefully come back with a much improved program in 2006.

I wish all a happy and safe holiday.
Keep the cards and letters coming.

Ebobtron
Ebobtron is offline   Reply With Quote
Old 6th December 2005, 19:13   #39  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
Ebobtron,
Many thanks for your works.
At last i try it.
But i will report bug report and suggestions. Did you really ask it

1. severe bug: I can not use two or more trims - some "unexpected characters" apeears instead of "+" at end of script:
t01 + t02
Please, anybody confirm it. (may be it is for Russian codepage only ?)
2. small bug: If I use loadplugin("filter.dll") instead of loadplugin("c:\plugindir\filter.dll"), script failed. You must use default dir, where script.avs is placed, but not filmcutter itself.
3.semi-bug: Where are windows controls ? Why i may not move filmcutter window ?
4. Avisynth function selection in Script window is nice. But how i can exit it without selection (cancel selection)?
4.1 IMHO, use it as simple name and parameters reminder window will be quite fine.
It may be not obligatory to select from list and put to script something. It may be done by hand too.
5. View select switching is a little complex. Why not place it directly on list (without tree)? Faster switching.
6. Preview window is very fast! It is very good (unlike AVSEDIT). 4:3 and 16:9 aspect is good idea. But it is missed the MAIN feature: direct AS IS output without any resising, (scale 1:1), pixel by pixel, precise view. And it must be default option! Probably, window resizing by mouse is bad idea (IMHO). It is very hard return to 1:1 scale later.
7.1 IMHO, preview window must start with stopped (paused) frame (not playing).
7.2. It will be very good, if after switching and editing in script window, the Preview was returned to not to start frame, but to same last frame. Filmcutter must remember this position. It is very useful virtualdubMod F5 feature (and to tune avisynth script parameters (like filter strength).
7.3. IMHO, previe window must not be closed after switching to script window, for easy contral above filtering changes.
8. I still want 2 frame window (aka timeline) in Video editor view. So we can see exact trim position (see both frame before trim and frame after trim).

Best regards!
I like to see othe opinions too. By the way , thanks for source code of your program.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 6th December 2005, 20:09   #40  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
In addition I see interesting info about VirtualDub and reopen badly edited scripts
http://forums.virtualdub.org/index.p...&f=15&t=11178&
[phaeron wrote:] "The Reopen (F2) option deliberately opens a new version of the script without releasing the old version first. This ensures that if an error occurs on the reopen that VirtualDub still has the old script to fall back to. If the reopen fails, the new script is dropped; otherwise, the old script is dropped and replaced with the new one. This means that avisynth.dll will not unload when a reload occurs, since it always has at least one object outstanding."
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick 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:08.


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