Youtube DS - Play Youtube videos on your DS!

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

  1. Gericom
    OP

    Gericom GBAtemp Advanced Fan

    Member
    852
    900
    Jun 30, 2011
    Netherlands
    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
     
    hug0-a7x, Tarmfot, dsionr4 and 60 others like this.


  2. VinsCool

    VinsCool Comfortably Numb

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

    Our Patreon
    11,844
    28,331
    Jan 7, 2014
    Canada
    Another World
    No way O.O
     
  3. Wellington2k

    Wellington2k DO YOU HAS?

    Member
    760
    364
    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.
  4. Coto

    Coto GBAtemp Addict

    Member
    2,364
    415
    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!
     
  5. Gericom
    OP

    Gericom GBAtemp Advanced Fan

    Member
    852
    900
    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)
     
  6. Seriel

    Seriel Worshipper of Skiddos

    Member
    2,704
    4,780
    Aug 18, 2015
    United Kingdom
    UK
    Impressive! :D
    This would have been perfect before the 3ds youtube app got released! xD
     
    duyluan and mgrev like this.
  7. Veho

    Veho The man who cried "Ni".

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

    Gericom GBAtemp Advanced Fan

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

    Dartz150 GBATemp Official Lolicon Onii-chan™

    Member
    1,406
    844
    May 5, 2010
    Mexico
    On a Strange Journey
    Wow, amazing work o.O
     
  10. Veho

    Veho The man who cried "Ni".

    Former Staff
    8,870
    16,869
    Apr 4, 2006
    Croatia
    Zagreb
    That's really impressive. Great work. I can't wait to try it out.
     
  11. Coto

    Coto GBAtemp Addict

    Member
    2,364
    415
    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.
     
  12. Apache Thunder

    Apache Thunder I have cameras in your head!

    Member
    4,102
    4,033
    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
     
  13. PF2M

    PF2M Miiverse Hacker

    Member
    543
    767
    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.
  14. migles

    migles Mei the sexiest bae

    Member
    6,899
    4,632
    Sep 19, 2013
    Saint Kitts and Nevis
    my dad works for nintendo.
    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.
  15. BORTZ

    BORTZ Don't pretend you aren't impressed

    Supervisor
    11,641
    14,510
    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.
  16. funnystory

    funnystory Banned

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

    Justinde75 VGM Addict

    Member
    1,655
    2,073
    Feb 14, 2016
    Germany
    Iwatodai Dorm
    Well would have been nice like 7 years ago.
    But still great job!
     
  18. Wolfvak

    Wolfvak *yawn*

    Member
    807
    1,061
    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!
     
  19. DiscostewSM

    DiscostewSM GBAtemp Guru

    Member
    5,023
    2,659
    Feb 10, 2009
    United States
    Sacramento, California
    MPEG4 streaming in DS mode? Really? I want to try this just to see it in action.
     
  20. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,550
    21,519
    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!