I am using beamer on Windows 10, and I want my mp4 video to be read using the multimedia package (I do not want media9 since I have multiple videos and the final pdf file is way too heavy in the end). Despite the multiple topics on related issues, I found no answer to this specific problem.
I have no compilation error, my video is in the correct folder. The pdf is created successfully. But in the pdf file, using the latest Adobe Reader version (2019.012.20036), it does not show the video, only a blank. If I click on the place where the video is supposed to be, I get a contour of it, but nothing with right-click. Any idea what is the problem? Here is the piece of code within one frame :
\movie[height=0.5625\textwidth, width=1.0\textwidth,
poster, autostart]{}{video.mp4}
Additional information 1 : I also work on Linux and the same piece of code (with the same mp4 video and using also multimedia) works perfectly. I mean that once the pdf is created, I open it with Okular, and the video starts directly. So the same code works on Linux (16.04), but does not work on Windows.
Additional information 2 : I nevertheless tried media9 to investigate this issue on Windows, with the same mp4 video. The video this time appears on the slide, but for some reason, does not start directly when I arrive on the slide, despite the pageopen command. Here is the corresponding code:
\includemedia[width=1.0\textwidth, height=0.5625\textwidth,
activate=pageopen, passcontext, transparent, addresource=hexapod.mp4,
flashvars={source=hexapod.mp4}]{}{VPlayer9.swf}
I will try different video format and codec for multimedia then. Thanks a lot
– Antoine Aug 22 '19 at 08:09passcontextoption. It gives you access to the right-click menue ofVPlayer. – AlexG Aug 22 '19 at 08:26I understand from your answer that I should move on to media9 for Windows (it seems I cannot choose the MS Video 1 codec for avi). But media9 on Linux, unlike multimedia which works, produces a blank in Okular. Any idea what is the reason for this (with the same piece of code and mp4 file)?
An alternative option was to use \animategraphics with png, but I have the same issue: it works on Windows, but not on Linux with Okular
– Antoine Aug 22 '19 at 08:35media9is based on. A possible alternative could still be pkganimate(\animategraphics,animateinline) which supports SVG output. It is pretty portable: https://tex.stackexchange.com/a/235180 – AlexG Aug 22 '19 at 08:59