Forums > Jitter

43j-fourwaymix shader with jsmoviebank_modified.js

March 17, 2008 | 8:49 am

Hello,

And perhaps this message could be more adressed to Vade who wrote the
jsmoviebank_modified.js object.

I want to mix 3 videos with the 43j-fourwaymix shader, each of them
calling files dynamically with a jsmoviebank_modified.js js object.
Separately, everything is fine : the fourwaymix shader works fine,
also does the seamless load of the videos with the
jsmoviebank_modified.js (thanks a lot for this nice script Vade ! ).

But when I connect the output of the js objects to the3 inputs of the
fourwaymix shader, only the leftmost input does works, not the
others. Although the 3 outputs of the videos are ok – tested with
jit.pwindows. Which information or operation am I missing ? Is this a
problem of colorspace ?

And incidentally, a (certainly dummy) question : is there an object
just returning (not converting) the colorspace type of an incoming
video flow ?

Thanks a lot in advance…

Thierry

—————————————-
Thierry Fournier

http://www.thierryfournier.net


March 18, 2008 | 1:53 pm

Hi.

Not a particularly helpful reply, I’m afraid – just another question..

Thanks for the lead to jsmoviebank_modified.js – looks very useful and could solve an issue I have with a current project. I’ve found vade’s original post on this, but I can’t get the script to work – I think the format gets jumbled when I copy and paste it. Is there any way you (or anyone) could post the script as an attachment?

Many thanks,

Joseph


March 18, 2008 | 11:15 pm


March 19, 2008 | 3:40 pm

I’m afraid I still can’t get that to work – still plenty of line breaks in there. I can spot some of them – comments etc., but I don’t have sufficient programming chops to spot them all. For what it’s worth, I’m left with two error messages:

• error: js: jsmoviebank_modified.js: Javascript SyntaxError: missing ; after for-loop condition, line 54
source line: movarray[i].dispose();
• error: js: no function index


March 19, 2008 | 3:43 pm

Hmmm.. ended up with an incomplete post.. here’s the rest:

Anyway, if either yourself or vade (if he’s watching) could post the code as an attachment that should sort it..

Thanks for your help, anyway – much appreciated.


March 19, 2008 | 7:18 pm

Hi.

I have not looked at this in a while, but here it is:

On Mar 19, 2008, at 11:43 AM, Joseph Hyde wrote:

>
> Hmmm.. ended up with an incomplete post.. here’s the rest:
>
>
> Anyway, if either yourself or vade (if he’s watching) could post the
> code as an attachment that should sort it..
>
> Thanks for your help, anyway – much appreciated.


March 19, 2008 | 9:15 pm

Ok, I looked at this and it mostly works as intended (it reports the
end of the movie *right before* the end of the movie, so you remove
some of the delay in switching the prerolled movies).

Ive got some cruft in there since it was used in a Steven Segal
automated trailer generator patch, but it works – I just tried it, and
renewed my love for Segal.

HES AN EX NAVY SEAL,

HES A HARD HITTING NYC COP WITH TIES TO THE MAFIA

HE HAS AN 8TH DEGREE BLACKBELT IN AIKIDO

HES A MAN ON A MISSION.

HES TRAINED BY THE CIA

he is all of the above

*sigh*

god bless him.

On Mar 19, 2008, at 3:18 PM, vade wrote:

> Hi.
>
> I have not looked at this in a while, but here it is:
>
>
>
>
> On Mar 19, 2008, at 11:43 AM, Joseph Hyde wrote:
>
>>
>> Hmmm.. ended up with an incomplete post.. here’s the rest:
>>
>>
>> Anyway, if either yourself or vade (if he’s watching) could post
>> the code as an attachment that should sort it..
>>
>> Thanks for your help, anyway – much appreciated.
>


March 20, 2008 | 12:32 am

THIS IS WHY WE CAN’T HAVE NICE THINGS.

> Ive got some cruft in there since it was used in a Steven Segal
> automated trailer generator patch, but it works – I just tried it,
> and renewed my love for Segal.
>
> HES AN EX NAVY SEAL,
>
> HES A HARD HITTING NYC COP WITH TIES TO THE MAFIA
>
> HE HAS AN 8TH DEGREE BLACKBELT IN AIKIDO
>
> HES A MAN ON A MISSION.
>
> HES TRAINED BY THE CIA
>
> he is all of the above
>
> *sigh*
>
> god bless him.

barry threw
Media Art and Technology

San Francisco, CA
Work: 857-544-3967
Email: bthrew (at) gmail (dot) com
Web: http://www.barrythrew.com


March 20, 2008 | 1:11 am

Dont hate the player hate the game…..

On Mar 19, 2008, at 8:32 PM, barry threw wrote:

> THIS IS WHY WE CAN’T HAVE NICE THINGS.
>


March 20, 2008 | 5:37 pm

>Hi.
>
>I have not looked at this in a while, but here it is:

Thanks vade, but I can’t see anything there? it’s either some kind of Cageian code, or you didn’t attach, or I’m being stupid..


March 20, 2008 | 6:16 pm

Or the mailing list/forum integration does not work. I attached via
the mailing list. Oh well.

On Mar 20, 2008, at 1:37 PM, Joseph Hyde wrote:

>
>
>> Hi.
>>
>> I have not looked at this in a while, but here it is:
>
> Thanks vade, but I can’t see anything there? it’s either some kind
> of Cageian code, or you didn’t attach, or I’m being stupid..
>
>


March 21, 2008 | 9:15 am


March 21, 2008 | 7:48 pm


March 21, 2008 | 8:27 pm


Viewing 14 posts - 1 through 14 (of 14 total)