2

I am trying to get the first frame of an avi file show before playing the avi file using the command

\movie[width=1.7in,height=1.7in,poster,loop,autostart]{}{filename.avi}

The PDF file compiled using pdflatex on my MacBook gives me the generic picture (which looks like a broken window?) before I click on it to play my avi file. I thought that the option poster in the above `moviecommand is supposed to extract the first frame of myavi` file and display it in the box before playing the video, instead of showing a generic display.

Much appreciate any help. I looked everywhere for this on the web but never found anyone asking this question. Maybe its a straightforward fix?

  • Does the video play at all? Since even autostart has no effect, I suspect the AVI of having the wrong encoding. Option poster instructs the media player plugin to render the first frame from the video content. Thus, there must be something wrong with the video. – AlexG Feb 1 '18 at 7:44
  • Which PDF viewer are you using? – AlexG Feb 1 '18 at 7:52
  • Yes, video plays fine. Its just that when static, the image it shows is that of a broken window pane. This seems to be default. Here’s the code I used in my Beamer file to play the video.\begin{column}{1.8in} \begin{figure} \movie[width=1.7in,height=1.7in,poster,loop,autostart]{myfile.avi} \caption{my video} \label{faceTrack} \end{figure} \end{column} – gatorgig Feb 1 '18 at 20:55
  • I use adobe acrobat reader DC version 2018.009.20050 I suspect the problem is with Adobe reader? – gatorgig Feb 1 '18 at 20:59
  • 1
    I was able to fix my problem by using quicktime converter for converting avi files to mov files and this works on media9. Thanks. – gatorgig Feb 2 '18 at 19:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.