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 Usage

Reply
 
Thread Tools Display Modes
Old 18th November 2009, 13:15   #1  |  Link
teejee2008
FFCoder author
 
Join Date: Dec 2007
Location: India
Posts: 174
Avisynth Studio v1.2 Beta (OpenSource Avisynth NLE)

Latest version: 1.2 Beta (02-12-2009)

This is a video editor based on Avisynth. It requires .NET 2.0 or higher to run and has been tested on 32-bit Vista only.

Download Avisynth Studio v1.2 Beta (5 MB)

Download Source Code (900 KB)

SourceForge.net Project Page

If this program makes your life any easier, please consider donating $2 for its development. You don't need a PayPal account to donate. You can use a credit card or e-check through PayPal without having to open a PayPal account. If you are a computer professional earning money from the use of this software, then it would be nice if you could donate more.



Screenshot


Last edited by teejee2008; 1st February 2010 at 08:18.
teejee2008 is offline   Reply With Quote
Old 18th November 2009, 14:00   #2  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,835
Quote:
AviSynth was not detected on your computer!
This application will now exit.
Aww (running 2.5 on Windows XP 64-bit, so avisynth.dll is in C:\Windows\SYSWOW64)

After some false starts in the past I am very interested in seeing this!

David
wonkey_monkey is online now   Reply With Quote
Old 18th November 2009, 14:58   #3  |  Link
ivar
Registered User
 
Join Date: Apr 2009
Location: Norway
Posts: 30
Allright! I`ve been missing something like this also, especially one that takes a wide range of input formats. Will it be kind of like windows movie maker? (just better of course)
ivar is offline   Reply With Quote
Old 18th November 2009, 15:07   #4  |  Link
teejee2008
FFCoder author
 
Join Date: Dec 2007
Location: India
Posts: 174
@davidhorman

I removed the check for avisynth. Download this file:

v1.0.1 Beta

Can you check if the following registry key exists on your computer?

HKEY_LOCAL_MACHINE\SOFTWARE\AviSynth

This key is supposed to exist if Avisynth is installed correctly.
teejee2008 is offline   Reply With Quote
Old 18th November 2009, 15:10   #5  |  Link
teejee2008
FFCoder author
 
Join Date: Dec 2007
Location: India
Posts: 174
@ivar

I'm taking some ideas from windows movie maker but it won't be exactly the same
So far it can do only basic editing like cut/copy/paste etc. I have not added any filters till now.
teejee2008 is offline   Reply With Quote
Old 18th November 2009, 16:14   #6  |  Link
osgZach
Registered User
 
Join Date: Feb 2009
Location: USA
Posts: 676
This looks like something to follow. Not sure if I have much use for it right now but I will keep following development.

Any plans for GPU acceleration / filters ?
osgZach is offline   Reply With Quote
Old 18th November 2009, 16:39   #7  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,835
Quote:
Originally Posted by teejee2008 View Post
@davidhorman

I removed the check for avisynth. Download this file:

v1.0.1 Beta
Now I get a bunch of unhandled exceptions (whether I have the 32-bit or 64-bit version of mediainfo.dll):

Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.BadImageFormatException:  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
   at AvisynthStudio.frmMain.MouseMove_UpdateStatusBar()
   at AvisynthStudio.frmMain.frmMain_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3603 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
AvisynthStudio
    Assembly Version: 1.0.1.0
    Win32 Version: 1.0.1.0
    CodeBase: file:///C:/Documents%20and%20Settings/Administrator/Desktop/AviSynth%20Studio/AvisynthStudio.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Quote:
Can you check if the following registry key exists on your computer?

HKEY_LOCAL_MACHINE\SOFTWARE\AviSynth

This key is supposed to exist if Avisynth is installed correctly.
It's not there, but there is:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\AviSynth

David
wonkey_monkey is online now   Reply With Quote
Old 18th November 2009, 17:11   #8  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,228
What exactly are your plans for this? How far are you willing to take it, feature-wise?

I'm getting an error too. v1.0.1 beta with 64bit mediainfo.dll Running on windows 7 64bit.

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.DirectX.AudioVideoPlayback, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.


Also, I find it ironic that in a video editor based on avisynth, it can't import avs scripts

Last edited by Zarxrax; 18th November 2009 at 17:26.
Zarxrax is offline   Reply With Quote
Old 18th November 2009, 18:29   #9  |  Link
2Bdecided
Registered User
 
Join Date: Dec 2002
Location: UK
Posts: 1,673
Quote:
Originally Posted by teejee2008 View Post
Can you check if the following registry key exists on your computer?

HKEY_LOCAL_MACHINE\SOFTWARE\AviSynth

This key is supposed to exist if Avisynth is installed correctly.
I have that, under WinXP SP3, and I get "Microsoft .NET Framework - Unhandled exception... Could not load fileor assembly 'Microsoft.DirextX.AudioVideoPlayback'" etc etc

with a very similar (same?) list of exceptions to those seen by davidhorman

Cheers,
David.
2Bdecided is offline   Reply With Quote
Old 18th November 2009, 18:51   #10  |  Link
honai
Guest
 
Posts: n/a
@teejee2008

Looks very promising, thanks!

Have you taken a look at AvsP? Might be worthwile to contact the author (qwerpoi) and see if you can combine some of your work.
  Reply With Quote
Old 18th November 2009, 19:01   #11  |  Link
Gargalash
Registered User
 
Join Date: Nov 2008
Posts: 67
Very interesting!
May I suggest the option to apply a external set of filters from an .avs file to the video? This way people will easily load and use their favorite tools and it will probably be a simpler way to add complex filters.

Good luck with your project.
Gargalash is offline   Reply With Quote
Old 18th November 2009, 23:50   #12  |  Link
MadRat
Registered User
 
MadRat's Avatar
 
Join Date: Jan 2008
Posts: 110
I've been wondering when someone would make an editor like this.
MadRat is offline   Reply With Quote
Old 19th November 2009, 16:16   #13  |  Link
teejee2008
FFCoder author
 
Join Date: Dec 2007
Location: India
Posts: 174
Quote:
Originally Posted by davidhorman View Post
It's not there, but there is:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\AviSynth
That looks like the correct key.
There should be two values under that key:

(Default) = "Path to avisynth's install folder"
plugindir2_5 = "Path to plugins folder"

Can you please confirm this?

Quote:
Originally Posted by davidhorman View Post
Now I get a bunch of unhandled exceptions (whether I have the 32-bit or 64-bit version of mediainfo.dll):
This program has not been tested on 64-bit windows. I have no idea why those exception are being thrown. I don't have a copy of 64-bit windows now. I'll test it later.
teejee2008 is offline   Reply With Quote
Old 19th November 2009, 16:29   #14  |  Link
teejee2008
FFCoder author
 
Join Date: Dec 2007
Location: India
Posts: 174
All those people who are getting 'Microsoft.DirectX.AudioVideoPlayback.dll' not found error, please install download the dlls from the internet and put them in the application folder. You will need two DLLs:

Microsoft.DirectX.AudioVideoPlayback.dll
Microsoft.DirectX.dll

The second one should be there on your system already.
The reason I didn't include it with the download is because I thought these files are available on every windows PC. I think these files are part of the DirectX 9c Update but i'm not sure. Download it off the internet or install the latest DirectX 9c update
teejee2008 is offline   Reply With Quote
Old 19th November 2009, 16:32   #15  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,835
Quote:
Can you please confirm this?
I can, those paths are present and correct. If I can be of any other help in testing x64, let me know - though from the sound of it, my problem (beyond the now-disabled AviSynth detection) is the same as 2Bdecided's on 32-bit.

David
wonkey_monkey is online now   Reply With Quote
Old 19th November 2009, 16:35   #16  |  Link
teejee2008
FFCoder author
 
Join Date: Dec 2007
Location: India
Posts: 174
Quote:
Originally Posted by Zarxrax View Post
What exactly are your plans for this? How far are you willing to take it, feature-wise?
As far as I can. I have never made an application like this before so I can't make any promises. I'm adding audio/video filters now. After that i'll decide what to do next.

Quote:
Originally Posted by Zarxrax View Post
Also, I find it ironic that in a video editor based on avisynth, it can't import avs scripts
Parsing an avisynth script and loading it is an insanely difficult task. So i'm using an XML based project file for saving and loading settings.
teejee2008 is offline   Reply With Quote
Old 19th November 2009, 16:38   #17  |  Link
teejee2008
FFCoder author
 
Join Date: Dec 2007
Location: India
Posts: 174
@davidhorman

Microsoft.DirextX.AudioVideoPlayback.dll can be downloaded from the internet.
I have a copy of XP. I'll install it tomorrow and see if I can find the problem.
teejee2008 is offline   Reply With Quote
Old 19th November 2009, 17:19   #18  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,835
Quote:
Microsoft.DirectX.AudioVideoPlayback.dll
Microsoft.DirectX.dll
I have both in C:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0 - should they be somewhere else?

Edit: sorry, your post may not apply to me, I'm having different errors.

David

Last edited by wonkey_monkey; 19th November 2009 at 17:24.
wonkey_monkey is online now   Reply With Quote
Old 19th November 2009, 18:51   #19  |  Link
tin3tin
Registered User
 
tin3tin's Avatar
 
Join Date: Mar 2005
Posts: 366
Wow - you're doing what so many people have talked about for years...

v1.0.1 Beta works runs fine here on Vista(Used run as Admin...)

Now, how can we help?

There are Tango icons for NLEs here.

Some bugs:
- I'm getting an error thanks to sample_type=32bit, which should be sample_type="32bit" in the blankclip function when importing other than mpg(avi, flv). I'm using Avisynth 2.60 beta.

- If I split a clip into two clips: A and B and change the order to B and A the B part will come out black and silent.

On features:
Locking/unlocking video and audio is a must IMHO.

Import of avisynth scripts.
Quote:
Parsing an avisynth script and loading it is an insanely difficult task.
You know about the 'Import' function right? If you add try/catch around the Import function you can get the error message and other info on the file. Then save the info to disk by using Writefile and let your player run the script so a txt file is produced. You can then let you app read from this text file, if the script has errors/has video/has audio etc.

To make sure that variables in the imported scripts will not interfere with each other you should use the import("avisynth_script.avs") from within a function.

When you got that part down. You could add AvsP as an external tool to allow users to open the scripts up in and edith them and when they colse AvsP(after saving the script under tha same name - just recheck the script for errors.
__________________
DVD slideshow GUI(Freeware).

Last edited by tin3tin; 19th November 2009 at 21:54.
tin3tin is offline   Reply With Quote
Old 20th November 2009, 04:39   #20  |  Link
teejee2008
FFCoder author
 
Join Date: Dec 2007
Location: India
Posts: 174
Quote:
Originally Posted by teejee2008 View Post
Quote:
Originally Posted by Zarxrax View Post
Also, I find it ironic that in a video editor based on avisynth, it can't import avs scripts
Parsing an avisynth script and loading it is an insanely difficult task. So i'm using an XML based project file for saving and loading settings.
I totally misunderstood what Zarxrax was trying to say. I thought he was talking about building a project from a avisynth script.

Importing an avisynth file as a source media can be done. I'm aware of the Import function. The problem is that I'm using MediaInfo for analyzing imported files. MediaInfo can't read info from AVS files. I will have to use ffmpeg or mplayer which will add another 5 to 10 MB to the download package. I'll do it later.

Quote:
Originally Posted by tin3tin View Post
Now, how can we help?
All the video filters displayed in the GUI will be loaded using definitions from an XML file. I'll need help defining all the video filters. There are more than 100. I'll add a simple editor for editing the definitions.

Quote:
Originally Posted by tin3tin View Post
There are Tango icons for NLEs here.
Those icons are very good. Thanks for the link

Quote:
Originally Posted by tin3tin View Post
Some bugs:
- I'm getting an error thanks to sample_type=32bit, which should be sample_type="32bit" in the blankclip function when importing other than mpg(avi, flv). I'm using Avisynth 2.60 beta.

- If I split a clip into two clips: A and B and change the order to B and A the B part will come out black and silent.
I'll fix it

Quote:
Originally Posted by tin3tin View Post
On features:
Locking/unlocking video and audio is a must IMHO.
you can position the audio and video clips by dragging them along the timeline so that their start position are aligned together. You don't need to worry about the audio and video going out-of-sync. Locking the audio and video clips together so that they can be moved as a single unit will require some work. I'll do it later. its not a priority right now.

Quote:
Originally Posted by tin3tin View Post
When you got that part down. You could add AvsP as an external tool to allow users to open the scripts up in and edith them and when they colse AvsP(after saving the script under tha same name - just recheck the script for errors.
I'll add it.

Last edited by teejee2008; 20th November 2009 at 05:39.
teejee2008 is offline   Reply With Quote
Reply

Tags
avisynth, nle

Thread Tools
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 17:26.


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