基于 mpv 的视频播放器,用于学习日语
Memento is a FOSS, mpv-based video player for studying Japanese.
Memento has been drastically overhauled since v1.7.2. If you're looking for the README relevant to that version, click here.
JMdict_english but without several thousand entries from JMnedict.JMdict_english_with_examples with additional formatting.This means there is a mistake in your card template. When this happens, AnkiConnect will report that all potential cards are not addable. Double check your card template to see if the front of the card is missing something.
If you're version of yt-dlp is out of date, you may experience degraded streaming performance or websites not working entirely.
Memento's version of yt-dlp can be updated by doing the following:
yt-dlp.exe in Memento's install directory. For the portable version of Memento, this is located in the same folder as the executable. For the installed version, this is located at C:\Program Files\Memento by default.This means that mpv cannot find your yt-dlp installation.
To install yt-dlp, paste these commands into Terminal:
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ~/Library/Preferences/memento/yt-dlp
chmod a+rx ~/Library/Preferences/memento/yt-dlp
Move the Memento application to a directory that doesn't have spaces in the path
like /Applications. Unfortunately, this is an limitation of MeCab and there is
no workaround that can be implemented.
For Memento to be able to use the native file picker on KDE Plasma, you must
compile with with -DMEMENTO_QAPPLICATION=ON.
This pulls in a dependency on Qt Widgets, so make sure to have that installed on
your system.
-DMEMENTO_SYSTEM_QCORO=ON-DMEMENTO_MECAB_SUPPORT=ON-DMEMENTO_OCR_SUPPORT=ON and -DMEMENTO_SYSTEM_MOCR=ONFor the best experience, install Noto Sans CJK JP and the Kanji Stroke Order fonts.
I do not guarantee that any branch will successfully build or be bug-free. If you want to build a stable version of Memento, compile a release from source.
To install Memento on Linux, type the following commands:
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . -j $(nproc)
sudo cmake --build . --target install
pacman -Syu
pacman -S mingw-w64-ucrt-x86_64-git mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-ninja mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-python mingw-w64-ucrt-x86_64-sqlite3 mingw-w64-ucrt-x86_64-qt6 mingw-w64-ucrt-x86_64-mpv mingw-w64-ucrt-x86_64-mecab mingw-w64-ucrt-x86_64-json-c mingw-w64-ucrt-x86_64-libzip
git clone https://github.com/ripose-jp/Memento.git
cd Memento
./windows/build.sh -DCMAKE_BUILD_TYPE=Release
build/Memento_x86_64
Important: Clang is the only officially supported compiler for building Memento on macOS.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install git cmake sqlite3 qt6 qcoro6 mpv mecab mecab-ipadic json-c libzip
git clone https://github.com/ripose-jp/Memento.git
cd Memento
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . -j $(nproc)
Memento/build/src/memento
cd Memento
mkdir build
cd build
cmake -DMEMENTO_CODESIGN_IDENTITY="<certificate name>" -DMEMENTO_BUNDLE=ON -DCMAKE_BUILD_TYPE=Release -DMEMENTO_MECAB_SUPPORT=ON -DMEMENTO_SYSTEM_QCORO=ON ..
cmake --build . --target memento_bundle -j$(sysctl -n hw.ncpu)
Memento/build/src/Memento.app
To build with OCR support, make sure that Python is installed and run:
pip install manga-ocr
Any problems you may have getting manga-ocr installed using pip is beyond the scope of this project.
I wish you the best of luck.
Configure the build with:
cmake .. -DMEMENTO_OCR_SUPPORT=ON
If you want to use a venv, make sure to configure the build with these additional options:
-DPython_EXECUTABLE=/path/to/.venv/bin/python
-DPython_FIND_VIRTUALENV=ONLY
Note: If using -DMEMENTO_SYSTEM_MOCR=ON, make sure that the installed libmocr binary links to your preferred venv by building libmocr using the same -DPython_ options.
Follow the normal build instructions from here.
Most mpv shaders, plugins, and configuration files will work without modification.
It is important to note that mpv and Memento's configuration directories are separate. This means mpv configuration files, scripts, etc. intended to modify Memento's behavior should be placed in Memento's configuration directory.
The Memento configuration directory is located at:
~/.config/memento
%APPDATA%\Local\memento
~/Library/Preferences/memento
If any mpv binds or plugins do not work, please create an issue in the issue tracker.
If you hate Memento, try asbplayer.
mingw-bundledlls.py based on this script with a slightly expanded blacklist
暂无开放 Issues,或尚未同步最近议题。