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 > Video codec for the DS

#47913 - tonysavon - Thu Jul 14, 2005 6:13 pm

Hello,
I made some tech demos for my video codec for the DS. I just tought you may find interesting to give them a try:
You can grab them from the download section of the website:

http://www.ds-video.com/

The touchpad allows you to move through the movies.
Also please note that thedemos don't run with any emulator, I've tried them only on the neoflash.


Last edited by tonysavon on Thu Jul 14, 2005 6:59 pm; edited 1 time in total

#47915 - jstart - Thu Jul 14, 2005 6:35 pm

Wow!!! Amazing quality! Wow!
_________________
-=Jstart=-

#47917 - Diskun - Thu Jul 14, 2005 7:05 pm

In your web page says "for developers to use in their games"... Not for the End-User?

A converter would rock :P

Greets

#47918 - dovoto - Thu Jul 14, 2005 7:09 pm

I second that wow!...how much for a homebrew license? :)
_________________
www.drunkencoders.com

#47921 - tonysavon - Thu Jul 14, 2005 7:27 pm

dovoto wrote:
I second that wow!...how much for a homebrew license? :)

Alas I'm not allowed to give it for free. Even if I made it, it belongs to my company (and I'm not the only member of the company). I always have two projects going on: the video codec which is not free and makes me "eat" (if you allow me this term :-) ), and the Jpeg Viewer ( www.caimans.net/gba ) which is free and is my really little contribution to the comunity.
Since is the one and only Dovoto asking, and since I feel I have learned a lot (not to say ALL) from you, if you ever think to make a game and you need video compression ... well, I'm not writing it here expiclitly... but you may guess ;-)

#47926 - dovoto - Thu Jul 14, 2005 8:09 pm

:)

Thanks, if i ever make a real game I will keep you in mind!
(This is about as likely as me ever finishing my tutorial series ;)
_________________
www.drunkencoders.com

#47930 - FourScience - Thu Jul 14, 2005 8:19 pm

Just a note, the .nds don't seem to work via Ds Download Play; it shows Caimans Video Codec on the bottom screen (nothing on the bottom right). I can play it off a cart just fine (FlashMe). If I plug in a cart with one of the .ds.gba files on it, I can wmb broadcast a different movie's .nds file and it will load the movie that's on the cart.

It does have great quality. Thanks for sharing.
_________________
Work in progress: Dual-Soft.com

#47931 - lambi1982 - Thu Jul 14, 2005 8:27 pm

The .nds files do not work on the Darkstar MULTI LOADER OR WIFIME, does work as nds.Gba though....

Looks great, are you able to get in to span both screens???
( to get videos like in metroid hunters )

based on the file size on these demos, it was about 1.64MB/min

When videos are converted, what is it converted to???
NDS or some other file?

Where's the pause feature????? J/K ;)

How Much $$$$$$ ?????????????
_________________
Who, Me?

#47932 - tonysavon - Thu Jul 14, 2005 8:33 pm

FourScience wrote:
Just a note, the .nds don't seem to work via Ds Download Play; it shows Caimans Video Codec on the bottom screen (nothing on the bottom right). I can play it off a cart just fine (FlashMe). If I plug in a cart with one of the .ds.gba files on it, I can wmb broadcast a different movie's .nds file and it will load the movie that's on the cart.

It does have great quality. Thanks for sharing.


They use cart space (0x800000) to store the video info, so they cannot stay in DS'ram space and so they won't work with WiFi.

#47943 - Volta - Fri Jul 15, 2005 1:33 am

Brilliant, just brillant. Congratulations!

But of no interest, since it is not open source.

#47944 - lambi1982 - Fri Jul 15, 2005 1:41 am

I would like to see what a movie trailer looks like in the best possible quality on the DS. Tough to really see quality when dealing with animated films.

THANK YOU

What is the average FPS when running the films?

Are you going to add a graphical interface to the bottom screen???
_________________
Who, Me?

#47978 - MrD - Fri Jul 15, 2005 4:09 pm

Hooray!

Pity it's under a 'Step 3: Profit!' arrangement, though. ._. Like I said in the email though, man, let the cleaning up begin!
_________________
Not active on this forum. For Lemmings DS help see its website.

#47989 - rize - Fri Jul 15, 2005 5:12 pm

Are there any audio codec's? What's the chance of someone making a freeware decoder for something open source like ogg? Is there enough CPU time to decode something like that during gameplay (particularly 2D gameplay)?

#47992 - tepples - Fri Jul 15, 2005 6:04 pm

There's always 8ad and GSM. 8ad is wicked fast, and two GSMs played at once (one for left and one for right) would take only 60% of the ARM7 CPU time at 18 kHz.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#48013 - darkfader - Sat Jul 16, 2005 1:09 am

File "a" for audio and "v" for video... hmm :)
Here are the GBA demo's: http://www.caimans.net/gbavideo/demos.shtml
Would be interesting to compare the data.

#48015 - rize - Sat Jul 16, 2005 4:37 am

What's the compression ratio and quality on those compared to mp3 or ogg?

#48043 - tepples - Sat Jul 16, 2005 2:18 pm

8ad: ADPCM, near-perfect quality, 73 kbps at 18 kHz, only 2:1 compression vs. 8-bit linear PCM.
GSM: Linear predictive coding, good quality, 30 kbps at 18 kHz, nearly 5:1 compression vs. 8-bit linear PCM.
Clarification: These are not the audio codecs used with the Nintendo DS video codec.

No, I haven't done ABX or similar tests vs. MP3 or Vorbis.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.


Last edited by tepples on Sat Jul 16, 2005 3:58 pm; edited 1 time in total

#48045 - lambi1982 - Sat Jul 16, 2005 2:55 pm

I would like to know if the NDS versions are better quality?? or is it just a gba version running on the arm9????
_________________
Who, Me?

#48152 - Sodeju - Sun Jul 17, 2005 6:08 pm

Well I've only tested the Madagascar demo, but I didn't get the impression, that it was better then the gba version.

#48182 - lambi1982 - Mon Jul 18, 2005 12:21 am

after posting my question I checked back and forth a few times between the two and here's what I think ( If anyone even gives a flying kahoot)


1. DS version uses more of the screen ( possible FULL screen if it wasnt in 16:9 mode )

2. better controls being able to touch the screen for the location of the movie ( touch left side go to begining, touch middle.... and so on )

3.sound, tough to compare but seems like it is more crisp in the DS version, could just be me

I still want to see video spanned across both screens
_________________
Who, Me?


Last edited by lambi1982 on Mon Jul 18, 2005 3:10 pm; edited 1 time in total

#48192 - rize - Mon Jul 18, 2005 3:06 am

fire up the metroid hunters demo (to see video on both screens)

it's not very good for movie trailers or ordinary footage though.

#48248 - lambi1982 - Mon Jul 18, 2005 2:10 pm

Real Funny.......................;) still laughing...............................................................

CUSTOM VIDEOS DUMB A$$ Your joke wasnt funny to me ;[


Who the hell wants to see movie trailers, its a friggin preview....

Yes can I have A large cup with no soda and just an empty bag please, cause I like shit half assed like wasting space with a friggin preview

My whole point is, when Videos can be added to homebrew it would be nice to be able to create double screen videos.
_________________
Who, Me?

#48277 - josath - Mon Jul 18, 2005 6:54 pm

I think what he was saying, is that normal videos would not work well with two screen playback. Can you imagine watching a movie with a huge gap down the middle? It just wouldn't work. For custom things that are designed around it, like the metroid intro videos, it does work, but the video has to be made specifically to take into account the two screens and the gap between them.

#48307 - tepples - Mon Jul 18, 2005 11:54 pm

How much CPU does the current codec use for one screen? If less than 50 percent, then it might be able to run two videos at once like the Metroid demo does.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#48317 - rize - Tue Jul 19, 2005 2:28 am

Sound wouldn't need to be duplicated so if it is taking say, 60, if 20 of that is audio and 40 is video, then it could still manage two screens.

#48318 - tepples - Tue Jul 19, 2005 2:33 am

rize wrote:
Sound wouldn't need to be duplicated

GBA and GBA SP internal speakers are mono. Nintendo DS internal speakers are stereo. True, the sound wouldn't need to be duplicated if the port already takes joint stereo into account.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.