gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > mpg player?

#99089 - iainprice - Sat Aug 19, 2006 2:56 pm

Anyone working on a software based mpg player?

#99101 - tepples - Sat Aug 19, 2006 3:38 pm

MoonShell can play DPGs, which are MPEG video and MPEG layer 2 audio in a special container.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#99115 - iainprice - Sat Aug 19, 2006 4:33 pm

I'm after some source code to use in my game....

#99118 - tepples - Sat Aug 19, 2006 4:48 pm

MoonShell is free software.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#99271 - iainprice - Sun Aug 20, 2006 11:21 am

I wish to add movie scenes to a game and using a slideshow of jpg is space-consuming.

#99275 - hawk - Sun Aug 20, 2006 12:29 pm

I think what tepples suggested was to take a look at how MoonShell does it... (Look at the MoonShell source code.)

#99282 - iainprice - Sun Aug 20, 2006 2:15 pm

I can't seem to find it.... has anyone got a url?

#99285 - hawk - Sun Aug 20, 2006 2:25 pm

http://mdxonline.dyndns.org/archives/2006/06/moonshell_ver13_18.shtml

Perhaps?

#99291 - iainprice - Sun Aug 20, 2006 2:51 pm

oops I thought that was the binary only, cheers.

#102185 - iainprice - Mon Sep 11, 2006 4:59 pm

Having a few problems trying to weedle out the relevent code from moonshell. Anyone else working on this?

#102191 - OOPMan - Mon Sep 11, 2006 6:17 pm

Doesn't MoonShell have a plugins system of some kind? Maybe you should look there...
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI

You can find my NDS homebrew projects here...

#102226 - Firon - Mon Sep 11, 2006 11:38 pm

MPEG-1 playback isn't a plugin though.

#102260 - OOPMan - Tue Sep 12, 2006 10:54 am

One could always just do a search for an OSS mpeg-1 player and take a look at it's code. I'm sure there are masses of them lying about :-)
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI

You can find my NDS homebrew projects here...

#102267 - Firon - Tue Sep 12, 2006 12:45 pm

Just do what Moonshell did, take libmpeg2 from the ffmpeg project.
Now, if only it could be optimized more so we could get more than 15FPS out of it at good quality... :P

#102276 - OOPMan - Tue Sep 12, 2006 2:46 pm

Har har, you could always recode it in assembler...

or a recruit a team of demo scene monkeys to do it for you...

However, your MPEG decoder would probably be that and that alone :-)


It's probably possible to optimise...


Alternatively we could hope that all the media adapter manufacturers decide that to remain competitive they need to include an on-chip MPEG decoding solution in their next releases :-) (Kinda like the Play-Yan, only homebrew friendly...)
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI

You can find my NDS homebrew projects here...

#102325 - Firon - Wed Sep 13, 2006 12:01 am

Ooh yeah... Get one of those 64KB demo freaks to optimize it. :P