MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

Naibo
Reged: 10/17/07
Posts: 148
Send PM


Help, Mpeg decoder hardware emulation
#193331 - 06/15/09 12:04 AM


Hi, I'm working on a Jaleco's music game driver: VJ, which plays full motion video (*.mpv file) from its hard disk.

I'm wondering whether I should write MPEG decoding routine for this driver. Does MAME have a general MPEG playback code?
How do some SEGA ST_V games play FMV?

:-)



Lord Nightmare
Speech Synth Berzerker
Reged: 03/08/04
Posts: 855
Loc: PA, USA
Send PM


MPEG patent issues new [Re: Naibo]
#193342 - 06/15/09 05:55 AM


> Hi, I'm working on a Jaleco's music game driver: VJ, which plays full motion video
> (*.mpv file) from its hard disk.
>
> I'm wondering whether I should write MPEG decoding routine for this driver. Does MAME
> have a general MPEG playback code?
> How do some SEGA ST_V games play FMV?
>
> :-)

MPEG decoding in MAME is currently sort of taboo due to mpeg patents, from what I hear.
Once the MPEG patents expire (in 2011 iirc) it will certainly be added.

LN



"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9713
Loc: ECV-197 The Orville
Send PM


Re: MPEG patent issues new [Re: Lord Nightmare]
#193401 - 06/15/09 09:17 PM


> MPEG decoding in MAME is currently sort of taboo due to mpeg patents, from what I
> hear.
> Once the MPEG patents expire (in 2011 iirc) it will certainly be added.

2018 for MPEG audio. Not sure which ones would cover a video-only implementation.

Saturn and ST-V games use a custom encoder for FMV (often Duck TrueMotion). The system isn't powerful enough to decode true MPEG without add-on hardware (which the Bass Fishing games use).



Phil Bennett
L'Emuchat
Reged: 04/20/04
Posts: 888
Send PM


Re: MPEG patent issues new [Re: R. Belmont]
#193414 - 06/15/09 11:42 PM


> > MPEG decoding in MAME is currently sort of taboo due to mpeg patents, from what I
> > hear.
> > Once the MPEG patents expire (in 2011 iirc) it will certainly be added.
>
> 2018 for MPEG audio. Not sure which ones would cover a video-only implementation.
>
> Saturn and ST-V games use a custom encoder for FMV (often Duck TrueMotion). The
> system isn't powerful enough to decode true MPEG without add-on hardware (which the
> Bass Fishing games use).

Some research into active patents relating to MPEG-1:

http://www.kuro5hin.org/story/2008/7/18/232618/312



Lord Nightmare
Speech Synth Berzerker
Reged: 03/08/04
Posts: 855
Loc: PA, USA
Send PM


Re: MPEG patent issues new [Re: Phil Bennett]
#193427 - 06/16/09 01:56 AM


> > > MPEG decoding in MAME is currently sort of taboo due to mpeg patents, from what I
> > > hear.
> > > Once the MPEG patents expire (in 2011 iirc) it will certainly be added.
> >
> > 2018 for MPEG audio. Not sure which ones would cover a video-only implementation.
> >
> > Saturn and ST-V games use a custom encoder for FMV (often Duck TrueMotion). The
> > system isn't powerful enough to decode true MPEG without add-on hardware (which the
> > Bass Fishing games use).
>
> Some research into active patents relating to MPEG-1:
>
> http://www.kuro5hin.org/story/2008/7/18/232618/312

Looks to me like mpeg-1 will be COMPLETELY patent free in dec 2012, mpeg-2 probably in 2018, and mpeg-3 around 2025.
Some patents in the context that mame or other programs may need to implement them may expire eariler, since the patent that expires last may not contain anything different relevant to mame/other programs from the ones which expire earlier.

LN



"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"



Naibo
Reged: 10/17/07
Posts: 148
Send PM


Re: MPEG patent issues new [Re: R. Belmont]
#193450 - 06/16/09 07:10 AM


> Saturn and ST-V games use a custom encoder for FMV (often Duck TrueMotion). The
> system isn't powerful enough to decode true MPEG without add-on hardware (which the
> Bass Fishing games use).

Yes, I mean the add-on hardware decoder for ST-V Fishing game. Does MAME emulate this add-on decoder with a general MPEG program module?

BTW, is it practicable to modify PlayStation MDEC emulation module for MPEG playing back?

:-)



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9713
Loc: ECV-197 The Orville
Send PM


Re: MPEG patent issues new [Re: Naibo]
#193480 - 06/16/09 06:38 PM


> Yes, I mean the add-on hardware decoder for ST-V Fishing game. Does MAME emulate this
> add-on decoder with a general MPEG program module?

Nope. MAME doesn't even boot those games because my HLE of the CD block sucks (need the SH-1 decapped).

> BTW, is it practicable to modify PlayStation MDEC emulation module for MPEG playing
> back?

Nope. It's a much simpler scheme so that Sony could avoid patent royalties. PS2's ITU is real MPEG/MPEG2 though.



Kale
Il Sindaco
Reged: 09/26/03
Posts: 155
Loc: Naples, Italy
Send PM


Re: MPEG patent issues new [Re: R. Belmont]
#194074 - 06/23/09 07:42 PM


> > Yes, I mean the add-on hardware decoder for ST-V Fishing game. Does MAME emulate
> this
> > add-on decoder with a general MPEG program module?
>
> Nope. MAME doesn't even boot those games because my HLE of the CD block sucks (need
> the SH-1 decapped).
>

Isn't it mainly because the roms are undumped and maybe the BIOS used isn't even the correct one for the current versions? :P


Code:


ROM_LOAD( "epr18427.bin", 0x0000000, 0x0100000, CRC(3f25bec8) SHA1(43a5342b882d5aec0f35a8777cb475659f43b1c4) )
ROM_LOAD16_WORD_SWAP( "mpr18273.ic2", 0x0400000, 0x0200000, NO_DUMP )
ROM_LOAD16_WORD_SWAP( "mpr18274.ic3", 0x0800000, 0x0200000, NO_DUMP )
ROM_LOAD16_WORD_SWAP( "mpr18275.ic4", 0x0c00000, 0x0200000, NO_DUMP )
[...]
ROM_LOAD16_WORD_SWAP( "mpr18273.ic2", 0x0400000, 0x0200000, NO_DUMP )
ROM_LOAD16_WORD_SWAP( "mpr18274.ic3", 0x0800000, 0x0200000, NO_DUMP )



Edited by Kale (06/23/09 07:42 PM)



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9713
Loc: ECV-197 The Orville
Send PM


Re: MPEG patent issues new [Re: Kale]
#194206 - 06/24/09 06:58 PM


> Isn't it mainly because the roms are undumped and maybe the BIOS used isn't even the
> correct one for the current versions? :P

Those things aren't helping, but AFAIK last time I looked they were issuing a bunch of CD block commands and then dying.


Pages: 1

MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Pi 
0 registered and 4 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 5099