Skip to content

kisonecat/beaudiomer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

beaudiomer

Beaudiomer is a LaTeX package and python script which takes a beamer presentation with additional \audio and \video and \wait commands and produces an .xml file suitable for the autocuter.

To use this, git clone this package into, say, your local TEXMF tree, e.g.,

cd ~/texmf/tex/latex
git clone https://github.com/kisonecat/beaudiomer.git

In the preamble of your beamer file, include \usepackage{beaudiomer} and on the appropriate slides, include \audio{the-relevant-audio-file.wav}. After you pdflatex your beamer file, the resulting PDF will include special annotations pointing to the audio file. To produce an input.xml suitable for autocut, use python beaudiomer.py filename.pdf where filename.pdf is the PDF that pdflatex produced.

You can use \video{a-movie.mp4} to replace an entire slide with a video, or \wait{17} to wait for 17 seconds on the slide. Note that \audio commands should be positioned appropriately relative to \pause and the like.

The \audio and \video and \wait commands also accept a frame, e.g.,

\begin{frame}
  one, \uncover<2->{two}, and \uncover<3->{three}.

  \wait<1>{0.1}
  \wait<2>{1}
  \wait<3>{5}
  
\end{frame}

Dependencies

Reading annotations was causing pymupdf to segfault, so beaudiomer.py depends on pymupdf and pypdf2.

About

Beamer LaTeX package for an \audio command and a Ruby script for converting a .tex presentation into an .mp4 movie

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published