Hi
This is now complete.
See the link at the end to get the module with source code.
It has been tested on Windows, Linux and MAC and no problems have been detected yet.
Each module (contains YUV module too) is fully documented and there are clear examples in the archive as well.
commandset
OpenMPEG
DrawMPEG
PauseMPEG
StartMPEG
CloseMPEG
MPEGwidth
MPEGheight
mpeg.sync = true - if set to false then the movie will play as fast as possible.
mpeg.color = true - if set to false then movie will be in greyscale
Have fun...
PS If you find your mpeg files do not play. There is something wrong with the packets inside your movie. I am looking into this.. but in the meantime if you use the following for ffmpeg, it will fix the packet issue.
This is now complete.
See the link at the end to get the module with source code.
It has been tested on Windows, Linux and MAC and no problems have been detected yet.
Each module (contains YUV module too) is fully documented and there are clear examples in the archive as well.
commandset
OpenMPEG
DrawMPEG
PauseMPEG
StartMPEG
CloseMPEG
MPEGwidth
MPEGheight
mpeg.sync = true - if set to false then the movie will play as fast as possible.
mpeg.color = true - if set to false then movie will be in greyscale
Have fun...
PS If you find your mpeg files do not play. There is something wrong with the packets inside your movie. I am looking into this.. but in the meantime if you use the following for ffmpeg, it will fix the packet issue.
ffmpeg -i <input file> -vcodec mpegvideo -f mpeg2video -b <bitrate> output.mpg