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 22nd August 2012, 18:43   #21  |  Link
NoX1911
Registered User
 
NoX1911's Avatar
 
Join Date: Aug 2003
Location: Germany
Posts: 186
Quote:
Originally Posted by pbristow View Post
Making Avisyth scripts usable via drag-and-drop can't be done by making changes to Avisynth
Just look at zip/rar/7z extension capabilities. It just needs a wrapper or something to send the data to. They probably just don't want it in the avs core....

I will take a look at avsp or avspmod.

Last edited by NoX1911; 22nd August 2012 at 18:52.
NoX1911 is offline   Reply With Quote
Old 23rd August 2012, 22:46   #22  |  Link
pbristow
Registered User
 
pbristow's Avatar
 
Join Date: Jun 2009
Location: UK
Posts: 269
Quote:
Originally Posted by NoX1911 View Post
Just look at zip/rar/7z extension capabilities.
I don't see the relevance. Zips and rars and other compressed archives are opened either by *applications*, or by code added to the *operating system*. Some of those application use common libraries to handle the actual business of decompressing the data: Those *libraries* are the equivalent of AviSynth, and the .zip file is the equivalent of an avisynth script. But just like AviSynth, the libraries *have* to be invoked by something else: It's that something else - an application such as Winzip, or a virus-scanner, or whatever - that you drag and drop the .zip file onto, and which then pulls the file through the decoder library to get at the decoded data.

Now, I can drag-and drop an avisynth script on MPlayer, and that opens the output stream just fine. *That's* the equivalent to what happens when I drop a .zip file onto WinZip or 7Zip. But in the case the OP was asking about, there isn't just one source of data that would need to be dragged and dropped to get things moving, there's two: The .avs script, and the video file that needs to be passed through it. Hence...

Quote:
Originally Posted by NoX1911 View Post
It just needs a wrapper or something to send the data to. .
Exactly! It needs a wrapper called a .BAT file - or something else that will do the same job for you - which prepares the script for Avisynth to read and then hands it over to a suitable avisynth-aware application.

You haven't said (and neither did the OP) what you actually want done with the video output from Avisynth: Do you want it to play immediately, in real time? Then you need it to go to a video player app. Do you want it to be opened for editing? Then you need it to go to an editor app. Do you want it to be immediatley encoded as x264, or as DivX, or something else? Then you need it to be passed to a video encoder. All of those are complex bits of software with their own individual pitfalls and issues for the developers, which avisynth developers don't need to deal with because other people are already doing that. None of those tasks are the job of Avisynth; Avisynth exists to prepare video data for *any* of those applications to take as input.

That's why Avisynth *cannot* do anything without some avisynth-aware application calling it: It's designed to do only the first half of a job - or, in fact, of several different possible jobs! The 2nd half of the job varies, and will always be done by a separate piece of software designed specifically to do that part of the job, in a particular way.

Sure, somebody could write an application and we could host it here and it could be called "the Official Avisynth App" or whatever, but it would be a separate thing that serves a different purpose... And it would only be duplicating the capabilities of the other video players or editors or encoders that are already out there, and would require ongoing maintenance and development that takes time and attention away from working on Avisynth itself... So why bother?

The tools you're looking for already exist; They just aren't called AviSynth.
pbristow is offline   Reply With Quote
Old 24th August 2012, 06:05   #23  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,411
@PBristow,
Nuff said, if any more comeback, dont waste your breath.
__________________
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 24th August 2012, 06:16   #24  |  Link
pbristow
Registered User
 
pbristow's Avatar
 
Join Date: Jun 2009
Location: UK
Posts: 269
Quote:
Originally Posted by StainlessS View Post
@PBristow,
Nuff said, if any more comeback, dont waste your breath.
Heh. I can't resist the urge to try to educate and inform. It runs in the family.
pbristow is offline   Reply With Quote
Old 24th August 2012, 06:34   #25  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,411
Arh, A True Educator Of Men. (& possibly women, but they never listen, bless'em)
__________________
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 24th August 2012, 17:46   #26  |  Link
NoX1911
Registered User
 
NoX1911's Avatar
 
Join Date: Aug 2003
Location: Germany
Posts: 186
The avisynth.dll should be able to enumerate the main function arguments of the host application (player). In combination with a registered drag&drop capable extension leading to that player and an avisynth parser able to process/substitute %1 it should work like intended. In case there's no interface providing that information there is still injection as last resort.
NoX1911 is offline   Reply With Quote
Old 24th August 2012, 18:02   #27  |  Link
pbristow
Registered User
 
pbristow's Avatar
 
Join Date: Jun 2009
Location: UK
Posts: 269
Well, the beauty of open source development is that if you believe something can be done, there's nothing to stop you downloading the source and trying it yourself. Good luck!

(I'll stand by to have my hat steam-cleaned, just in case I need to eat it... )
pbristow 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 15:32.


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