cubicibo
16th May 2023, 22:31
ScenariStream is a small python utility to do bidirectional conversion between proprietary Scenarist project files (MUI+xES) and raw stream files like SUP/PGS and MNU/IGS and probably others.
With this tool, it is now possible to import custom SUP files into Scenarist. Conversely, it allows to reuse Scenarist generated assets in other tools like BDEdit. It is 100% bijective and preserve all data and timestamps.
E.g. you can now use SUPer (https://forum.doom9.org/showthread.php?t=184075) to generate advanced SUP files and import them in Scenarist!
Limitations:
- Timestamp wrap-around is not implemented. You should not try to convert files with durarions longer than 4 hours or so.
- TextST support is possible but voluntarily blocked. I don't know how are structured raw TextST stream files.
- Only Scenarist MUI for graphic props are allowed (PGS, TextST, IGS…) but maybe other MUI assets (audio, video) work as well.
Download:
http://github.com/cubicibo/ScenariStream
Usage:
python3 client.py PARAMETERS -o output_file
-s --stream <file>: Input raw stream file (SUP-PGS or MNU-IGS).
-x --xes <file>: Input Scenarist Elementary Stream file (PES or IES).
-m --mui <file>: Input Scenarist MUI file. Compulsory with xES, else empty!
-o --output <file>: output file. The output format is inferred from the extension.
For Scenarist output, give only the xES file. The MUI file is automatically written aside with the ".mui" appended.
I don't have Scenarist, so testing, sample files and feedback is much appreciated! :)
Enjoy!
With this tool, it is now possible to import custom SUP files into Scenarist. Conversely, it allows to reuse Scenarist generated assets in other tools like BDEdit. It is 100% bijective and preserve all data and timestamps.
E.g. you can now use SUPer (https://forum.doom9.org/showthread.php?t=184075) to generate advanced SUP files and import them in Scenarist!
Limitations:
- Timestamp wrap-around is not implemented. You should not try to convert files with durarions longer than 4 hours or so.
- TextST support is possible but voluntarily blocked. I don't know how are structured raw TextST stream files.
- Only Scenarist MUI for graphic props are allowed (PGS, TextST, IGS…) but maybe other MUI assets (audio, video) work as well.
Download:
http://github.com/cubicibo/ScenariStream
Usage:
python3 client.py PARAMETERS -o output_file
-s --stream <file>: Input raw stream file (SUP-PGS or MNU-IGS).
-x --xes <file>: Input Scenarist Elementary Stream file (PES or IES).
-m --mui <file>: Input Scenarist MUI file. Compulsory with xES, else empty!
-o --output <file>: output file. The output format is inferred from the extension.
For Scenarist output, give only the xES file. The MUI file is automatically written aside with the ".mui" appended.
I don't have Scenarist, so testing, sample files and feedback is much appreciated! :)
Enjoy!