* Movies
@ 2008-01-18 4:44 David Arnold
2008-01-18 7:51 ` Movies Andrea Valle
2008-01-18 12:42 ` Movies Miguel Queiros
0 siblings, 2 replies; 15+ messages in thread
From: David Arnold @ 2008-01-18 4:44 UTC (permalink / raw)
To: Context Mailing List List
All,
Does anyone have any experience embedding Quicktime or other movies
in Context? Either in the document itself or simply a URL that will
play the movie in the the user's system player?
Can anyone supply some sample code snippets?
Appreciated.
David Arnold
http://online.redwoods.edu/instruct/darnold
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Movies
2008-01-18 4:44 Movies David Arnold
@ 2008-01-18 7:51 ` Andrea Valle
2008-01-18 8:11 ` Movies luigi scarso
2008-01-18 12:42 ` Movies Miguel Queiros
1 sibling, 1 reply; 15+ messages in thread
From: Andrea Valle @ 2008-01-18 7:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1634 bytes --]
\externalfigure[mymovie.mov][width=4cm,height=3cm,preview=yes]
I can't remember where to find an example in the manual but it is
something simple like this (taken from mailing list)
Best
-a-
On 18 Jan 2008, at 05:44, David Arnold wrote:
> All,
>
> Does anyone have any experience embedding Quicktime or other movies
> in Context? Either in the document itself or simply a URL that will
> play the movie in the the user's system player?
>
> Can anyone supply some sample code snippets?
>
> Appreciated.
>
>
> David Arnold
> http://online.redwoods.edu/instruct/darnold
> ______________________________________________________________________
> _____________
> If your question is of interest to others as well, please add an
> entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/
> ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ______________________________________________________________________
> _____________
--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.myspace.com/andreavalle
--> andrea.valle@unito.it
--------------------------------------------------
"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)
[-- Attachment #1.2: Type: text/html, Size: 9075 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Movies
2008-01-18 7:51 ` Movies Andrea Valle
@ 2008-01-18 8:11 ` luigi scarso
0 siblings, 0 replies; 15+ messages in thread
From: luigi scarso @ 2008-01-18 8:11 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Jan 18, 2008 8:51 AM, Andrea Valle <valle@di.unito.it> wrote:
Mojca, another italian for meeting....
--
luigi
it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Movies
2008-01-18 4:44 Movies David Arnold
2008-01-18 7:51 ` Movies Andrea Valle
@ 2008-01-18 12:42 ` Miguel Queiros
1 sibling, 0 replies; 15+ messages in thread
From: Miguel Queiros @ 2008-01-18 12:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
> Does anyone have any experience embedding Quicktime or other movies
> in Context? Either in the document itself or simply a URL that will
> play the movie in the the user's system player?
>
> Can anyone supply some sample code snippets?
Please take a look at:
http://wiki.contextgarden.net/Using_Graphics#Movies
Miguel Queirós
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Movies
2006-02-08 20:37 ` Movies Hans van der Meer
@ 2006-02-08 23:14 ` Hans Hagen
0 siblings, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2006-02-08 23:14 UTC (permalink / raw)
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Movies
2006-02-08 16:19 ` Movies Hans Hagen
@ 2006-02-08 20:37 ` Hans van der Meer
2006-02-08 23:14 ` Movies Hans Hagen
0 siblings, 1 reply; 15+ messages in thread
From: Hans van der Meer @ 2006-02-08 20:37 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Movies
2006-02-08 14:45 Movies Hans van der Meer
@ 2006-02-08 16:19 ` Hans Hagen
2006-02-08 20:37 ` Movies Hans van der Meer
0 siblings, 1 reply; 15+ messages in thread
From: Hans Hagen @ 2006-02-08 16:19 UTC (permalink / raw)
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]
Hans
-----------------------------------------------------------------
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Movies
@ 2006-02-08 14:45 Hans van der Meer
2006-02-08 16:19 ` Movies Hans Hagen
0 siblings, 1 reply; 15+ messages in thread
From: Hans van der Meer @ 2006-02-08 14:45 UTC (permalink / raw)
In my presentation sheets I want to put some movies (quicktime or
mpeg4 and the like).
I did do what is in the manual but somehow it stopped working for me
in Adobe Reader (7.0.5 Mac)(not sure why, might be newer final cut
pro, might be something else). So I thought: perhaps somewhat more
control exercised over the contents of the pdf objects might help.
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.
But, with:
\definerenderingwindow
[movie]
[background=color,backgroundcolor=gray,
openpageaction=StartCurrentRendering,
closepageaction=NextPage]% StopCurrentRendering]
I now get the opening frame of the window on all pages of the sheets
instead of only on the one containing the movie. How can I change
that to an appearance on that specific page only?
In the menu only the Startbutton worked. The buttons were set with:
\def\renderingmenu[#1]%
{\hbox
{\setupbuttons[width=2.5em]%
\button{\symbol[StartMovie]} [StartMovie{#1}]\enspace
\button{\symbol[StopMovie]} [StopMovie{#1}]\enspace
\button{\symbol[PauseMovie]} [PauseMovie{#1}]\enspace
\button{\symbol[ResumeMovie]}[ResumeMovie{#1}]}}
I changed the part "Rendering" from the example to "Movie" as there
are keys PauseMovie etc. in mult-con.tex.
As said, only StartMovie reacted as expected.
Is there some -- how rudimentary it may be -- documentation about
this? Where do I look for it?
yours sincerely,
dr. H. van der Meer
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Movies
2000-06-01 19:26 Movies David Arnold
2000-06-01 23:07 ` Movies Hans Hagen
@ 2000-06-01 23:08 ` Hans Hagen
1 sibling, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2000-06-01 23:08 UTC (permalink / raw)
Cc: ntg-context
At 12:26 PM 6/1/2000 -0700, you wrote:
>Are avis supported in Context?
It depends on the plug in; wav files are (I've announced sound some tim ago
on this list)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Movies
2000-06-01 19:26 Movies David Arnold
@ 2000-06-01 23:07 ` Hans Hagen
2000-06-01 23:08 ` Movies Hans Hagen
1 sibling, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2000-06-01 23:07 UTC (permalink / raw)
Cc: ntg-context
At 12:26 PM 6/1/2000 -0700, David Arnold wrote:
> {\externalfigure[simple_pendulum_pp][width=100pt]}{}
>! Missing $ inserted.
I'll add it to my todo list, the _ in filenames, for the moment, use - in
filenames instead.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Movies
@ 2000-06-01 19:26 David Arnold
2000-06-01 23:07 ` Movies Hans Hagen
2000-06-01 23:08 ` Movies Hans Hagen
0 siblings, 2 replies; 15+ messages in thread
From: David Arnold @ 2000-06-01 19:26 UTC (permalink / raw)
All,
I tried:
%output=pdf
\starttext
\placefigure
[here][movie]
{Animating movies with the Model Builder.}
\startcombination[2*1]
{\externalfigure[sp.avi][width=100pt,height=100pt,preview=yes]}{}
{\externalfigure[simple_pendulum_pp][width=100pt]}{}
\stopcombination
\stoptext
But I got this error:
! Missing $ inserted.
<inserted text>
$
<to be read again>
\x01
l.1 RIFF,Ö\x04 AVI LIST+ hdrlavih8 k\x04\x01
:b + \x01 á\x11 +...
?
Are avis supported in Context?
-
David Arnold
College of the Redwoods
Mathematics Department
7351 Tompkins Hill Road
Eureka, CA 95501
(707) 476-4222
My Home Page
http://online.redwoods.cc.ca.us/instruct/darnold/index.htm
Ordinary Differential Equations Using Matlab
http://www.prenhall.com/books/esm_0130113816.html
^ permalink raw reply [flat|nested] 15+ messages in thread
* movies
@ 1999-06-09 11:58 Hans Hagen
0 siblings, 0 replies; 15+ messages in thread
From: Hans Hagen @ 1999-06-09 11:58 UTC (permalink / raw)
I forgot to say:
for movies one has to specify the width and height, and it had better
be the right aspect ratio. I still have no movie dimension parser.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Movies
@ 1999-06-09 11:10 Gilbert van den Dobbelsteen
0 siblings, 0 replies; 15+ messages in thread
From: Gilbert van den Dobbelsteen @ 1999-06-09 11:10 UTC (permalink / raw)
Cc: ntg-context
>Hans,
>
>Regarding animations:
>
>1. What kind of movie files can be used with Context?
QuickTime movies.
>
>2. I note that little windmill movie in one of your files. I imagine that
>this is movie created with a number of frames made by Metapost? Yes? No?
Hans made this using Metapost. After that a friend of him combined the
images into a QuickTime movie. Don't know what tools you need.
>
>4. Could you zip a little context source file that shows how to put a movie
>in a context file?
\externalfigure[MyMovie.mov][width=3cm,height=2cm,preview=yes]
You can also create buttons to start movies. Look that up in the sources.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Movies
1999-06-09 5:03 Movies David Arnold
@ 1999-06-09 9:35 ` Hans Hagen
0 siblings, 0 replies; 15+ messages in thread
From: Hans Hagen @ 1999-06-09 9:35 UTC (permalink / raw)
Cc: ntg-context
David Arnold wrote:
> 1. What kind of movie files can be used with Context?
Apple 'mov' files, as supported by pdf.
> 2. I note that little windmill movie in one of your files. I imagine that
> this is movie created with a number of frames made by Metapost? Yes? No?
Indeed. Actually in that document the inclusion concerns a movie, used
as overlay in a flowchartcell, which itself is drawn by metapost
runtime, and converted to pdf by tex. A rather nice chain of actions.
> 3. Could you give me a hint on how you made the little windmill movie? What
> software do you make movies with?
I first made an animated gif out of gifs produced from the mp epses,
using adobe photoshop. The animated gif can be made by convert, althouhj
I used a free MS program which location I've forgotten but which works
ok. Then I asked a friend to convert that gif to a mov using adobe
premiere (maybe some day I will buy that program).
> 4. Could you zip a little context source file that shows how to put a movie
> in a context file?
Well, the shortest file I can think of is:
\starttext \setupoutput[pdftex] \externalfigure[somekind.mov]
\stoptext
You can turn on a preview with:
\externalfigure[somekind][preview=yes]
and activate a loop by [repeat=yes]
(You can test this with the movie as included in the 1999-003.zip)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Movies
@ 1999-06-09 5:03 David Arnold
1999-06-09 9:35 ` Movies Hans Hagen
0 siblings, 1 reply; 15+ messages in thread
From: David Arnold @ 1999-06-09 5:03 UTC (permalink / raw)
Cc: ntg-context
Hans,
Regarding animations:
1. What kind of movie files can be used with Context?
2. I note that little windmill movie in one of your files. I imagine that
this is movie created with a number of frames made by Metapost? Yes? No?
3. Could you give me a hint on how you made the little windmill movie? What
software do you make movies with?
4. Could you zip a little context source file that shows how to put a movie
in a context file?
Thanks,
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2008-01-18 12:42 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-18 4:44 Movies David Arnold
2008-01-18 7:51 ` Movies Andrea Valle
2008-01-18 8:11 ` Movies luigi scarso
2008-01-18 12:42 ` Movies Miguel Queiros
-- strict thread matches above, loose matches on Subject: below --
2006-02-08 14:45 Movies Hans van der Meer
2006-02-08 16:19 ` Movies Hans Hagen
2006-02-08 20:37 ` Movies Hans van der Meer
2006-02-08 23:14 ` Movies Hans Hagen
2000-06-01 19:26 Movies David Arnold
2000-06-01 23:07 ` Movies Hans Hagen
2000-06-01 23:08 ` Movies Hans Hagen
1999-06-09 11:58 movies Hans Hagen
1999-06-09 11:10 Movies Gilbert van den Dobbelsteen
1999-06-09 5:03 Movies David Arnold
1999-06-09 9:35 ` Movies Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).