From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25907 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: Movies Date: Wed, 8 Feb 2006 21:37:48 +0100 Message-ID: References: <43EA1A05.3020907@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1139431071 26429 80.91.229.2 (8 Feb 2006 20:37:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2006 20:37:51 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 08 21:37:47 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 1F6w4I-000379-9A for gctc-ntg-context-518@m.gmane.org; Wed, 08 Feb 2006 21:37:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B8776127B6; Wed, 8 Feb 2006 21:37: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 21267-05; Wed, 8 Feb 2006 21:37:33 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2F3DD1279B; Wed, 8 Feb 2006 21:37:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7EE6F1279B for ; Wed, 8 Feb 2006 21:37:31 +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 21386-03 for ; Wed, 8 Feb 2006 21:37:30 +0100 (CET) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with SMTP id 54BC21277F for ; Wed, 8 Feb 2006 21:37:29 +0100 (CET) Original-Received: from 118-235.uva.surfnetthuis.nl [145.98.118.235] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.36). id k18KbQ927690; Wed, 8 Feb 2006 21:37:26 +0100 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ In-Reply-To: <43EA1A05.3020907@wxs.nl> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new 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:25907 Archived-At: On Feb 8, 2006, at 17:19, Hans Hagen wrote: > Hans van der Meer wrote: >> The manual has not much more on movie inclusion therefore I searched >> through the source. >> In cont-new.tex I found things like >> % \useexternalrendering[example-5][video/quicktime] [p1000726.mov] >> and maybe that is what I was looking for. I adapted the movie name >> and tried to test with the example given in cont-new.tex (starting at >> line 1581) and --lo and behold-- now got a playing movie. >> > the rendering stuff is a bit too complex for what you want > > how about > > \externalfigure[mymovie.mov][width=4cm,height=3cm,preview=yes] That's what I had and somehow could not get working again. I therefore did some experimenting and now I have something working: \setupinteraction[menu=on,state=start] \def\renderingmenu[#1]% {\hbox {\setupbuttons[width=16mm,height=12mm]% \button{\symbol[StartRendering]} [StartRendering{#1}]\enspace \button{\symbol[StopRendering]} [StopRendering{#1}]\enspace \button{\symbol[PauseRendering]} [PauseRendering{#1}]\enspace \button{\symbol[ResumeRendering]}[ResumeRendering{#1}]}} 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. \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. 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? 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? Anyway, the stuff seems to work. From your answer I guess a sort of manual is still far way. Pity. If you can spare some further hints, if necessary, I will be grateful as always. yours sincerely, dr. H. van der Meer