MP_STE updated with manual

All about the serious stuff.

Moderators: Mug UK, Zorro 2, Moderator Team

Post Reply
Moulinaie
Atari Super Hero
Atari Super Hero
Posts: 517
Joined: Wed Feb 01, 2012 9:34 pm

MP_STE updated with manual

Post by Moulinaie »

Hi all,

I have been working a bit on MP_STE, (M_PLAYER for the ST(e) computers), and here is version 3.00:
- plays AVI/MOV with sound, FLI/FLC/FLH, GIF, FLM
- can convert animations to the Extended FLM format + sound that is very fast on Atari.

I have started to write the PDF user manual in english.
Everything is on my page:

(français) https://gtello.pagesperso-orange.fr/mpste_f.htm
(english) https://gtello.pagesperso-orange.fr/mpste_e.htm
main_avi.png
Guillaume.
You do not have the required permissions to view the files attached to this post.
CiH
Atari God
Atari God
Posts: 1186
Joined: Wed Feb 11, 2004 4:34 pm
Location: Middle Earth (Npton) UK
Contact:

Re: MP_STE updated with manual

Post by CiH »

Ooh nice one!

M_Player is an essential piece of software on my Falcon.

I have an STE with oodles of Ultrasatan diskspace so time for a play perhaps.

Thank you for your continued support of the Atari scene. 😊
"Where teh feck is teh Hash key on this Mac?!"
User avatar
AtariCrypt
Captain Atari
Captain Atari
Posts: 448
Joined: Fri Mar 14, 2014 5:04 pm
Location: Lancashire, England
Contact:

Re: MP_STE updated with manual

Post by AtariCrypt »

Fantastic news Guillaume and a thank you also from me for supporting the Atari :)
AtariCrypt - Atari ST gaming website
https://ataricrypt.blogspot.com
marss
Captain Atari
Captain Atari
Posts: 229
Joined: Thu Nov 07, 2002 12:29 pm

Re: MP_STE updated with manual

Post by marss »

Thanks 😁
Moulinaie
Atari Super Hero
Atari Super Hero
Posts: 517
Joined: Wed Feb 01, 2012 9:34 pm

Re: MP_STE updated with manual

Post by Moulinaie »

CiH wrote: Sat Jan 08, 2022 4:02 pm Ooh nice one!

M_Player is an essential piece of software on my Falcon.

I have an STE with oodles of Ultrasatan diskspace so time for a play perhaps.
Unused space is heresy !
:-)

Guillaume.
Moulinaie
Atari Super Hero
Atari Super Hero
Posts: 517
Joined: Wed Feb 01, 2012 9:34 pm

Re: MP_STE updated with manual

Post by Moulinaie »

AtariCrypt wrote: Sat Jan 08, 2022 4:05 pm Fantastic news Guillaume and a thank you also from me for supporting the Atari :)
Many thanks to you!

I found some other interesting systems, but the TOS environment with its 68k CPU is a real pleasure across the years!

Guillaume.
TXG/MNX
Captain Atari
Captain Atari
Posts: 239
Joined: Fri Oct 24, 2003 10:05 am

Re: MP_STE updated with manual

Post by TXG/MNX »

Is mplayer written in C or pure asm code ?
Moulinaie
Atari Super Hero
Atari Super Hero
Posts: 517
Joined: Wed Feb 01, 2012 9:34 pm

Re: MP_STE updated with manual

Post by Moulinaie »

TXG/MNX wrote: Mon Jan 10, 2022 6:41 pm Is mplayer written in C or pure asm code ?
Hello,

Both M_PLAYER and MP_STE are written in ASM using ASSEMBLE(Brainstorm).
It's a wonderful and fast SDK.
For example, M_PLAYER has a source of more than 800 kB, and some parts are repeated during compilation with some parameters that vary.
On my old TT, it compiles in 10 seconds.

Guillaume.
uko
Atari maniac
Atari maniac
Posts: 89
Joined: Sun Aug 25, 2019 6:45 pm
Location: France

Re: MP_STE updated with manual

Post by uko »

Moulinaie wrote: Mon Jan 10, 2022 7:01 pm Both M_PLAYER and MP_STE are written in ASM using ASSEMBLE(Brainstorm).
I really enjoyed ASSEMBLE in the old times. It is few mentioned, I wonder if many developers used it.
David aka Uko, from T.AL
Take a look at our last STe demo ! The Star Wars Demo and to its "making of"
https://github.com/Uko-TAL
Moulinaie
Atari Super Hero
Atari Super Hero
Posts: 517
Joined: Wed Feb 01, 2012 9:34 pm

Re: MP_STE updated with manual

Post by Moulinaie »

uko wrote: Mon Jan 10, 2022 8:27 pm
Moulinaie wrote: Mon Jan 10, 2022 7:01 pm Both M_PLAYER and MP_STE are written in ASM using ASSEMBLE(Brainstorm).
I really enjoyed ASSEMBLE in the old times. It is few mentioned, I wonder if many developers used it.
It has good capabilities:
- most of the time you don't have to link, a one pass compiler is enough to generate the PRG
- it can output OBJ files for Pure C
- the debug infos is usable with Pure Debugger
- text effects on the source code (opcodes bold, comments grey, etc)
- inline help with the full instruction set
- very fast

Guillaume.
MM41
Captain Atari
Captain Atari
Posts: 152
Joined: Sun Jun 28, 2015 2:36 pm
Location: France

Re: MP_STE updated with manual

Post by MM41 »

Thanks Guillaume :)
dbsys
Atari Super Hero
Atari Super Hero
Posts: 624
Joined: Fri Aug 31, 2012 6:11 am
Location: Germany

Re: MP_STE updated with manual

Post by dbsys »

Wow, that's incredible. Thank you!
MegaSTEarian
Atari Super Hero
Atari Super Hero
Posts: 506
Joined: Tue Aug 18, 2020 5:23 pm

Re: MP_STE updated with manual

Post by MegaSTEarian »

Amazing work, thanks!
User avatar
Eero Tamminen
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2531
Joined: Sun Jul 31, 2011 1:11 pm

Re: MP_STE updated with manual

Post by Eero Tamminen »

Amazing indeed!

I noticed that it does not support MPEG, but would small MPEG v1 files be light-weight enough?

I have some old Pov-Ray renders which are in that format, for example this:
heart.zip
You do not have the required permissions to view the files attached to this post.
User avatar
viking272
Atari Super Hero
Atari Super Hero
Posts: 619
Joined: Mon Oct 13, 2008 12:50 pm
Location: west of London, UK

Re: MP_STE updated with manual

Post by viking272 »

Eero Tamminen wrote: Fri Jan 21, 2022 8:48 pm I have some old Pov-Ray renders which are in that format, for example this: heart.zip
Windows Media Player can't play that mpeg!
WinMedia Heart Error.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Eero Tamminen
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2531
Joined: Sun Jul 31, 2011 1:11 pm

Re: MP_STE updated with manual

Post by Eero Tamminen »

Eero Tamminen wrote: Fri Jan 21, 2022 8:48 pm I noticed that it does not support MPEG, but would small MPEG v1 files be light-weight enough?

I have some old Pov-Ray renders which are in that format, for example this: heart.zip
I tried converting that 160x128 video to many formats with FFmpeg in Debian stable. Of those, three worked in MP_STE:

Code: Select all

$ ffmpeg -i heart.mpg -vcodec qtrle heart.mov
$ ffmpeg -i heart.mpg -vcodec msvideo1 heart.avi  # CRAM
$ ffmpeg -i heart.mpg heart.gif
Sizes:
  • MPEG-1: 16 KiB (original)
  • MS-Video 1: 27 KiB
  • GIF: 56 KiB
  • RLE: 500 KiB
Both RLE (mov) and MS-Video1 (avi) formats had bad rendering artifacts in MP_STE though (latter is attached to next posting).

GIF played fine, and supported looping which makes the animation look good (when running STE with Hatari fast-forward). It was hard to get out of that looping though. MP_STE looped multiple times through the video before it reacted to any keyboard or mouse click to interrupt the looping.

PS. What would be the best FFmpeg encoding options to use for MP_STE?
Last edited by Eero Tamminen on Fri Jan 21, 2022 10:15 pm, edited 1 time in total.
User avatar
Eero Tamminen
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2531
Joined: Sun Jul 31, 2011 1:11 pm

Re: MP_STE updated with manual

Post by Eero Tamminen »

viking272 wrote: Fri Jan 21, 2022 9:55 pm Windows Media Player can't play that mpeg!
Not supporting MPEG-1 seems a bit odd, but here's the same file in MS Video 1 format (again zipped so that forum does not reject it):
heart.zip
You do not have the required permissions to view the files attached to this post.
User avatar
viking272
Atari Super Hero
Atari Super Hero
Posts: 619
Joined: Mon Oct 13, 2008 12:50 pm
Location: west of London, UK

Re: MP_STE updated with manual

Post by viking272 »

Ah my deault player is the Microsoft Films and TV player, which can't play MPG/AVI ... However, MS Media Player does work for both the MPG and AVI.
Sorry for bring Windoze into this conversation :-)
Moulinaie
Atari Super Hero
Atari Super Hero
Posts: 517
Joined: Wed Feb 01, 2012 9:34 pm

Re: MP_STE updated with manual

Post by Moulinaie »

Eero Tamminen wrote: Fri Jan 21, 2022 8:48 pm Amazing indeed!

I noticed that it does not support MPEG, but would small MPEG v1 files be light-weight enough?

I have some old Pov-Ray renders which are in that format, for example this: heart.zip
Hello !

Thanks for using MP_STE!

Here is what I did :

With M_PLAYER I can open your HEAR.MPG file and turn it into a AVI RLE8.
Then with MP_STE I can convert this AVI into a color FLM that is smoothly replayed by the player. Even on a real STE.

I give you the files...

Guillaume.
You do not have the required permissions to view the files attached to this post.
User avatar
Eero Tamminen
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2531
Joined: Sun Jul 31, 2011 1:11 pm

Re: MP_STE updated with manual

Post by Eero Tamminen »

Moulinaie wrote: Sat Jan 22, 2022 7:22 am With M_PLAYER I can open your HEAR.MPG file and turn it into a AVI RLE8.
Then with MP_STE I can convert this AVI into a color FLM that is smoothly replayed by the player. Even on a real STE.
Thanks, they play smooth indeed, and RLE sizes are much smaller than with FFmpeg! (I guess FFmpeg RLE format has too many bits)

That video is supposed to be played with looping. Can M_PLAYER conversion specify that the video should be looped, or could looping option be added to MP_STE?

FLM version also had some odd artifacts on the left side of the video.
Moulinaie
Atari Super Hero
Atari Super Hero
Posts: 517
Joined: Wed Feb 01, 2012 9:34 pm

Re: MP_STE updated with manual

Post by Moulinaie »

Eero Tamminen wrote: Wed Jan 26, 2022 5:11 pm
Thanks, they play smooth indeed, and RLE sizes are much smaller than with FFmpeg! (I guess FFmpeg RLE format has too many bits)

That video is supposed to be played with looping. Can M_PLAYER conversion specify that the video should be looped, or could looping option be added to MP_STE?

FLM version also had some odd artifacts on the left side of the video.
Maybe FFmpeg FLE is in 24 bits...!

For repetition: on the main panel of MP_STE, you have a "R" button in the upper right corner. If you enable it, then the video repeats.

I didn't see the problems on the left side of the video. Is it with a real STE? An emulator? I'll try o reproduce this.

Guillaume.
User avatar
Eero Tamminen
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2531
Joined: Sun Jul 31, 2011 1:11 pm

Re: MP_STE updated with manual

Post by Eero Tamminen »

Moulinaie wrote: Wed Jan 26, 2022 5:25 pm Maybe FFmpeg FLE is in 24 bits...!
Yeah, that's what I was thinking.
Moulinaie wrote: Wed Jan 26, 2022 5:25 pm For repetition: on the main panel of MP_STE, you have a "R" button in the upper right corner. If you enable it, then the video repeats.
Ah, that's nice. Looping works fine, thanks!
Moulinaie wrote: Wed Jan 26, 2022 5:25 pm I didn't see the problems on the left side of the video. Is it with a real STE? An emulator? I'll try o reproduce this.
Latest Hatari Git version. I think it's clearly a video conversion artifact, not related to playback:
grab0001.png
Maybe there's some issue e.g. with M_PLAYER dither matrix content e.g. wrapping in the conversion?

PS. When I tested the repeat / looping option, I did notice something that is a playback issue (rather than conversion one). One every loop, there's a single frame where drawing glitches, the heart shows partly black (it happens when heart is growing, not when the video repeats from beginning). How the glitching frame looks like, can differ a bit, sometimes there's a large black square in the middle of the heart, sometimes lower part of it is missing:
grab0005.png
It looks like Vsync() / page-flipping on a larger update of the image happened at wrong time, before the update was complete.
You do not have the required permissions to view the files attached to this post.
Moulinaie
Atari Super Hero
Atari Super Hero
Posts: 517
Joined: Wed Feb 01, 2012 9:34 pm

Re: MP_STE updated with manual

Post by Moulinaie »

Eero Tamminen wrote: Sat Jan 29, 2022 4:51 pm

PS. When I tested the repeat / looping option, I did notice something that is a playback issue (rather than conversion one). One every loop, there's a single frame where drawing glitches, the heart shows partly black (it happens when heart is growing, not when the video repeats from beginning). How the glitching frame looks like, can differ a bit, sometimes there's a large black square in the middle of the heart, sometimes lower part of it is missing:
grab0005.png

It looks like Vsync() / page-flipping on a larger update of the image happened at wrong time, before the update was complete.
When repeating, the buffer is cleared at every start, and sure... I don't use Vsync(), so the screen can be redrawing the lower part as MP_STE is clearing it !

Oops...

Guillaume
User avatar
Eero Tamminen
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2531
Joined: Sun Jul 31, 2011 1:11 pm

Re: MP_STE updated with manual

Post by Eero Tamminen »

As STE is unlikely to be able to reach FPS set in the video itself, and even in many videos that is likely to be lower than Atari update freq, I do not think using Vsync would be slowing replay noticeably. :-)
Post Reply

Return to “Applications”