#64172 - FloFri - Tue Dec 20, 2005 12:09 am
Hi!
I have ported the new Movieplayer from Moonshell to the GBAMP. Its only a first step. The audio is much too slow (I think this is because two file-handles are accessing the movie file (one for audio and one for video)).
The main changes are in the main.cpp, cstream.cpp and cstream.h of the arm9 source.
The player is written, as a plugin for the MightyMax Bootloader (the plugin-files are in the mb_data directory).
Maybe someone can do the second step and can fix the problem with audio :)
Here is the code and the compliled plugin:
http://www.hooster.de/dpgtest-gbamp.zip
Greetings
FloFri
#64181 - Durandle - Tue Dec 20, 2005 12:35 am
Where have you defined what filename/path it looks for, cos I can't find it any more.
#64182 - FloFri - Tue Dec 20, 2005 12:44 am
In the Arm9 main.cpp.
Line 140
Code: |
openstream(((const char *)0x027FF810)); |
The parameter is the filename (the MightyMax bootloader sets the name to the dpg-file at this address, so you have to change this to a static filename if you dont use the movieplayer as a MightyMax plugin).
#64183 - Durandle - Tue Dec 20, 2005 12:47 am
Aah ok. I know nothing about the loader so it confused me :P thanks. Was thinking it *should* work on the M3 using the FAT libs.
#64184 - Durandle - Tue Dec 20, 2005 12:51 am
Ah and also worth noting, the *new* version of the player released today fixes the audio bug - maybe worth updating yours with the new code.
#64249 - Mr. Picklesworth - Tue Dec 20, 2005 5:14 pm
Does it stream now, instead of being one big .nds file?
_________________
Thanks!
MKDS Friend Code: 511165-679586
MP:H Friend Code: 2105 2377 6896
#64253 - Durandle - Tue Dec 20, 2005 5:47 pm
This version does, the original does not. If you want to use this version on the M3 you have to edit a tiny line of code. However, until this version is updated to work with the new code which just came out that fixes the stuttery sound issue then theres not much point.
#64254 - El Hobito - Tue Dec 20, 2005 5:53 pm
i wouldnt spend to much time on it flofri i'd imagine it'll be official in the not too distant future
#64349 - Chetic - Wed Dec 21, 2005 3:58 pm
I actually managed to make it play videos on the top screen and info on the bottom :D
I could actually watch like a music video or something with this now.
This is really cool!
_________________
Packin':
Grey DS with FlashMe v7
1Gbit XG2T 2005 (Neoflash compatible)
GBAMP, Supercard CF, 512Mb Magic Key 3 and EZFA 256Mbit
#64369 - FloFri - Wed Dec 21, 2005 7:45 pm
Durandle wrote: |
This version does, the original does not. If you want to use this version on the M3 you have to edit a tiny line of code. However, until this version is updated to work with the new code which just came out that fixes the stuttery sound issue then theres not much point. |
It seems, that the code of the new version is not released!
Chetic wrote: |
I actually managed to make it play videos on the top screen and info on the bottom :D
I could actually watch like a music video or something with this now.
This is really cool! |
Have you found the problem with the audio?
#64370 - Durandle - Wed Dec 21, 2005 7:53 pm
ah well, I think the next release will be a big one, reading Moonlight's (i think thats the name he uses) site it seems he is working on skipping through movies (looks like hes just making it jump chunks) but also seems it can take a long time to skip due to slow data-rates.
I think skipping, black borders (when using wide screen the borders are white) and the ability to change screen by presing a button would make this almost perfect.
There is however still and error that causes it to crash after a few minutes (4min 50seconds for me) of playing, but I'm sure this can be fixed.
aaaand I'm thinking of setting up a hombrew only website where people can host projects with feedback/message boards per project... sound like a good idea or waste of time?
#64371 - FireSlash - Wed Dec 21, 2005 8:05 pm
Durandle wrote: |
aaaand I'm thinking of setting up a hombrew only website where people can host projects with feedback/message boards per project... sound like a good idea or waste of time? |
Been considering this for a while... can't find enough of an interest in the community to merit coding one :P
_________________
FireSlash.net
#64396 - Durandle - Wed Dec 21, 2005 11:48 pm
true, there seem to be a few select people making anything homebrew. And I suppose its also true that there's only a tiny percentage of people who can even run homebrew.
#64410 - Darkflame - Thu Dec 22, 2005 3:38 am
The number of DS users is increaseing rapidly, and homebrew users go up naturely as a percent of that.
An international site where people can host projects would be a great idea, imo. Purhapes allowing developers to set up polls. ("which feature is most important" ect).
I wouldnt be supprised if there was about 100-200 active people working on homebrew worldwide, with about 10,000-20,000 potential users.
The key, however, is getting them all together ;)
#64444 - Darkflame - Thu Dec 22, 2005 1:06 pm
btw, this video player works fine for me! :)
The little 10 second test I converted turned out very well.
#64456 - Chetic - Thu Dec 22, 2005 4:08 pm
FloFri wrote: |
Have you found the problem with the audio? |
No no, I have no such skills.
Darkflame wrote: |
btw, this video player works fine for me! :)
The little 10 second test I converted turned out very well. |
Not at resolution 256x192 though, I presume
_________________
Packin':
Grey DS with FlashMe v7
1Gbit XG2T 2005 (Neoflash compatible)
GBAMP, Supercard CF, 512Mb Magic Key 3 and EZFA 256Mbit
#64458 - Durandle - Thu Dec 22, 2005 5:31 pm
Hm at 256*192 it runs just great normally. Not had a problem.
#64461 - El Hobito - Thu Dec 22, 2005 6:24 pm
Durandle wrote: |
Hm at 256*192 it runs just great normally. Not had a problem. |
at 24fps? all the ones ive tried have appauling frame dropping which would probably be okay if it wasnt for the frame interpolation effect
#64490 - Chetic - Thu Dec 22, 2005 9:45 pm
Yeah, there isn't really a way to play at 256x192 at 24fps (yet)
But it's so close you can taste it
_________________
Packin':
Grey DS with FlashMe v7
1Gbit XG2T 2005 (Neoflash compatible)
GBAMP, Supercard CF, 512Mb Magic Key 3 and EZFA 256Mbit
#64499 - El Hobito - Thu Dec 22, 2005 11:51 pm
it runs pretty good in gba res since it automatically scales it to full screen
#64669 - Darkflame - Sat Dec 24, 2005 9:58 pm
Chetic wrote: |
FloFri wrote: | Have you found the problem with the audio? |
No no, I have no such skills.
Darkflame wrote: | btw, this video player works fine for me! :)
The little 10 second test I converted turned out very well. |
Not at resolution 256x192 though, I presume |
Yes, at full resolution.
Using Adobe Primieres Mpeg maker.
It was set at 20fps, I think. Or even 24...
either way, the framerate was high, but the bitrate fairly low.
#64724 - El Hobito - Mon Dec 26, 2005 1:16 am
ooh it'll let you encode at 20fps? that'll work perfectly id expect and would look great
#64746 - jasterm - Mon Dec 26, 2005 8:37 am
Does anyone have a copy of this to share, the .zip on the website is no longer there. I'm interested in seeing the quality of the video since I can't play video with moonshell on my M3.