Version 1.2.14 of package Subed has just been released in NonGNU ELPA. You can now find it in M-x list-packages RET.
Subed describes itself as: ================================== A major mode for editing subtitles ================================== More at https://elpa.nongnu.org/nongnu/subed.html ## Summary: subed ═════ subed is an Emacs major mode for editing subtitles while playing the corresponding media file with [mpv]. At the moment, the only supported formats are: • SubRip ( `.srt') • WebVTT ( `.vtt' ) • Advanced SubStation Alpha ( `.ass', experimental ) • Tab-separated values ( `.tsv', experimental ) - as exported by Audacity for labels. TSVs are not recognized automatically because it's a common data format, but you can use `subed-tsv-mode' to turn it on in a buffer. <file:https://raw.githubusercontent.com/sachac/subed/master/screenshot.jpg> [mpv] <https://mpv.io/> Features ──────── ## Recent NEWS: 1 subed news ════════════ 1.1 Version 1.2.14 - 2024-07-05 - Sacha Chua ──────────────────────────────────────────── • Bugfix: subed-waveform should now handle the case where the stop time + subed-waveform-preview-msecs-after might extend past the end of the file. Thanks to rodrigomorales1 and rndusr for the bug reports and pull requests! 1.2 Version 1.2.13 - 2024-07-05 - Sacha Chua ──────────────────────────────────────────── • Bugfix: Fix the requires in subed-waveform to load subed-common. 1.3 Version 1.2.12 - 2024-07-05 - Sacha Chua ──────────────────────────────────────────── • Bugfix: Handle SRT cues that have lines that only contain numbers, as they were getting confused with cue IDs. 1.4 Version 1.2.11 - 2022-12-20 - Sacha Chua ──────────────────────────────────────────── • New commands `subed-shift-subtitles-to-start-at-timestamp' and `subed-move-subtitles-to-start-at-timestamp' should make it easier to adjust timestamps without doing msec math. • Add workflow notes to README.org. 1.5 Version 1.2.10 - 2023-12-20 - Sacha Chua ──────────────────────────────────────────── • Add extra line after comments in text output. • `subed-guess-format' can now take a filename. 1.6 Version 1.2.9 - 2023-12-19 - Sacha Chua ─────────────────────────────────────────── • New ol-subed adds subed: links to Org Mode. To use it, add `(require 'ol-subed)' to your configuration. Then you can store links with `org-store-link'. • `M-mouse-2' (M-middle-click) on a subed waveform shifts subtitles. • VTT: msecs are now optional. • New command `subed-wdiff-subtitle-text-with-file' compares subtitle text with a script or other subtitles. It uses the external wdiff tool. • subed-subtitle-comment now returns nil when there's no comment. 1.7 Version 1.2.8 - 2023-11-28 - Sacha Chua ─────────────────────────────────────────── • subed-waveform: • `M-mouse-1' (M-left click) and `M-mouse-3' (M-right-click) now set the start or end timestamp and copy it to the previous or next subtitle, respectively. This makes it easier to hold `M-' down to change timestamps with the mouse or with `M-[', `M-]', `M-{', and M-}, navigating between subtitles with `M-n' and `M-p'. • You can now show waveforms for all the subtitles using M-x subed-waveform-show-all. Set subed-waveform-show-all to non-nil if you want this to be the default behavior of `M-x subed-waveform minor-mode'. • Default to keeping MPV open at the end of the file. • New hooks: `subed-subtitles-sorted-hook', `subed-subtitle-merged-hook' • New function `subed-media-file' for things like [subed-record] which can refer to multiple sources in one file. [subed-record] <https://github.com/sachac/subed-record> 1.8 Version 1.2.7 - 2023-11-10 - Sacha Chua ─────────────────────────────────────────── • subed-align: Use current media file even if it's a video, and restore the comments assuming the subtitles are in sequence. • add .m4a to the list of media extensions 1.9 Version 1.2.6 - 2023-11-05 - Sacha Chua ─────────────────────────────────────────── New commands and functions: • M-J: subed-mpv-jump-to-current-subtitle-near-end • subed-waveform: • S-mouse-1: subed-waveform-set-start-and-copy-to-previous • S-mouse-3 (right-click): subed-waveform-set-stop-and-copy-to-next • subed-append-subtitle-list New option: • subed-sample-msecs Other changes: • Update loop after adjusting timestamps • Appending or splitting subtitles in VTT files with comments now puts new subtitles before the next comment. 1.10 Version 1.2.5 - 2023-10-15 - Sacha Chua ──────────────────────────────────────────── Ignore MPV socket errors when closing files on remote computers. 1.11 Version 1.2.4 - 2023-09-11 - Sacha Chua ──────────────────────────────────────────── Guess the format when the generic subed-mode is loaded. Also, require svg when subed-waveform is loaded. 1.12 Version 1.2.3 - 2023-06-18 - Sacha Chua ──────────────────────────────────────────── Added subed-waveform, which you can enable with subed-waveform-minor-mode. This makes it easier to review the waveform for the current subtitle so that you can use it to adjust the start or stop time. It requires the ffmpeg executable. Thanks, mbork! 1.13 Version 1.2.2 - 2023-04-09 - Sacha Chua ──────────────────────────────────────────── subed should not autoplay media over TRAMP. 1.14 Version 1.2.1 - 2023-03-21 - Sacha Chua ──────────────────────────────────────────── Adjusting the starting or stopping timestamp (including via merges) should now also update the looping start and stop times. 1.15 Version 1.2.0 - 2023-03-10 - Sacha Chua ──────────────────────────────────────────── I changed `subed-mode' so that it doesn't add functions to local … …