From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25911 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Movies Date: Thu, 09 Feb 2006 00:14:35 +0100 Message-ID: <43EA7B5B.7090705@wxs.nl> References: <43EA1A05.3020907@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1139440726 31567 80.91.229.2 (8 Feb 2006 23:18:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2006 23:18:46 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 09 00:18:44 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1F6ya4-0001kk-KG for gctc-ntg-context-518@m.gmane.org; Thu, 09 Feb 2006 00:18:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 50627127AA; Thu, 9 Feb 2006 00:18:36 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24564-01; Thu, 9 Feb 2006 00:18:35 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0D071127A2; Thu, 9 Feb 2006 00:14:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C01EB127A2 for ; Thu, 9 Feb 2006 00:14:45 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24125-03 for ; Thu, 9 Feb 2006 00:14:42 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with SMTP id 907D212798 for ; Thu, 9 Feb 2006 00:14:42 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 4858 for ; Thu, 09 Feb 2006 02:14:42 +0300 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: mailing list for ConTeXt users In-Reply-To: X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25911 Archived-At: Hans van der Meer wrote: > That's what I had and somehow could not get working again. > you mean that you saw no movie? > I therefore did some experimenting and now I have something working: > > > In the above I first thought "StartMovie" etc would work but > "StartRendering" etc did the trick. As of the special purpose of > StartMovie and friends I am still in the dark. > \externalfigure[whatever.mov][....,label=somelabel] \goto{start}[StartMovie{somelabel}] (i didn't test it; this is typically one of the areas where pdf specs and viewers evolve over time; what works in version 3 viewers may fail in version 5; normally i adapt that kind of stuff when i run into it / need it (with the danger of breaking oder stuff); one problem is that there is a relationship (now) betwene the page where the resource is and where it is activated [it's that kind of dependencies that has shown up]; the same for sounds: resources need to be on the same page as where they are clled (which over time made some examples fail when viewers changed their expectations). > \definerenderingwindow > [movie] > [width=1.33\makeupheight,height= > \makeupheight,strut=no,offset=0pt,frame=off, > background=color,backgroundcolor=BackgroundColor, > closepageaction=StopCurrentRendering] > > I had to remove the openpageaction from the example in the context > fle and then it stopped putting the movie on each and every page once > it had been opened. > the rendering mechanism is using the pdf 1.5/6 features i.e. separation between resource and rendering view (buggy in acrobat 6, but may be better by now) ; there is some example code in x-res-50 etc > Finally typesetting the movie with: > > \useexternalrendering[purple][video/quicktime][purpleshort.mov] > \defineoverlay > [theimage] > [{\externalfigure[themovie][width=\overlaywidth,height= > \overlayheight,type=jpg]}] > starttext > \hfill\framed[offset=0pt,strut=no,background={foreground,theimage}] > {\placerenderingwindow[movie][themovie]}\hfill\null > > As you can seen I placed the movie in a framed. This because I wanted > the still image showing over it (you mentioned a "preview=yes" I will > later experiment with it. I guess it also will work here? > not sure, but overlays are ok (since the undocumented behaviour of viewers is that the annots end up on top when activated, they have their own rendering layer (and as a side effect cannot be made invisible in pdf layers; a typical example of pdf feature creap without forseeing implicationswhich then needs to be repaired in later pdf specs/viewers) > The PROBLEM I encountered was that I thought to change the > renderingwindow's background with a local call to > \setuprenderingwindow[movie][parameters leading to the overlay as in > framed] > but to no avail. > Maybe I did something wrong here? Could it be with the naming and/or > the number of parameters in the setup? > dunno, if you send me a zip with all resources and a small test file i can have a look > Anyway, the stuff seems to work. From your answer I guess a sort of > manual is still far way. Pity. > well, it should go in the widgets manual, but only when the pdf specs is stable for this; there is some example code in the x-res files (media libraires and so) > If you can spare some further hints, if necessary, I will be grateful > as always. > > Hans > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------