LaTeX Beamer中插入视频

作者: SilentSummer | 来源:发表于2017-12-24 02:39 被阅读25次

Embedding Videos in LaTeX Beamer

Introduction to inserting videos into slides.

Calling package

\usepackage[]{media9}
% A LATEX package for embedding interactive Adobe Flash (SWF) and 3D files (Adobe U3D & PRC) as well as video and sound files or streams (FLV, MP4/H.246, MP3) into PDF documents with Adobe Reader-9/X
compatibility.

Sample

\includemedia[
  label=some_dice,
  width=1.0\linewidth,height=0.675\linewidth, % 16:9
  addresource=filename.mp4, 
  transparent,
  activate=pageopen,
  passcontext,
  flashvars={
    source=filename.mp4
   &autoPlay=true % start playing on activation
   &loop=true
  }
]{}{VPlayer.swf}
% loop video
\mediabutton[
  mediacommand=some_dice:playPause,
  overface=\color{blue}{\fbox{\strut Play/Pause}},
  downface=\color{red}{\fbox{\strut Play/Pause}}
]{\fbox{\strut Play/Pause}}
\mediabutton[
  mediacommand=some_dice:setSource [(filename.mp4)]
]{\fbox{\strut Media Caption}}

References:

  1. User’s Guide to the Beamer Class, Version 3.01
  2. The media9 Package, v0.70

相关文章

  • LaTeX Beamer中插入视频

    Embedding Videos in LaTeX Beamer Introduction to insertin...

  • Beamer中插入动画、视频

    示例 假如需要插入如下动图到自己的slides中: 一、准备素材 有时我们需要在自己的slide当中显示动图或者小...

  • Latex

    1. Latex presentation Beamer color change:http://www2.inf...

  • Latex Beamer Theme 主题修改

    在导言区加\usetheme{Rochester}有哪些可以换的主题可以参考下面的网站https://deic-w...

  • LaTeX-beamer 学习教程

    Beamer 快速入门 - 中译本 黄旭华老师翻译 Beamer 3.0 指南 中译本 - 黄旭华老师翻译 Bea...

  • LaTeX插入mp3文件

    前言 LaTeX里面插入MP3文件,当然也可以插入MP4视频等文件。 代码 说明 以上核心代码为:\include...

  • LaTeX笔记--(4)--[嵌入图像]

    有时,我们会需要在文档中插入图像。在LaTeX中,使用figure环境和graphicx包插入图片,图片将会被自动...

  • 2018-04-03

    【LaTeX】Lyx/LaTeX笔记01---插入伪代码[latex]使用algorithm包来编写伪代码 - C...

  • 如何在 PPT 中插入 latex?

    2020.06.26 Friday @SG 同事问如何在 ppt 中插入 latex 公式。这个问题比较常遇到,写...

  • Latex公式编辑

    前言 相信很多人都有这样痛苦的体验, 给文档中插入公式. 后来无意间发现 latex对于文档中插入公式特别方便,一...

网友评论

    本文标题:LaTeX Beamer中插入视频

    本文链接:https://www.haomeiwen.com/subject/ueycgxtx.html