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 > youtube on ds!!! now possible?

#153321 - MystBoy - Fri Mar 28, 2008 2:50 pm

hey! i konw that there were many people who asked if you tube is possible on ds and i know that it isnt possible to play a flv but today i found something interesting!! there is a youtube mobile page for mobilephones and all the normal videos are there as 3gp files! i thing that th ds would be able to encode 3gps but i dont have the knowlage how to do this... i only want to inform you about this... perhaps somebody will be able to do this....

http://m.uk.youtube.com/

greez mystboy

#153322 - TheMagnitude - Fri Mar 28, 2008 3:09 pm

wow cool

#153323 - simonjhall - Fri Mar 28, 2008 3:40 pm

Well I'd imagine that '3gp' is just a different container format. What does that actually mean for the data? Is it encoded at a lower bitrate? Does the decoding process take more processing power?

The problem isn't that "it's not possible to play flv files on the DS", it's just that no-one's written a player for whatever reason. There are also likely technical issues which have deterred people from writing said player. If 3gp files have the same technical issues (eg they require loads of CPU time to decode) then being able to get the videos in a different format doesn't really get us anywhere...

Does anyone know what the difference is between regular YT flv files and these 3gp files?
_________________
Big thanks to everyone who donated for Quake2

#153328 - Dwedit - Fri Mar 28, 2008 4:42 pm

"3gp" is a synonym for "mp4". The video codec could be anything, from MPEG-4 to H.264.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#153330 - TheMagnitude - Fri Mar 28, 2008 4:57 pm

If the site was designed for mobiles, im sure the DS is more than capable of handling videos that are meant for a mobile platform. The videos will be a very small files compared to traditional videos thus easily streamed and processed.

#153331 - sonny_jim - Fri Mar 28, 2008 4:59 pm

Haven't most 'smart phones' got more CPU and RAM than the DS?

#153336 - Jevin - Fri Mar 28, 2008 5:43 pm

H.263, 176 x 144, Millions+
AMR Narrowband, Mono, 8.000 kHz
rtsp://ug.rtsp-youtube.l.google.com/CiULENy73wIaHAmH9RJqcCVfRBMYDSANFEIJbXYtZ29vZ2xlSAQM/0/0/0/video.3gp
looks to be about 100kbps

#153337 - simonjhall - Fri Mar 28, 2008 6:22 pm

sonny_jim wrote:
Haven't most 'smart phones' got more CPU and RAM than the DS?
Yeah. I saw the specs for the iPhone the other day - it's like ten times faster than the DS! I wouldn't be surprised if it has some kind of hardware codec for this purpose, too.

@the magnitude: not necessarily. An MPEG-1 stream at 200kbps is far easier to decode than an MPEG-4/AVC stream at 100kbps...

That said, it could be worthwhile looking into too see if the format is easier to decode. But if it is some kinda MPEG-4 derivative it'll be pretty tough on the ol' CPU :-)
_________________
Big thanks to everyone who donated for Quake2

#153340 - Lick - Fri Mar 28, 2008 6:53 pm

<off-topic>

simonjhall wrote:
...the ol' CPU :-)

Those ol' CPUs and ol' GFX are making Nintendo rich... :-/ Somehow it doesn't feel right.
_________________
http://licklick.wordpress.com

#153341 - silent_code - Fri Mar 28, 2008 7:30 pm

my S...E... mobile phone (damn that thing!) records (crappy) .3gp videos... it can handle quite a bit-rate (get the joke?... nah...) in 320x240. it plays movies in a nice quality and all in all it's quite good for "mobile cinematography" (what the heck is wrong with me togay?... o - oh, damn, did i really just write that? "MEDIC!")

#153356 - MystBoy - Sat Mar 29, 2008 12:05 am

so now i found some things about it:
the format is Real Time Streaming Protocol 3GP with H263 AMR i dont know exactly what that means but i also found this side about h 263 : http://tools.ietf.org/html/rfc2190

a side about 3gp http://www.3gp.se/

and this codec i think it would be usefull.... http://en.wikipedia.org/wiki/Libavcodec

i think it would be possible because the side is not designed for the i phone it's for normal mobile phones...

#153371 - nanou - Sat Mar 29, 2008 12:37 pm

RTSP? Then the bitrate should depend on your client.
_________________
- nanou

#153378 - simonjhall - Sat Mar 29, 2008 1:31 pm

Can anyone else get videos from that site to play? VLC supports RTSP but the errors it gives are quite vague. Hell, even RealPlayer has a go but just gives an error.
I always wanted to write a video player for the DS and this would be a nice way in, but if VLC can't do it (and VLC can do everything, including make tea) then what chance do I have at getting it to work?!
_________________
Big thanks to everyone who donated for Quake2

#153386 - nanou - Sat Mar 29, 2008 2:46 pm

Based on what VLC says in Linux it might need QuickTime.
_________________
- nanou

#153387 - silent_code - Sat Mar 29, 2008 2:48 pm

to play back .3gp recorded with my phone on my pc, i have to have qt. but i recently read here, that mplayer (was it?) also does the job.

#153390 - nanou - Sat Mar 29, 2008 3:06 pm

I -just- checked with mplayer:

It's h.263 video with amr_nb audio. Apparently people rarely have amr installed and so don't get audio.

Every app I've tried is getting zero data from the stream. I don't have amr, but the video stream should be working. Not sure if it's just not coming off the decoder or what, the error isn't specific enough.
_________________
- nanou

#153426 - theli - Sun Mar 30, 2008 8:33 am

simonjhall wrote:
Can anyone else get videos from that site to play? VLC supports RTSP but the errors it gives are quite vague. Hell, even RealPlayer has a go but just gives an error.
I always wanted to write a video player for the DS and this would be a nice way in, but if VLC can't do it (and VLC can do everything, including make tea) then what chance do I have at getting it to work?!

mplayer plays videos from youtube mobile without any problems