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 > 3GP player possible on DS?

#73280 - Extreme Coder - Fri Feb 24, 2006 10:27 am

I was wondering if the DS had the ABILITY to play 3gp movie files at an ok speed;)
If so, I might just try my hand on it, but I can't find any format documents or source for it:(

#73283 - acky - Fri Feb 24, 2006 10:44 am

Why not encode it to dpg?

#73290 - Extreme Coder - Fri Feb 24, 2006 11:25 am

sorry for being a noob, but is DPG moonshell's format?

#73296 - Darkflame - Fri Feb 24, 2006 12:16 pm

yes, effectively mpeg1/2 with the sound altered and the screen made to fit the ds.

#73306 - genfish - Fri Feb 24, 2006 2:46 pm

this would be cool if it used one screen (save battery) and could fit a full movie on my 512mb flash cart ;)
_________________
there is no rl only afk

#73314 - HtheB - Fri Feb 24, 2006 4:35 pm

yeah but.. than you must convert the 3GP format into MPEG (how can you do that :D)

#73320 - tssf - Fri Feb 24, 2006 6:30 pm

you can try manually converting it using a screen capture utility that supports video capture of your desktop.

Though that requires a decent CPU.
_________________
Mathew Valente [TSSF]
------
Chrono Resurrection Musician

#73346 - Empyrean - Fri Feb 24, 2006 11:53 pm

There are some 3GP converters out there.

Xilisoft has one, so does imTOO. But you may also want to check out the Nokia Multimedia Player... I haven't used it in quite some time, but I think it may be able to do 3GP to AVI. Don't quote me on that, though.
_________________
3 is not an "e",
7 is not a "t",
1 is not an "l",
And for the love of God,
Learn how to spell!

#73419 - arlow - Sat Feb 25, 2006 5:06 pm

tmpegenc can handle a lot of files including 3gp
_________________
Hardware:
- 2 Nintendo DS (original V2; now FlashMe V6)
- 1 SuperPass 2
- 2 SuperCard SD + 1 * 2GB SanDisc miniSD + 1 * 3rdParty 512MB SD
(Could get together 7 DS + 7 SCSD)

Languages: English, German

#73428 - Extreme Coder - Sat Feb 25, 2006 6:09 pm

Well, my idea is if it was possible to real-time decode it...

#73429 - m2pt5 - Sat Feb 25, 2006 6:16 pm

Extreme Coder wrote:
Well, my idea is if it was possible to real-time decode it...

The DS is barely able to decode MPEG video in realtime - anything more complex would be highly unlikely without additional hardware.
_________________
Don't sign your posts, it's dumb.

#73470 - Extreme Coder - Sat Feb 25, 2006 10:34 pm

I thought 3gp is simple enough to real-time decode it since, most cell phones now use it.

#73472 - mntorankusu - Sat Feb 25, 2006 11:28 pm

Extreme Coder wrote:
I thought 3gp is simple enough to real-time decode it since, most cell phones now use it.

I'd guess it's possible if you really put your heart into it. 3GP video is only 128x96, I believe.

#73473 - El Hobito - Sat Feb 25, 2006 11:36 pm

ds could easily do it, but why? the quality is horrendous it looks bad enough on a phone

#73474 - Linkiboy - Sat Feb 25, 2006 11:44 pm

If you want a great converter, google WinAVI. It converts almost any file into .avi .wmv(Windows Video file), and .rmf... I even managed to convert .swf's with this program!

#73533 - Apoc - Sun Feb 26, 2006 12:52 pm

m2pt5 wrote:
Extreme Coder wrote:
Well, my idea is if it was possible to real-time decode it...

The DS is barely able to decode MPEG video in realtime - anything more complex would be highly unlikely without additional hardware.


A 105 mhz ARM9 is able to decode xvid at 208x156 @ 25 fps easily, so I guess an optimized program for the DS should have no problem decoding 3gp, and xvid too I guess.

#73557 - genfish - Sun Feb 26, 2006 5:31 pm

is there a program out there then that i can use to watch 512mb worth of xvid on my neoflash cart?
_________________
there is no rl only afk

#73558 - m2pt5 - Sun Feb 26, 2006 5:32 pm

Apoc wrote:
105 mhz ARM9

The ARM9 in the DS is only 66MHz, and the ARM7 is 33.
_________________
Don't sign your posts, it's dumb.

#73560 - Apoc - Sun Feb 26, 2006 5:45 pm

m2pt5 wrote:
Apoc wrote:
105 mhz ARM9

The ARM9 in the DS is only 66MHz, and the ARM7 is 33.


I know, i was saying that if a 105 mhz arm9 can decode xvid (with audio) a 66mhz ARM9 and a 33mhz ARM7 can decode 3gp for sure, and maybe xvid also.

#73568 - Extreme Coder - Sun Feb 26, 2006 7:30 pm

So I guess its a bit possible after all, anyone has an idea of where to get some docs on it?

#73581 - birslip - Sun Feb 26, 2006 8:31 pm

3GP is a MPEG-4 video format and unfortunately an owner format...
Ffplay may be decode it, you could see the source code : http://ffmpeg.sourceforge.net/index.php

#74045 - dantheman - Wed Mar 01, 2006 11:49 pm

Linkiboy wrote:
If you want a great converter, google WinAVI. It converts almost any file into .avi .wmv(Windows Video file), and .rmf... I even managed to convert .swf's with this program!


There's also AllToAVI - http://alltoavi.sourceforge.net/ It's marketed as a way to convert anime from OGM or MKV into AVI, but it works with basically any video format that you can play in Media Player. What I mean is that if you have the right codec installed and can view the file in Media Player, then it can convert it to AVI. I'm not sure however if there is a codec that allows you to play 3GP in WMP, but it's worth a shot. It's not like it will cost you anything to try it since it's completely free.

EDIT: well, just did a Google search, and found http://www.miksoft.net/mobile3GPconverter.htm which might be what you're looking for. It seems to be free, as I can't find a registration or purcahse page anywhere.

#74090 - HtheB - Thu Mar 02, 2006 7:50 am

so...... anyone interested in to make a 3gp converter for the DS? :)

#74097 - Durandle - Thu Mar 02, 2006 10:36 am

A better use of programming time maybe to port a lightweight MP4 player. Theora is a nice small one - uses OGM as its container format and VP3 as its video. Check out :

http://www.theora.org/theorafaq.html

I've ported it my self already and it starts up - but it uses SDL threads so gets stuck pretty quick as we lack threading at the moment on the DS.

#74108 - MaHe - Thu Mar 02, 2006 3:20 pm

You don't need to write a whole application now when MoonShell 1.0's out. It has a great plug-in system. :)

#74109 - HtheB - Thu Mar 02, 2006 3:29 pm

MaHe wrote:
You don't need to write a whole application now when MoonShell 1.0's out. It has a great plug-in system. :)
3GP plugin would be nice

#74118 - tepples - Thu Mar 02, 2006 4:26 pm

MaHe wrote:
You don't need to write a whole application now when MoonShell 1.0's out. It has a great plug-in system. :)

Unless you write the application as a prototype and integrate it into MoonShell later.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.