PDA

View Full Version : MPEG-4 Video Player for DS - Proof of concept


Zeus
08-24-2007, 12:15 AM
Arbraxas has created a proof of concent MPEG-4 ASP player for the DS which is based on the xvidcore 1.1.2. At the moment audio is not supported and it only plays raw streams but it could be the start of something very big for all portable movie fans.



I use xvidcore (my fix version) building mpeg4 decoder lib.

http://abraxas.no-ip.org/ndsdev/mpeg4/xvidcore-1.1.2_erspicu_brox_fixed.rar
(I make bat file in src dir for building lib).

my program sources.
http://abraxas.no-ip.org/ndsdev/mpeg4/m4vtst1.rar

sample1
http://abraxas.no-ip.org/ndsdev/mpeg4/sample2.m4v
sample2
http://abraxas.no-ip.org/ndsdev/mpeg4/sample1.m4v

put m4vtst1.sc.nds (at m4vtst1.rar) into card root dir
rename sample1(2).m4v to s.m4v into card root dir

run m4vtst1.sc.nds and play s.m4v mpeg4 file.

It's still not optimization (slow...).

I found some arm asm & arm dsp asm optimization code in mplayer sources libavcodec lib.

maybe i will change lib for decoding (xvidcore seem slow).

PS. I think it possible to decode mpeg4 simple 256x192 24fps when best optimization idct & yuv->rgb and others. (some paper talksabout optimization arm decoding mpeg4)


News Source: <a href="http://forum.gbadev.org/viewtopic.php?t=13951" target="_blank">gbadev.org</A>

xShrimp
08-24-2007, 12:29 AM
i guess its a first step to something great.
i'm sure this'll develop into a great app that will beat out moonshell's ugly video player w/o the use of converting to DPG.

i hope these features are included:
-multiple format compatability (mp4,mkv,avi,etc)
-multiple audio codecs
-fit to screen feature for oversized and undersized videos
-smooth play
-'no conversion required'

SuperDinoYoshi
08-24-2007, 01:10 AM
i guess its a first step to something great.
i'm sure this'll develop into a great app that will beat out moonshell's ugly video player w/o the use of converting to DPG.

i hope these features are included:
-multiple format compatability (mp4,mkv,avi,etc)
-multiple audio codecs
-fit to screen feature for oversized and undersized videos
-smooth play
-'no conversion required'

Well unless all your videos are mpeg4s and you keep them at very low resolutions and bitrates, you will probably sill need to convert them.

And you were kidding about Moonshell being ugly? right?

So-Unreal
08-24-2007, 01:24 AM
i hope these features are included:
-multiple format compatability (mp4,mkv,avi,etc)
-multiple audio codecs
-fit to screen feature for oversized and undersized videos
-smooth play
-'no conversion required'The DS is likely to slow to do that.

Rinny
08-24-2007, 01:31 AM
why would you want to watch video on a DS? the screen is horrible. I watch video on my PSP, my ipod and my cel phone and all are higher quality.

Tempos
08-24-2007, 03:44 AM
The DS can't even play a stereo mp2 track at 48khz and Moonshell is rather ugly. I hate the fact that seeking with DPG0 videos takes so long and you have to drag the video to the bottom screen to seek, what's the point in having two screens if you're going to make it function like that. I genuinely can't fill my 2gb micro-sd card with worthwhile content.

pangbulle
08-24-2007, 06:31 AM
the question still stands, why use ds for video playback and not the psp?

Xenogears V
08-24-2007, 06:34 AM
Is already a beginning, I got it.

So-Unreal
08-24-2007, 09:50 AM
the question still stands, why use ds for video playback and not the psp?why use any of them they both suck for video playback.

omega59
08-24-2007, 10:56 AM
ya these devices are horrible for video playback, why bother.

talonreaper
08-24-2007, 11:51 AM
Sweet! Let's see this become something great!

bgmnt
08-25-2007, 11:10 PM
the question still stands, why use ds for video playback and not the psp?

Because many of us don't have the $200 needed to buy a PSP and a memory stick to hold the videos perhaps?

I use Moonshell for quick video files. It works for what I use it for, though anything spanning multiple hours would get annoying to watch on the screen.

psywolf
08-27-2007, 02:15 AM
I love the ds playback it works awsome for me and if you can stare at the screen to play games you can do the same for videos

I use it alot to watch 30 min to hour dramas like jla unlimited or smallville during lunch

when i went out of town and was in the hotel room at night I watched a 3 hr wrestling event one night and a 2 hr movie the next and it all was perfectly fine

every now and again the synch goes off a bit but if you reload the video and skip to where you were it usually fixes that

sure the converting take a while but drag and drop before you go to bed or work or run some errands and you won't notice