- MPEG2 player for casio prizm
- 13 Apr 2014 04:05:59 pm
- Last edited by ProgrammerNerd on 06 Oct 2017 02:52:13 pm; edited 4 times in total
This is a MPEG2 player based on libmpeg2.
The source code can be found at https://github.com/ComputerNerd/Casio-prizm-mpeg2-player
You can download the file here https://github.com/ComputerNerd/Casio-prizm-mpeg2-player/raw/master/mpegtest.g3a
The latest version is 1.031 which fixes a scaling bug that causes some pixels to be ignored.
Version 1.3 fixed an issue on real hardware where the screen would get corrupt. It is highly recommend that you run the latest version. Running 1.2 or older is a bad choice.
To use this program you will see a file browser
I have it set to show *.m2v files because there is no audio but it may play mpeg2 with audio (untested) but it will be ignored
As for what resolution you should make the video I would not go over half of screen resolution it should support 384x216 maximum but malloc errors are encountered
While the video is playing press exit to go back to the file browser if you want to do such.
In the readme I have included compiling instructions if you are interested in using libmpeg2 in one of your own projects.
To encode video I used
the following avisynth script
AviSource("FILE PATH HERE")
BilinearResize(176,96)
ChangeFPS(128,13)
AssumeFPS("ntsc_video")
ConvertToYV12()
To encode the video I used HC encoder http://hank315.nl/
There are some settings that you should be aware of please use 1:1 ratio for pixels
Also if you want height to be a multiple of 16 instead of 32 make sure progress sequence is checked (In settings 2)
Icon from http://www.pubzi.com/f/Movie-icon.svg
The source code can be found at https://github.com/ComputerNerd/Casio-prizm-mpeg2-player
You can download the file here https://github.com/ComputerNerd/Casio-prizm-mpeg2-player/raw/master/mpegtest.g3a
The latest version is 1.031 which fixes a scaling bug that causes some pixels to be ignored.
Version 1.3 fixed an issue on real hardware where the screen would get corrupt. It is highly recommend that you run the latest version. Running 1.2 or older is a bad choice.
To use this program you will see a file browser
I have it set to show *.m2v files because there is no audio but it may play mpeg2 with audio (untested) but it will be ignored
As for what resolution you should make the video I would not go over half of screen resolution it should support 384x216 maximum but malloc errors are encountered
While the video is playing press exit to go back to the file browser if you want to do such.
In the readme I have included compiling instructions if you are interested in using libmpeg2 in one of your own projects.
To encode video I used
the following avisynth script
AviSource("FILE PATH HERE")
BilinearResize(176,96)
ChangeFPS(128,13)
AssumeFPS("ntsc_video")
ConvertToYV12()
To encode the video I used HC encoder http://hank315.nl/
There are some settings that you should be aware of please use 1:1 ratio for pixels
Also if you want height to be a multiple of 16 instead of 32 make sure progress sequence is checked (In settings 2)
Icon from http://www.pubzi.com/f/Movie-icon.svg