- Notifications
You must be signed in to change notification settings - Fork3
Miteiru is an open source Electron video player to learn Chinese, Cantonese, and Japanese. It can play all Youtube and HTML 5 supported format (.mkv, .mp4, .mov, and many more) videos, and lots of supports on other subtitle formats (.srt, .ass, .vtt, and many more)
License
hockyy/miteiru
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Hello! I'mHocky Yudhiono, the developer behindMiteiru. I created this video player app with the goal of providing a reliable and user-friendly experience for watching your favorite videos.
I amdedicated to ensuring that Miteiru is secure and free from any malicious components. However, if you encounter any security issues or vulnerabilities, please reach out to me privately atmiteiru@hocky.id or just submit a GitHub issue, and I will do my best to address and resolve them promptly.
While I strive to maintain a safe and secure application, I cannot be held responsible for any unintended consequences or damages that may occur from usingMiteiru.Use the app at your own risk.
![]() | Miteiru is an open source Electron video player to learn Chinese, Japanese, and Cantonese. It has modular main language dictionary and tokenizer (morphological analyzer), heavily based on External softwareMeCab, and optinally needsJMDict to give language info box. This software is heavily inspired byAnisubber. |
- Cross-platform! Available in Windows, MacOS, GNU/Linux.
- Supports all videos that yourchromium supports! In someOS's, it supportsx265.
- On-The-Fly Furigana generation! blazing-fast and no severe cache build needed.
- Instant definition of any terms that uses LevelDB on first start only!
- Instant definition of any word in the subtitles.
- Instant definition on Kanji
- Translation subtitles alongside the Japanese subtitles.
- Word/Token spacing in the Japanese subtitles
- Youtube Support
For the first run, you can press this button, and wait for about 2 minutes because it is cachingthe japanese dictionary..
You can start by dragging:
- Any videos (Anime is good) you can get subtitle athttps://kitsunekko.net/
- Any youtube URL
- Or you can just literally paste any youtube watch video into the miteiru (just ctrl + vinto the player)
- But youtube japanese will only show for videos that have japanese CC or auto-generatedjapanese CC.
- Try this:
Press
X
andZ
for the configsJust read the front page's keyboard shortcut, you can press
Q
to go back to the front page.Profit 💰
- Checkout releases here:https://github.com/hockyy/miteiru/releases
- Download the .pkg file
- Because I'm too poor to afford the so called 99 USD apple developer program annual fee, you willencounter the unidentified developer warning.
- No worry, all codes are open source and I have no intend to harm your Mac... You can evenbuild your own app by following the developer guide below
- Run it thisway:https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac
- Being such a good guy I am, I've provided both the portable one and the setup one, you can justpick any, install it.
- There's this issue where some PC would recognize the setup as a virus... but you can try your ownvirus total test.
- I made the .deb and .AppImage, currently no other build is provided because I'm too lazy
As per February 3rd, 2024MacWhisper is a really good UI for Whisper in mac, anyway if you want to run whisper on other OS or for free:
- clone thisrepogit@github.com:ggerganov/whisper.cpp.git
- install ffmpeg
cd whisper.cpp && bash ./models/download-ggml-model.sh large
put this in your ~/.bashrc or ~/.zshrc or any rc your os use
export WHISPERPATH=~/project/whisper.cppwhisper() { local input="$1" shift # All remaining arguments will be treated as an array local -a extra_args=("$@") "$WHISPERPATH/main" -f "$input" -of "$input.w" --model "$WHISPERPATH/models/ggml-medium.bin" -l ja "${extra_args[@]}" -osrt}prepwhisper() { local input="$1" local output="${input%.\*}.wav" ffmpeg -i "$input" -ar 16000 -ac 1 -c:a pcm_s16le "$output"}
Then run on your video
prepwhisper video.mp4whisper video.wav
- voila
You can run the followings on the cloned repository: (don't forget to download the LFS files aswell)
npm installnpm run script:initreponpm run dev# This to run devnpm run build:nsis# This to build for Windowsnpm run build:portable# This to build for Windows Portablenpm run build:linux20# This to build for Linux 20.04npm run build:linux22# This to build for Linux 22.04npm run build# this is for mac
Mecab can be downloaded throughbrew by running:
brew install mecab
or in Ubuntu:
sudo apt install mecab
Then, you can run
which mecab
or in Windows, you can directly download the binary filefromSourceForge
to show your default mecab binary file. Use it as the path when asked in Miteiru. Then, you can getJMDict Dictionaryinhttps://github.com/scriptin/jmdict-simplified/releases.Use it as the path when asked in Miteiru as well. Miteiru will build a LevelDB cache locally. Then,you can enjoy the app!
By default, you are using whatever your default Mecab Dictionary offers you, but you can furthercustomize this by modifying themecabrc
file which is located in/opt/homebrew/etc/mecabrc
inMacOS,C:\Program Files (x86)\MeCab\etc\mecabrc
in Windows, and/etc/mecabrc
in Ubuntu. Forother OS's you gotta figure it our for yourself right now. Shunou, Miteiru's microlibrary cansupport Unidic, Jumandic, Ipadic, and it's variations. Specifically, if you check out thedicrc
file of each dictionary, Shunou can support the output formatchamame
,chasen
, and the classicJumandic god knows what output format. You cangetUniDic files here
Configuration file in mac:
;; Configuration file of MeCab;; $Id: mecabrc.in,v 1.3 2006/05/29 15:36:08 taku-ku Exp $;;; dicdir = /opt/homebrew/lib/mecab/dic/ipadic; dicdir = /opt/homebrew/lib/mecab/dic/jumandicdicdir = /opt/homebrew/lib/mecab/dic/unidic; userdic = /home/foo/bar/user.dic; output-format-type = wakati; input-buffer-size = 8192; node-format = %m\n; bos-format = %S\n; eos-format = EOS\n
Windows:
;; Configuration file of MeCab;; $Id: mecabrc.in,v 1.3 2006/05/29 15:36:08 taku-ku Exp $;;dicdir = $(rcpath)\..\dic\unidic; userdic = /home/foo/bar/user.dic; output-format-type = wakati; input-buffer-size = 8192; node-format = %m\n; bos-format = %S\n; eos-format = EOS\n
- Verb inflections
- Miteiru will be ported to a dedicated media player, like LibVLC or MPV.
- Kanji explanation in the subtitles with animated diagrams.
- Pronounciation audio
- Customizable subtitle style.
- Online hosted videos.
- Will support Android.
- Miteiru will have built-in Tokenizer and Dictionary, and supports French, German, BahasaIndonesia, and many more.
- Miteiru will support Korean too!
Miteiru.mp4
About
Miteiru is an open source Electron video player to learn Chinese, Cantonese, and Japanese. It can play all Youtube and HTML 5 supported format (.mkv, .mp4, .mov, and many more) videos, and lots of supports on other subtitle formats (.srt, .ass, .vtt, and many more)