IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
new input plugin - foo_input_avs (beta!), can play audio from AviSynth scripts
dimzon
post Mar 21 2006, 13:14
Post #1





Group: Banned
Posts: 149
Joined: 1-September 05
Member No.: 24248





get it here

Warning! It's beta!

Licence problem discussed and solved here
Go to the top of the page
 
+Quote Post
kode54
post Jul 30 2009, 06:44
Post #2





Group: Admin
Posts: 2560
Joined: 15-December 02
Member No.: 4082



I've recompiled this component with a more recent SDK, plus some minor changes such as allocation guarding and variable sizes. Please test.

The component is available here.
Go to the top of the page
 
+Quote Post
2E7AH
post Jul 30 2009, 07:06
Post #3





Group: Members
Posts: 1811
Joined: 21-May 08
Member No.: 53675



Thanks, you are hero! rolleyes.gif

Works as expected. New playground
Go to the top of the page
 
+Quote Post
kode54
post Jul 30 2009, 07:24
Post #4





Group: Admin
Posts: 2560
Joined: 15-December 02
Member No.: 4082



I noticed there's a hitch with relative paths in the scripts, which seem to depend on the current working directory of the process. I'm not sure there's any way I can tell AviSynth how to correctly resolve relative paths.

The reason for this problem is that it uses the Eval function on the loaded script, rather than passing the path to the Import function, which would not support Unicode paths, but would tell AviSynth how to resolve relative paths.

I suppose I can limit it to supporting only ANSI paths, since the script functions that accept paths already have the same limitation. I'll post about it if I decide to make this change.
Go to the top of the page
 
+Quote Post
2E7AH
post Jul 30 2009, 11:56
Post #5





Group: Members
Posts: 1811
Joined: 21-May 08
Member No.: 53675



To translate that: even if avs script file is in folder as the source it refers, you must use absolute path for source i.e. DirectShowSource("D:\VIDEO_TS\VTS_01_1.VOB") - full path

I've tested it with every possible avisynth plugin that I have, and it's just great smile.gif
Some random freezing like the one with reletive paths, but then on portable install everything is OK

I can only suggest that in properties dialog (AVISYNTH SCRIPT tag) we could access the script (change/save)

And, I can only encourage you about paths, because all players with avisynth support don't have this problem
Go to the top of the page
 
+Quote Post
servimo
post Jul 30 2009, 19:48
Post #6





Group: Members
Posts: 96
Joined: 8-April 07
Member No.: 42330



Could we have a pack with the audio plugins for avisynth?
Go to the top of the page
 
+Quote Post
kode54
post Jul 31 2009, 00:50
Post #7





Group: Admin
Posts: 2560
Joined: 15-December 02
Member No.: 4082



I've updated to 0.2, downloadable here.

Now relative paths work properly, although it will only accept local unpacked files with valid ANSI paths.
It also supports script editing through the normal file properties dialog. You'll probably want to configure "AviSynth script" as a multi-line tag in the Advanced Preferences dialog.
Go to the top of the page
 
+Quote Post
2E7AH
post Jul 31 2009, 11:13
Post #8





Group: Members
Posts: 1811
Joined: 21-May 08
Member No.: 53675



Thanks for improvements, but I probably did poorly testing yesterday:

foobar (portable - no other components) crashes too ofter and continuously at least here:

DirectShowSource with AC3Filter (I use it as DS filter, don't know if it's related to it)
ffmpegSource
QTInput

Other players don't have problems, i.e. VirtualDub, MPC...

I'll test more with other plugins later
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 9th February 2010 - 17:06