yuchen-lea / org-media-note

Taking interactive notes when watching videos or listening to audios in org-mode.
GNU General Public License v3.0
236 stars 35 forks source link

t m keys #3

Closed OrionRandD closed 3 years ago

OrionRandD commented 3 years ago

t m - in doom - is doing this Org-Media-Note mode enabled Org-Media-Note mode disabled H-v activates Visual mode s gives me ‘get_property’ failed: property unavailable :(

yuchen-lea commented 3 years ago

s gives me ‘get_property’ failed: property unavailable This happens when mpv cannot find subtitle for current playing file. e35762e provides a more understandable message.

The other part confused me... it seems you haven't bind H-v to org-media-note-hydra/body? You can bind org-media-note-hydra/body to any key you like, then follow the hydra hint.

OrionRandD commented 3 years ago

Oh. Thx for replying. I have changed to another package to make notes in Emacs. You can close this issue, if you want.

hummuscience commented 8 months ago

@yuchen-lea I got the same error when trying to play an online video (https://www.youtube.com/watch?v=Nk0H3o-hRMA&list=PLUl4u3cNGP60IKRN_pFptIBxeiMc0MCJP&index=5)

it has closed caption subtitles but no subtitles otherwise. Any idea what is causing this?

yuchen-lea commented 8 months ago

The ability to play online videos, acquisition of subtitles, and other functionalities regarding playing media files are all implemented by mpv. You can try running

(mpv-start 'https://www.youtube.com/watch?v=Nk0H3o-hRMA&list=PLUl4u3cNGP60IKRN_pFptIBxeiMc0MCJP&index=5')

I can play videos and take notes normally, but there are no subtitles.

It seems that acquiring subtitles for online videos requires:

  1. subtitle can be extracted by 'youtube-dl' or 'yt-dlp'
  2. editing the configuration of mpv

I only use it for playing local videos and youtube streaming is unbearable slow. If you have any progress, contributions are greatly welcome. if there's anything I can do to help you out let me know

How to play YouTube videos with MPV subtitles\? - Super User mpv play youtube auto generated subtitles - YouTube [How to select english subtitles on YouTube with \"--slang\" · Issue #10245 · mpv-player\/mpv](https://github.com/mpv-player/mpv/issues/10245 "How to select english subtitles on YouTube with \"--slang\" · Issue #10245 · mpv-player/mpv") Captions when playing YouTube videos with MPV\? \: linuxquestions