Including movies in pdf files
Hi, I was updating the wiki entry on \externalfigures (http://wiki.contextgarden.net/Command/externalfigure) and noticed that I cannot get ConTeXt to include a movie. I tried the following \starttext \externalfigure[clip.mov] \stoptext (where clip.mov is a quicktime movie distributed with Mathematica, which I copied to the current directory). The movie file is 16K and the resultant PDF file is 4.5K, which means that the movie is not embedded in the PDF (which in itself is not a problem, because, IIUC, context does not embed the movie in the pdf file anyways). However, when I open the file in acroread 9.5.1 (on Linux), and no movie is shown in the pdf file. So, does ConTeXt support including movies in pdf files, and if so, can someone provide a minimal working example. Aditya
On Fri, 30 Nov 2012, Aditya Mahajan wrote:
Hi,
I was updating the wiki entry on \externalfigures (http://wiki.contextgarden.net/Command/externalfigure) and noticed that I cannot get ConTeXt to include a movie.
[...]
So, does ConTeXt support including movies in pdf files, and if so, can someone provide a minimal working example.
It appears to be a viewer issue. \pdfcompresslevel=0 \setupinteraction[state=start] \starttext \externalfigure[clip.mov][height=2cm, width=2cm, preview=yes] \stoptext The pdf file has << /Type /Annot /A << /ShowControls true >> /Subtype /Movie /T (movie clip.mov) /Border [ 0 0 0 ] /Movie << /Poster true /Aspect [ 56.692913385827 56.692913385827 ] /F (clip.mov) >> /Rect [70.867 657.6468 127.5599 714.3397]
so, ConTeXt appears to be including the right annotation, but the viewer (acroread) is not rendering the movie. Aditya
On Dec 2, 2012, at 1:02 PM, Aditya Mahajan
On Fri, 30 Nov 2012, Aditya Mahajan wrote:
Hi,
I was updating the wiki entry on \externalfigures (http://wiki.contextgarden.net/Command/externalfigure) and noticed that I cannot get ConTeXt to include a movie.
[...] So, does ConTeXt support including movies in pdf files, and if so, can someone provide a minimal working example.
It appears to be a viewer issue.
\pdfcompresslevel=0 \setupinteraction[state=start] \starttext \externalfigure[clip.mov][height=2cm, width=2cm, preview=yes] \stoptext
The pdf file has
<< /Type /Annot /A << /ShowControls true >> /Subtype /Movie /T (movie clip.mov) /Border [ 0 0 0 ] /Movie << /Poster true /Aspect [ 56.692913385827 56.692913385827 ] /F (clip.mov) >> /Rect [70.867 657.6468 127.5599 714.3397]
so, ConTeXt appears to be including the right annotation, but the viewer (acroread) is not rendering the movie.
Your example works on my Mac with Adobe Reader 10.1.4, with one of my own .mov files substituted. The pdf code is the same, except with a different filename. ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments).
On Sun, 2 Dec 2012, Rogers, Michael K wrote:
On Dec 2, 2012, at 1:02 PM, Aditya Mahajan
wrote: On Fri, 30 Nov 2012, Aditya Mahajan wrote:
Hi,
I was updating the wiki entry on \externalfigures (http://wiki.contextgarden.net/Command/externalfigure) and noticed that I cannot get ConTeXt to include a movie.
[...] So, does ConTeXt support including movies in pdf files, and if so, can someone provide a minimal working example.
It appears to be a viewer issue.
\pdfcompresslevel=0 \setupinteraction[state=start] \starttext \externalfigure[clip.mov][height=2cm, width=2cm, preview=yes] \stoptext
The pdf file has
<< /Type /Annot /A << /ShowControls true >> /Subtype /Movie /T (movie clip.mov) /Border [ 0 0 0 ] /Movie << /Poster true /Aspect [ 56.692913385827 56.692913385827 ] /F (clip.mov) >> /Rect [70.867 657.6468 127.5599 714.3397]
so, ConTeXt appears to be including the right annotation, but the viewer (acroread) is not rendering the movie.
Your example works on my Mac with Adobe Reader 10.1.4, with one of my own .mov files substituted. The pdf code is the same, except with a different filename.
Thanks for checking. This means that it is a viewer issue on Linux :-( Aditya
On 12/02/2012 03:43 PM, Aditya Mahajan wrote:
Thanks for checking. This means that it is a viewer issue on Linux :-(
Aditya
FWIW, Adobe Acrobat Reader 11.0 installs and runs on Xubuntu 12.04 i386 (at least the normal functions run, haven't tried any of the oddball stuff). -- Bill Meahan Westland, Michigan USA
2012/12/3 Bill Meahan
FWIW, Adobe Acrobat Reader 11.0 installs and runs on Xubuntu 12.04 i386 (at least the normal functions run, haven't tried any of the oddball stuff).
And where do you get that? It's not listed at http://www.adobe.com/support/downloads/product.jsp?product=10&platform=unix Best Martin
On 12/02/2012 06:29 PM, Martin Schröder wrote:
And where do you get that? It's not listed at http://www.adobe.com/support/downloads/product.jsp?product=10&platform=unix
Best Martin
Note: "under wine" means running a Windows program via the WINE translation layer so it is the Windows version of Acrobat Reader, not a native Linux/BSD/Unix application. Adobe has stopped supporting Linux/BSD/Unix as of Reader 9.5. Fortunately, WINE provides a workaround. -- Bill Meahan Westland, Michigan USA
participants (4)
-
Aditya Mahajan
-
Bill Meahan
-
Martin Schröder
-
Rogers, Michael K