Youtube DS - Play Youtube videos on your DS!

Discussion in 'NDS - Emulation and Homebrew' started by Gericom, Apr 19, 2016.


    31,259

    160
    Front-page
    Hey guys, lately I've been working on playing Youtube videos on a DS. As you can see in the video below, I got it working. I think I'll try to improve it some more if I have some time and add a gui to make it actually possible to search for videos.



    You can download a preview here, if you want to try it out: https://github.com/Gericom/YoutubeDS/raw/master/YoutubeDS.nds
    It might take a few tries, because the video info parser does not work very good yet.

    Source: https://github.com/Gericom/YoutubeDS
     
    ry755, hug0-a7x, Tarmfot and 61 others like this.
    Discussion (160 replies)
  1. VinsCool

    VinsCool Cattus Incerta Tacitusque

    Member
    25
    GBAtemp Patron
    VinsCool is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Jan 7, 2014
    Canada
    Another World
    No way O.O
     
  2. Wellington2k

    Wellington2k DO YOU HAS?

    Member
    6
    Nov 1, 2010
    United States
    Somewhere in this world of ours
    Impressive! That would have been really cool a few years back, but it's still really neat work. :)
     
    TotalInsanity4, weatMod and LuigiXL like this.
  3. Coto

    Coto -

    Member
    7
    Jun 4, 2010
    Chile
    DS is capable of a lot of stuff.

    I have to ask, are you using GL hardware or 2D ?

    good work!
     
  4. Gericom
    OP

    Gericom GBAtemp Maniac

    Member
    9
    Jun 30, 2011
    Netherlands
    I am using the 2D hardware, because one can not write to texture memory outside of vblank and switching textures is also not as easy as changing the base address for the 2d engine. (I am using a 5 frame framequeue)
     
  5. Seriel

    Seriel Watching the days pass by

    Member
    11
    GBAtemp Patron
    Seriel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Aug 18, 2015
    United Kingdom
    Wales, UK
    Impressive! :D
    This would have been perfect before the 3ds youtube app got released! xD
     
    duyluan and mgrev like this.
  6. Veho

    Veho The man who cried "Ni".

    Former Staff
    17
    Apr 4, 2006
    Croatia
    Zagreb
    Is this with download, or does it play YouTube-encoded videos that you've downloaded beforehand?
     
    Seriel likes this.
  7. Gericom
    OP

    Gericom GBAtemp Maniac

    Member
    9
    Jun 30, 2011
    Netherlands
    It plays them straight from youtube in mpeg4 format with aac audio. No need to download them first.
     
  8. Dartz150

    Dartz150 GBATemp Official Lolicon Onii-chan™

    Member
    7
    May 5, 2010
    Mexico
    On a Strange Journey
    Wow, amazing work o.O
     
  9. Veho

    Veho The man who cried "Ni".

    Former Staff
    17
    Apr 4, 2006
    Croatia
    Zagreb
    That's really impressive. Great work. I can't wait to try it out.
     
  10. Coto

    Coto -

    Member
    7
    Jun 4, 2010
    Chile
    does not compile correctly on Windows XP:

    [​IMG]

    and, that from my homebrew experience, means something between Windows 7 and Windows XP causes bloated relocated code. It has very little to do with the actual code (unless obviously you try to relocate more than 32K code on ITCM or 16K code on DTCM), where the same symptom should happen.
     
  11. Apache Thunder

    Apache Thunder I have cameras in your head!

    Member
    15
    Oct 7, 2007
    United States
    Levelland, Texas
    How....How in god's name did you get this to work on a DS? Wifi speeds are like 56k territory. There's no way it streams them directly? Does it download the stream from YouTube first then play it or does it somehow manage to actually stream it real time? Cause damn if you got that to work, hats off to you! :P
     
  12. PF2M

    PF2M Ex-Miiverse Hacker

    Member
    6
    Sep 8, 2015
    United States
    Ohio
    This is some Flipnote Studio "New DSi App Ideas" level stuff. Nice job, will be downloading right away. :P
     
    XRaTiX, I pwned U! and TheKawaiiDesu like this.
  13. migles

    migles All my gbatemp friends are now mods, except for me

    Member
    14
    GBAtemp Patron
    migles is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Sep 19, 2013
    China
    Earth-chan
    great now we can create youtube videos of us playing pokemon x y\ORAS on a DS (that actually is just a video playing on the console)
     
    pacguy64, LuxerWap, Dorimori and 3 others like this.
  14. BORTZ

    BORTZ The Amazing

    Supervisor
    22
    GBAtemp Patron
    BORTZ is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 2, 2007
    United States
    Pittsburgh
    Guess who is going to the front page :D This is cool as hell. Again, I wish this was a few years ago, before the 3DS youtube app, but hot dang this is cool. I remember someone else working on something like this a long time ago, or at least attempting to. Something about trying to get youtube down to its lowest quality and the have the site send over chunks at a time.
     
    TotalInsanity4, Tony_93, WiiU and 5 others like this.
  15. funnystory

    funnystory Banned

    Banned
    5
    Sep 20, 2008
    United States
    That guy in the video is so annoying.
     
    Pacheko17, Tomato Hentai and Seriel like this.
  16. Justinde75

    Justinde75 Capsule Corp's VGM Addict

    Member
    10
    GBAtemp Patron
    Justinde75 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Feb 14, 2016
    Germany
    West City
    Well would have been nice like 7 years ago.
    But still great job!
     
  17. Wolfvak

    Wolfvak nyaa~

    Member
    9
    Oct 25, 2015
    Uruguay
    I'm just wondering if it works in DSi mode... If so, then you could get it working with WPA/WPA2 APs!
     
  18. DiscostewSM

    DiscostewSM GBAtemp Guru

    Member
    12
    Feb 10, 2009
    United States
    Sacramento, California
    MPEG4 streaming in DS mode? Really? I want to try this just to see it in action.
     
  19. Foxi4

    Foxi4 On the hunt...

    Global Moderator
    27
    Sep 13, 2009
    Poland
    Gaming Grotto
    Incredibly impressive considering the limitations of both the DS itself and the DSwifi library which severely bottlenecks transfer. Just getting video and audio to work on the DS is a chore, streaming it to the system is incredible - I'd know, I fooled around with coding a video player on the DS, with little success. Well done!
     
Loading...