#126786 - alevalli - Thu Apr 26, 2007 4:36 pm
Hello,
I want to play movies (with audio) in PALib. I thought the best way to do this was to extrapolate the DPG related code from Moonshell, but I'm not so much in NDS development, and I found that code quite messy.
Maybe someone with more experience than me can do this, or propose an alternative solution, or has already done something that can be useful for me.
I can pay with money or goods for what I need. I will give details if someone is interested.
Thank you,
Alex
#126787 - tyraen - Thu Apr 26, 2007 5:13 pm
I have nothing meaningful to add...
Quote: |
"I can pay with money or goods..." |
^ Made me lol. :D
#126789 - alevalli - Thu Apr 26, 2007 5:31 pm
:)
I'm not a native english writer.
In my experience in many cases it is much easier to deliver goods (through online stores) than money worldwide.
That's what I meant.
Thank you.
Alex
#126798 - Mollusk - Thu Apr 26, 2007 8:45 pm
That's not in the plans for PAlib ^^ It could be an external lib is someone made it, and I guess your best bet would be using Moonshell...
_________________
PAlib official forum : http://www.palib.info
PAlib official tutorials: http://www.palib.info/wiki
Updates, help, code examples, tutorials, etc...
#126807 - dovoto - Thu Apr 26, 2007 11:27 pm
Do you perhaps have more specific requirements?
_________________
www.drunkencoders.com
#126842 - alevalli - Fri Apr 27, 2007 6:04 am
Mollusk, dovoto, thanks for your posts. It seems that I found the right forum. :)
This is what I do: http://naturalinteraction.org
I'm interested in applying the same kind of interaction design to NDS enabled experiences. The main technical obstacle is the lack of (audio)video playback in PALib.
I try to put down some more specific requirements (take them as a wishlist, I will adjust my needs to what is feasible):
- Playback quality as in Caiman Codec or Moonshell.
- MPEG2 or better compression factor.
- I don't need to handle multiple video and audio codecs, one single combination is fine.
- I need the source code.
- No problem if the code goes open source then...
- Resolution up to 256x192 pixels.
- Not less than 16 fps for fullscreen playback, 20 would be better
- C functions compatible with the last PALib distro, to open/play/pause/close movie
- Guidelines to encode audio and video (on Windows) so that it does not saturate the CPU when playing back at fullscreen (bitrate etc.).
- setVolume to fade in and out audio when needed
- I will put my movies on a R4 Revolution, DLDI support would be great
- Functions to play the movie fullscreen on one of the screens and to provide the uncompressed framebuffer to a 3D sprite texture
As you can see, DPG functionalities in Moonshell cover most of these points (as far as I can say). I can go in further detail if needed.
Yours faithfully,
Alex
#126851 - melw - Fri Apr 27, 2007 10:10 am
Well, DPG and Moonshell are opensource. But as said, the Moonshell sources aren't very readable, and using DPG format outside Moonshell would require some amounts of work. However if someone made an external lib of DPG, that would be ace. Not just for PALib but for any homebrew development. If you're not up for it, keep asking around in the development community or directly from Moonlight (the author of Moonshell).
#126861 - alevalli - Fri Apr 27, 2007 2:42 pm
I asked it to the author of Moonshell, with the simplest english words I could find, and he kindly answered "Sorry I don't know english" and redirected me to this forum...
If someone can translate to japanese my request...
Alex
#126871 - Mollusk - Fri Apr 27, 2007 6:47 pm
I don't think PAlib is a good choice to do this. It might need some major optimisations, so you'll want 100% control over what you do...
_________________
PAlib official forum : http://www.palib.info
PAlib official tutorials: http://www.palib.info/wiki
Updates, help, code examples, tutorials, etc...
#126875 - alevalli - Fri Apr 27, 2007 7:03 pm
I mean, this must not be done in PALib, it should just *coexist* with PALib, even accepting some limitations (e.g. no other disk access during movie playback...) and tradeoffs... do you think this is unfeasible even in this case?
Thank you so much for your work!
:)
Alex
#126877 - Mollusk - Fri Apr 27, 2007 7:06 pm
It is always possible to have them coexist. Just that checking the video makes me wonder what exactly you want to do on DS ^^
_________________
PAlib official forum : http://www.palib.info
PAlib official tutorials: http://www.palib.info/wiki
Updates, help, code examples, tutorials, etc...
#126878 - alevalli - Fri Apr 27, 2007 7:38 pm
Which movie? There are about fifty movies documenting projects on http://naturalinteraction.org ...
Basically, I just want to have some fun, and explore the capabilities of the DS...
Some people love making games, others love coding music apps... I love doing research on these principles (http://naturalinteraction.org/images/whitepaper.pdf)...
#126879 - Mollusk - Fri Apr 27, 2007 7:40 pm
Well, if that's the case, great ^^ But as PAlib is very formatted towards doing simple 2D stuff, you won't actually be exploring the DS's full capacities with it ^^
_________________
PAlib official forum : http://www.palib.info
PAlib official tutorials: http://www.palib.info/wiki
Updates, help, code examples, tutorials, etc...
#126884 - alevalli - Fri Apr 27, 2007 8:45 pm
I need an entry point... and I think PALib is a very good entry point...
...and I need someone able to extrapolate that DPG code... ;)
Alex
#126909 - HyperHacker - Sat Apr 28, 2007 12:34 am
Since you're willing to pay, I get the feeling you're planning to eventually get this published. If so, you should know that Nintendo requires games to use their provided ARM7 binary, and Moonshell uses the ARM7 to decode DPG audio because the ARM9 can't do it and video at the same time.
_________________
I'm a PSP hacker now, but I still <3 DS.
#126912 - tepples - Sat Apr 28, 2007 12:43 am
HyperHacker wrote: |
Since you're willing to pay, I get the feeling you're planning to eventually get this published. If so, you should know that Nintendo requires games to use their provided ARM7 binary, and Moonshell uses the ARM7 to decode DPG audio because the ARM9 can't do it and video at the same time. |
That is, unless some variant of the official ARM7 binary includes some variant of audio decompression, or unless the movie player is modified to use a sequenced soundtrack (as is the case on a few PS1 games).
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#126919 - alevalli - Sat Apr 28, 2007 12:59 am
Hello Hyper! It's 2am here... I hope to write correctly. I don't wish to publish. So this is not an issue.
By the way, I'd like to pay a few hundred bucks, not thousands, just to be clear... (for a full fledged -is this the correct word?- solution)
Thank you for your hint,
Alex