Skip to content

Emacs Lisp functions for compiling media files using ffmpeg

License

Notifications You must be signed in to change notification settings

sachac/compile-media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

This repository contains a bunch of Emacs Lisp functions I use to make FFmpeg commands for combining videos.

Probably still quite buggy.

Example call from Emacs Lisp:

(let* ((sources
        '((video (:source
                  "video-a.webm"
                  :start-ms "00:00:30.000"
                  :stop-ms "00:00:35.000")
                 (:source
                  "video-b.webm"
                  :start-ms "00:00:10.000"
                  :stop-ms "00:00:15.000"))
          (audio
                 (:source
                  "video-a.webm"
                  :start-ms "00:00:30.000"
                  :stop-ms "00:00:35.000")
                 (:source
                  "video-b.webm"
                  :start-ms "00:00:10.000"
                  :stop-ms "00:00:15.000")))))
  (kill-new (compile-media-get-command sources (expand-file-name "~/test.webm"))))

Sacha ([email protected])

About

Emacs Lisp functions for compiling media files using ffmpeg

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published