在 Latex 文档中插入 FLV 视频
我正在尝试在乳胶文档中插入 flv 视频。我已经尝试过以下方法:
\begin{figure}[h!]
\centering
\includegraphics[scale=1]{animation/animation1.flv}
\caption{My animation}
\label{Anim1}
\end{figure}
但它根本不起作用!有谁知道该怎么做?我会避免转换视频,因为我不知道读者会使用哪种编解码器。
I'm trying to insert a flv video in a latex document. I've tried the following :
\begin{figure}[h!]
\centering
\includegraphics[scale=1]{animation/animation1.flv}
\caption{My animation}
\label{Anim1}
\end{figure}
But it's not working at all ! Does anyone know how to do this ? I would avoid to convert the video because I don't know what kind of codec the reader would have.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用
media9.sty
,可从 CTAN 获取。您可能需要稍微修改.sty
以告诉它.flv
也是一个电影文件。好吧,如果您关心阅读器的设置,您甚至不能假设嵌入 pdf 中的视频可以正常工作。除了 Adobe Reader 之外,它的支持并不好。即使 Linux 上的 Adobe Reader 也不支持它。
因此,请务必询问读者使用哪种PC环境,并相应地准备和测试文件。
Use
media9.sty
, available from CTAN. You might need to slightly modify the.sty
to tell it that.flv
is also a movie file.Well, if you care about the setup of the reader, you can't even assume that the video embedded in the pdf to work. It's not well supported except Adobe Reader. Even Adobe Reader on Linux doesn't support it.
So, do ask the reader which PC environment s/he uses, and prepare and test the file accordingly.
不要为此使用
\includegraphics
。该命令仅适用于图像。 此页面提供了一个包,允许您在生成的文档中包含视频。代码将如下所示(从链接页面复制):Don't use
\includegraphics
for that. This command is for images only. This page offers a package, which allows you to include videos within the generated document. The code would then look like this (copied from the linked page):