1. 46,217

    174
    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
     
    Robz8, Stealphie, Moon164 and 64 others like this.
  2. Discussion (174 replies)

  3. VinsCool

    VinsCool Persona Secretiva Felineus
    Moderator

    Joined:
    Jan 7, 2014
    Messages:
    14,059
    Country:
    Canada
    No way O.O
     
    Stealphie likes this.
  4. Wellington2k

    Wellington2k DO YOU HAS?
    Member

    Joined:
    Nov 1, 2010
    Messages:
    774
    Country:
    United States
    Impressive! That would have been really cool a few years back, but it's still really neat work. :)
     
  5. Coto

    Coto -
    Member

    Joined:
    Jun 4, 2010
    Messages:
    2,710
    Country:
    Chile
    DS is capable of a lot of stuff.

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

    good work!
     
    Stealphie likes this.
  6. Gericom

    OP Gericom GBAtemp Maniac
    Member

    Joined:
    Jun 30, 2011
    Messages:
    1,359
    Country:
    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)
     
    Stealphie likes this.
  7. Seriel

    Seriel Doing her best
    Member

    Joined:
    Aug 18, 2015
    Messages:
    3,153
    Country:
    United Kingdom
    Impressive! :D
    This would have been perfect before the 3ds youtube app got released! xD
     
    Stealphie, duyluan and mgrev like this.
  8. Veho

    Veho The man who cried "Ni".
    Former Staff

    Joined:
    Apr 4, 2006
    Messages:
    9,728
    Country:
    Croatia
    Is this with download, or does it play YouTube-encoded videos that you've downloaded beforehand?
     
    Stealphie and Seriel like this.
  9. Gericom

    OP Gericom GBAtemp Maniac
    Member

    Joined:
    Jun 30, 2011
    Messages:
    1,359
    Country:
    Netherlands
    It plays them straight from youtube in mpeg4 format with aac audio. No need to download them first.
     
    Stealphie, pacguy64, Tony_93 and 4 others like this.
  10. Dartz150

    Dartz150 Yet another Onii-chan
    Member

    Joined:
    May 5, 2010
    Messages:
    2,161
    Country:
    Mexico
    Wow, amazing work o.O
     
    Stealphie likes this.
  11. Veho

    Veho The man who cried "Ni".
    Former Staff

    Joined:
    Apr 4, 2006
    Messages:
    9,728
    Country:
    Croatia
    That's really impressive. Great work. I can't wait to try it out.
     
    Stealphie likes this.
  12. Coto

    Coto -
    Member

    Joined:
    Jun 4, 2010
    Messages:
    2,710
    Country:
    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.
     
    Stealphie likes this.
  13. Apache Thunder

    Apache Thunder I have cameras in your head!
    Member

    Joined:
    Oct 7, 2007
    Messages:
    4,273
    Country:
    United States
    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
     
  14. PF2M

    PF2M Ex-Miiverse Hacker
    Member

    Joined:
    Sep 8, 2015
    Messages:
    552
    Country:
    United States
    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.
  15. migles

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

    Joined:
    Sep 19, 2013
    Messages:
    8,034
    Country:
    China
    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)
     
    Stealphie, pacguy64, LuxerWap and 4 others like this.
  16. BORTZ

    BORTZ The Amazing
    Supervisor

    Joined:
    Dec 2, 2007
    Messages:
    13,067
    Country:
    United States
    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.
     
  17. funnystory

    funnystory Banned
    Banned

    Joined:
    Sep 20, 2008
    Messages:
    1,472
    Country:
    United States
    That guy in the video is so annoying.
     
  18. Justinde75

    Justinde75 Capsule Co's VGM Addict
    Member

    Joined:
    Feb 14, 2016
    Messages:
    2,404
    Country:
    Germany
    Well would have been nice like 7 years ago.
    But still great job!
     
    Stealphie likes this.
  19. Wolfvak

    Wolfvak nyaa~
    Member

    Joined:
    Oct 25, 2015
    Messages:
    913
    Country:
    Uruguay
    I'm just wondering if it works in DSi mode... If so, then you could get it working with WPA/WPA2 APs!
     
    Stealphie likes this.
  20. DiscostewSM

    DiscostewSM GBAtemp Guru
    Member

    Joined:
    Feb 10, 2009
    Messages:
    5,446
    Country:
    United States
    MPEG4 streaming in DS mode? Really? I want to try this just to see it in action.
     
    Stealphie likes this.
  21. Foxi4

    Foxi4 Cynical Absurdist
    Global Moderator

    Joined:
    Sep 13, 2009
    Messages:
    26,542
    Country:
    Poland
    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!
     
    Stealphie, ry755, LuxerWap and 7 others like this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Youtube, Youtube, videos