Skip to content

v0.0.2

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Oct 00:25
· 5278 commits to main since this release
9ac8250

HikariSub 0.0.2 is the second stable release for legacy app. Since 0.0.1, it brings:

  • installers for Windows and Linux, with updates that download and install themselves;
  • libass as the default subtitle renderer, built from the altqx libass fork on both systems;
  • playback that heavy subtitles no longer stall, and smoother resizing;
  • update windows that always show in front of the main window;
  • an opt-in offer to try the new HikariSub;
  • many fixes, most of them found while the new HikariSub was checked against this one.

Coming from 0.0.1? 0.0.1 can only tell you about a new release and open its page, so install 0.0.2 by hand once, with the installer or a package below. From then on, an installed copy updates itself.

On 0.0.2-rc.1 to rc.4 with an installer or package? It updates itself to 0.0.2. With the portable zip or tar.gz, download 0.0.2 by hand.

Installers and updates

  • Windows installer. HikariSub-0.0.2-windows-x64-setup.exe installs for Just me (no administrator rights) or for All users (after an administrator prompt).

    • It adds a Start menu entry and, unless you untick it, opens .ass, .ssa, .srt and .sub files. It never takes a file type that another program already opens.
    • A newer installer updates the installation in place.
    • The uninstaller removes only what it installed and keeps your settings.
    • The zip stays for a portable copy.
  • Linux packages. All of them need glibc 2.35 or newer:

    • an AppImage with everything inside (GTK, GLib and GStreamer included);
    • a deb for Debian, Ubuntu and Mint;
    • an rpm for Fedora and openSUSE.

    The deb and rpm install in /opt/hikarisub with a menu entry and file types, and pull in the GStreamer plugins. The tar.gz stays for a portable copy.

  • Updates install themselves. When a newer release is out, an installed copy downloads it in the background and checks it against the SHA-256 the release lists. Then it asks "Update ready: Restart now / Later", and Later installs it when you quit.

    • Windows runs the new installer silently.
    • The AppImage replaces itself, and puts the old file back if the new one doesn't start.
    • The deb and rpm install after the system's password prompt (pkexec).
    • The portable zip and tar.gz only tell you about a new release and open its page.
    • Before anything is installed, the download is checked again against the release's SHA256SUMS on GitHub.
  • A new option, "Install updates automatically", in File > Settings, on the Editor page, under Updates. When it's off, an installed copy only tells you about a new release.

  • Update windows always show. Every update window now opens over the main window, centred on it and in front. When HikariSub is minimised or in the background, its taskbar button flashes instead. At startup, update windows wait until the "Load last session?" and crash-recovery prompts are closed.

  • Help > Check for updates works again; in 0.0.2-rc.4 it did nothing.

  • Installed copies keep their settings in your user data folder. Portable copies keep them beside the executable, as before.

Try the new HikariSub (optional)

A new HikariSub, rebuilt on Qt, is in the works. When a test version is ready, 0.0.2 can offer it to you. Nothing changes unless you choose to try it.

  • Who sees the offer:
    • Test versions are offered only if "Stable versions only" is off.
    • A stable release of the new HikariSub will be offered to everyone.
  • The offer window: Try it, Remind me later (it asks again after 3 days) or Don't offer again. Help > "Try the new HikariSub…" shows the current offer at any time.
  • Order and downloads: an update for this version always comes before the offer, and nothing is downloaded until you choose Try it.
  • What Try it does depends on how you installed HikariSub:
    • With the installer, the AppImage, the deb or the rpm, it updates like any release.
    • With a portable copy, it opens the release page so you can unpack the new version beside this one.
    • AUR installs get no offer.
  • Going back: the new HikariSub reads your settings from this version but never changes them. To go back, install 0.0.2 or a later 0.0.x release again, and your settings are as you left them.
  • Support: 0.0.x keeps getting updates. Moving is up to you.

Subtitle rendering

  • libass is the default renderer. New settings use libass. Settings from an older version that stored xy-VSFilter move to libass once; if you choose xy-VSFilter again on the Video page, it stays. On Windows, xy-VSFilter is still available. VSFilterMod is listed last as "VSFilterMod (slow, only for VSFilterMod tags)" and is never chosen by default.
  • The altqx libass fork, on both systems. It renders heavy typesetting about twice as fast.
    • Windows now uses libass's x86 assembly, which the build had left out.
    • Linux builds and bundles the fork instead of the distribution's libass, so subtitles render as they do on Windows.
  • VSFilterMod from the altqx fork (r5.3.1-hikari.2):
    • \img offsets and \img from attached images work.
    • Its subtitles show on the overlay path (the default for most video) and with DirectShow.
    • A DirectShow video no longer crashes it.
  • A script's attached fonts and images reach the renderers. [Fonts] and [Graphics] were never passed to any renderer.
  • Style previews draw with a libass renderer of their own. They no longer slow down the next video frame, and they no longer stay blank until a value changes.
  • On Linux, libass sees the external fonts folder.

Smoother playback and resizing

  • Windows renders subtitles ahead of playback on a separate thread, and skips a frame that would be shown too late. With VSFilterMod on a busy episode, playback had dropped to 11 frames a second.
  • Linux decodes and renders frames ahead the same way Windows does. It scales them with cairo (2 ms instead of 17 ms per paint in full screen) and paints without holding the rendering lock. Each frame is shown at its own time instead of one frame early.
  • Editing a large script no longer freezes every tab and preview for 80–300 ms while libass parses it.
  • The bar between the video and the subtitle grid:
    • On Linux, it follows the mouse: each move takes about 7 ms instead of 80 ms.
    • On Windows, the panels resize when you let go, and the pause after letting go is about 40% shorter.
  • The main window on Linux settles at each size in about 35 ms instead of 120–150 ms.
  • Toolbars and panels no longer show blank while you resize, and the left toolbar no longer flashes light on Windows.
  • The audio display no longer redraws its waveform when its size hasn't changed.
  • On Linux, GStreamer video shows in the window again, not only in full screen.

Changes

  • Line editor:
    • Apply with nothing changed does nothing: the script isn't marked as changed and no undo step is added.
    • An End time before the Start time is refused with "End is before Start.", and the line keeps its times.
  • Font collector: two different fonts with the same file name are both kept. The second is saved under its own name, such as same (2).ttf, and the log says so. This works for folder and zip output.
  • Seek bar: dragging seeks at most every 50 ms, and lands where you let go. A click still seeks at once.
  • Full screen: the volume slider shows with every video player, and moving it moves the audio box's volume too.

Fixes

  • Files
    • Subtitles loaded from Matroska keep every line.
    • Subtitle and chapter times load at the right times from MP4, MOV, MPEG-TS and Matroska files with a non-default time scale.
    • Aegisub keyframes files no longer gain a keyframe at frame 0, and DivX map files give keyframes.
    • A script with only LayoutResY counts as having a layout resolution.
    • Previous and Next file walk the folder in natural name order ("Ep 2" before "Ep 10"), and find the current video in a long folder on Windows.
  • Editing
    • In time fields, Ctrl+X copies the whole time. Backspace and Ctrl+Backspace keep the separators and count as a change. The text menu checks what it pastes, and the mask holds when the Frames box is on but times are shown.
    • The mouse wheel and drag step MPL2 times by a tenth of a second and frame numbers by one frame, and keep every number field in its range.
    • Split keeps a wrap's tag next to a longer tag with the same start, such as \b1 beside \bord2.
  • Grid
    • Insert before fills only a gap, and no longer makes a Line that ends before it starts.
    • Next line at the end copies the last shown Line, not a hidden one.
    • Copy columns and Paste columns label the end time "End time" for SRT, MicroDVD and MPL2; it showed "The starting time" twice.
  • Visual tools
    • A \move whose times are both 0 or less moves over the whole Line in the Move and Position tools and in Split by frames, as libass draws it.
    • The Scale tool keeps its pointer when Shift changes, and the position pointer shows only over the picture.
  • Audio
    • Each tab has its own audio cache file, so a second tab on the same video no longer plays silence or loses its audio.
    • Turning off "Go to the next line after applying changes" now works.
    • No crash when a video fails to load, or when the video source changes while its audio is shown.
  • Find and replace
    • Replace in files keeps a separate backup for files with the same name in different folders.
    • Cancelling Choose styles in Find and replace and in Shift times keeps the Styles field.
  • Windows
    • Closing a window no longer sends the focus to another program.
  • Linux
    • No crash when opening the Style manager on Wayland, and typing a digit with wtype no longer closes it.
    • Option groups show their captions, the Associations page no longer shows its buttons over the tree, and the colour picker and eyedropper work.
    • The tar.gz uses the system's GStreamer, GLib and Fontconfig, and bundles x264 and x265.
    • wxWidgets 3.3.4. The single-instance socket is renamed, so a running 0.0.1 isn't asked to open files.
  • Other
    • Deleting a style catalog asks in the interface's language, not in Polish.
    • Clicking a menu item right after opening its menu works when the pointer crosses another menu title.
    • Short paths in Automation's aegisub.decode_path no longer read past their end.
    • xy-VSFilter no longer leaks memory each time it reuses a parsed script, and changing the renderer during playback no longer draws subtitles twice.

Translations

Every string is translated into Polish, Korean, Thai and Tamil (1898 of 1898), including the installer, update and offer messages. Corrections from native speakers are welcome as issues.

Known issues

  • **The AUR packages aren't published yet. Until then, use the AppImage or the tar.gz on Arch.
  • The Windows installer isn't code-signed, so SmartScreen may ask you to confirm it: choose "More info", then "Run anyway".

Downloads

  • HikariSub-0.0.2-windows-x64-setup.exe: Windows x64 installer.
  • HikariSub-0.0.2-windows-x64.zip: Windows x64, portable.
  • HikariSub-0.0.2-linux-x86_64.AppImage (and .zsync): Linux x86_64, any distribution with glibc 2.35 or newer.
  • hikarisub-0.0.2-linux-amd64.deb: Debian, Ubuntu and Mint.
  • hikarisub-0.0.2-linux-x86_64.rpm: Fedora and openSUSE.
  • hikarisub-0.0.2-linux-x86_64.tar.gz: Linux x86_64, portable.
  • SHA256SUMS: check a download with sha256sum -c --ignore-missing SHA256SUMS.
  • hikarisub-update.json: the update manifest that installed copies read.

Full Changelog: v0.0.1...v0.0.2