Tools for parsing bluray IGS menus
Parser and decoder are ported from two libav patches. Credits to David Girault.
Python 3.3 or later is required.
Using pip to install is recommended:
pip install https://github.com/SAPikachu/igstools/archive/master.zip
Alternatively, you can also clone this repository, and run:
setup.py install
You need to manually install pypng if you use this method though.
Currently, only 1 tool is available: igstopng
To use it, first use BDedit to extract IGS menu file (*.mnu) from your M2TS file, then run:
igstopng your.mnu
Note: As of 0.9.3, igstopng
supports directly exporting from M2TS file.
The speed is slower, but sometimes BDedit
exports corrupted menu file and you may get correct result from direct export.
All menu pages will be exported alongside the menu file. For every page, 6 states (normal/selected/activated multiplied with start/stop) of buttons will be exported to 6 different page images. (This may be changed in the future since it is rather messed up and unnecessary)
Note: If the command above doesn't work on Windows, try this:
py -3 -migstools your.mnu
The tool is very slow, it may take 3 ~ 5 seconds to extract a single menu page. If someone finds it useful I may try to optimize it...