Coder Social home page Coder Social logo

org-media-note's Introduction

中文文档

About

Take notes for video and audio files in org-mode! Now supported:

  • media control: seek backward/forward, control volume and playback speed …
  • new link types video, audio
    • e.g. [[video:course.mp4#0:01:56][0:01:56]]
    • insert current timestamp during playing media
    • click link to jump to corresponding position
  • insert screencast and subtitle
  • import from:
    • PBF: generated by PotPlayer
    • TXT: exported by Noted

Working with org-ref to get a better experience:

  • quick open related media file in org-ref note (file path is got from bib file)
  • new link types videocite, audiocite
    • e.g. [[videocite:key#0:01:56][0:01:56]]
    • you can chose to insert video or videocite link
    • click link to jump to corresponding position
    • show bib info when pointing at link
    • open org-ref action list

Demo

Open related media file in org-ref note,play on top,insert current timestamp and subtitle

../demo/org-media-note-add.gif?raw=true

Insert current screencast. Also, you can customize to auto insert screencast when create a new note item ../demo/org-media-note-screenshot.gif?raw=true

Jump to the right position by clicking link ../demo/org-media-note-follow.gif?raw=true

QuickStart

  1. Install
    • for doom users:
      (package! org-media-note :recipe (:host github :repo "yuchen-lea/org-media-note"))
              
  2. Config
    • for doom users:
      • don’t use org-ref
        (use-package! org-media-note
          :hook (org-mode .  org-media-note-mode)
          :bind (
                 ("H-v" . org-media-note-hydra/body))  ;; Main entrance
          :config
          (setq org-media-note-screenshot-image-dir "~/Notes/imgs/")  ;; Folder to save screencast
          )
                    
      • use org-ref
        (use-package! org-media-note
          :hook (org-mode .  org-media-note-setup-org-ref)
          :bind (
                 ("H-v" . org-media-note-hydra/body))  ;; Main entrance
          :config
          (setq org-media-note-screenshot-image-dir "~/Notes/imgs/")  ;; Folder to save screencast
          (setq org-media-note-use-refcite-first t)  ;; use videocite link instead of video link if possible
          )
                    
    • ℹ Here, I use Hyper key H for keybinding. In this way, I can quickly access personal functions, and no major or minor modes will stamp on my keys. Look into this for more infomation: Emacs: How to Bind Super Hyper Keys. Or you can bind it to any other key you like. After all, it’s Emacs ;)
  3. Then, you can access all functions in org-media-note-hydra/body

Dependencies

  • mpv.el control media inside emacs
  • pretty-hydra create a amiable hydra

    org-ref is not required, but it’s worth to have a try if you use bib to manage your media file!

org-media-note's People

Contributors

legalnonsense avatar yuchen-lea avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.