Archive: avs embedding in browser


10th April 2004 11:23 UTC

avs embedding in browser
Can I comehow embed avs to a web browser??


10th April 2004 11:27 UTC

Can I somehow embed avs to a web browser??


10th April 2004 14:30 UTC

I don't think you can be able embed avs in web browser.
because AVS don't discribe in web browser.


10th April 2004 15:43 UTC

you mean putting an avs in your own site?
you could make an AVI from it, using UnConeD AVSGrabber APE
after compressing it you could embed it in your web page, but don't ask me about details on that, i never used any videos in web pages

directly putting an AVS on a website could be done if someone wrote a plug-in for it, but it would be worthless i think because it depends on sound input.


10th April 2004 19:44 UTC

Or there's the overlay color mode where every pixel that corresponds to the color you set will turn into a part of the AVS window.

Kinda not what you're going for, I know.


10th April 2004 21:27 UTC

i don't think he meant overlay mode
1. you'd have to zoom the preset according to the position of the canvas in the browser
2. it would not show up on other people's browsers


11th April 2004 15:45 UTC

I think he was referring to creating his own browser in which he wants to load the data given from (the user's) AVS.

Then you'd have to write some sort of APE that like AVSgrabber writes data to an external file, but removes again at (almost) the same time to save memory. Some sort of internal streaming media.


11th April 2004 21:43 UTC

he talked about a web browser, so i think he meant IE
that internal streaming thing... pretty weird idea ^^ if you're trying to do this, use sockets instead :)
maybe turn it into a streaming video webserver with sound from winamp and video from avs :)
just a crazy idea :D


13th April 2004 08:35 UTC

May i use my java experience for making presets instead of c/c++ (i dont have any)??


13th April 2004 08:45 UTC

Originally posted by TomyLobo
you mean putting an avs in your own site?
you could make an AVI from it, using UnConeD AVSGrabber APE
after compressing it you could embed it in your web page, but don't ask me about details on that, i never used any videos in web pages

directly putting an AVS on a website could be done if someone wrote a plug-in for it, but it would be worthless i think because it depends on sound input.


So can i embed an avs in an applet,cos..

I have an idea to make a music applet with a dj playing it & thousands of people listening to it...:))
& thats y i`m asking..:)

13th April 2004 09:58 UTC

If you know Java, then you'll know that applets run in a sandbox environment which shields them from the OS. Platform-specific apps like AVS or Winamp are not accessible to Java afaik.

I suppose you could program your own visualiser thingie, but without optimized instructions (and given Java's general slowless) it wouldn't run well.


13th April 2004 10:40 UTC

Quote:


13th April 2004 15:10 UTC

I dunno, is there a program that could stream the output of the AVS Grabber? Either that, or there might be a program that could stream a image of your desktop or something.

Or you could just rig a webcam up and point it at your monitor :P


13th April 2004 17:31 UTC

Originally posted by UnConeD
If you know Java, then you'll know that applets run in a sandbox environment which shields them from the OS. Platform-specific apps like AVS or Winamp are not accessible to Java afaik.

I suppose you could program your own visualiser thingie, but without optimized instructions (and given Java's general slowless) it wouldn't run well.
Actually Me and GordoN Willaim (r4) have been working on realtime visual on teh web and Java is surprising quick. We did think that we would have big problems with it for our client but not at all.

You can get a GForce/Geiss type effect in a decent/reasonable size window for running sweet on a 500mHz machine.

Obviously no 3d technology in there but decent never-the-less.

When the deal is all completed I'll post what we have.

13th April 2004 21:40 UTC

Originally posted by OnionRingOfDoom
I dunno, is there a program that could stream the output of the AVS Grabber? Either that, or there might be a program that could stream a image of your desktop or something.

Or you could just rig a webcam up and point it at your monitor :P
Yathosho once did this with NSV (Nullsoft Streaming Video). You can find a forum about it on these forums.

14th April 2004 09:06 UTC

Originally posted by UnConeD
If you know Java, then you'll know that applets run in a sandbox environment which shields them from the OS. Platform-specific apps like AVS or Winamp are not accessible to Java afaik.

I suppose you could program your own visualiser thingie, but without optimized instructions (and given Java's general slowless) it wouldn't run well.


I think that either me or you dont know java so well...:)
I know that the sandbox is there only if you run an unsigned applet...:) did you know that?

Originally posted by sandstorm_sh

I have an idea to make a music applet with a dj playing it & thousands of people listening to it...:)
try SHOUTcast
it's an audio streaming relay server and you can use it to let people listen to whatever you are listening to atm (input can come directly from winamp through a DSP plugin)
if you plan on broadcasting .wma files you might need this

14th April 2004 09:19 UTC

Can anybody having access to da source ot vis-avs plugin give me some idea of making avs visualizer??


14th April 2004 14:06 UTC

Quote:


14th April 2004 16:16 UTC

the problem is: you'd have to run winamp and AVS from that plugin. maybe just AVS if you know how to call it.
but UnConeD's right: the security warning (and the fact that this is the common way dialers spread) messes everything up

instead, make 2 links:
link #1 to the stream
link #2 to an AVS pack/Hotlist config file :)


16th April 2004 09:38 UTC

well,
can anybody tell me something about how is da avs plugin made?
i just wanna rewrite it into java??


16th April 2004 16:15 UTC

Originally posted by sandstorm_sh
i just wanna rewrite it into java??
*grins*
I think AVS is a bit too complex to be rewritten.

The hardest thing will probably be convincing all APE authors to rewrite their plugins in Java :)

Then you need a code parser, which is really hard, but maybe you can find one already written in Java. After all, the AVS syntax is not too far away from Java/PHP/Perl/C. But then, to make the whole thing effective, you'll *need* to compile the script parts to bytecode, so they can be executed on demand
This alone needs in-depth knowledge of the Java VM.

Next, you'll need to know how all the standard effect components of AVS work (like blur, dynamic movement, etc.)

If you're then done with all that work (after maybe 5 years or so :) ), Nullsoft will probably have released several new versions of AVS, and your work goes on :)


I know that the sandbox is there only if you run an unsigned applet... did you know that? Yes I do, but:
- I don't see how you could use even a non-sandboxed Java applet to extract the AVS stuff from a 3rd party /native/ Windows program. Even in a native Windows app it's practically impossible, unless you start fucking around and using native API calls to hook into various Windows subsystems.
- I know 90% of all visitors will click 'no' at the first sight of any security warning (which a signed applet gives you afaik).