ThirdTube 3DS

From GameBrew
Revision as of 12:55, 23 December 2021 by HydeWing (talk | contribs)
ThirdTube
File:ThirdTube-3DS-04.jpg
General
Authorwindows-server-2003
TypeMedia players
Version0.4.0
LicenseMixed
Last Updated2021/11/28
Links
Download
Website
Source

ThirdTube is a work-in-progress homebrew YouTube client for the New 3DS. The project is inspired by NewPipe, it accesses the mobile version of YouTube, parses the important part of the downloaded html and plays the stream using the fast decoder taken from Video player for 3DS by Core-2-Extreme. It does not run any javascripts or render html/css, so it’s significantly faster than YouTube on the browser. The name is derived from the fact that it is the third YouTube client on 3DS, following the official YouTube app (discontinued) and the new 3DS browser.

Note from developer:

This application is still in the alpha stage, you may encounter crashes and other bugs. If you find one of those, it would be helpful to open an issue on the GitHub repository.

Features

  • Video Playback up to 360p (480p might be considered in the future development).
  • Livestreams and premiere videos support.
  • Searching.
  • Video suggestion.
  • Comments.
  • Captions.
  • Local watch history and channel subscription.
  • No ads (or rather Ads are not implemented, as this application web-scrapes YouTube).

Installation

Available in 3DSX and CIA formats.

  • CIA - Install the .cia with the CIA manager of your choice.
  • 3DSX - Use the .3dsx with the Homebrew Launcher.

Controls

B - Bo back to the previous scene

D-Pad Up/Down - Scroll

In video player:

Arrow Left/Right - 10 sseek

Hamburger menu - Jump to the Search, Settings, About scene, Exit

Screenshots

thirdtube.jpgthirdtube2.jpgthirdtube3.jpg

Media

How to watch Youtube on 3DS with ThirdTube (蓮。村長 / RYuta)

Compatibility

New 3DS (including a New 2DS) with Luma3DS installed and DSP1 run. At least 8.1.0-0 is needed (not tested on minimum system version).

Old 3DS is not supported, as it lacks of hardware-decoding capability and cannot even play 144p at a constant 30 FPS.

Known issues

Extracted stream urls randomly return 403 and the video playback fails The reason is unknown, but a temporary workaround is to press Advanced Tab -> Reload when this happens.

Stream downloading randomly slows down (about 10% of the times) This is due to YouTube (probably deliberately) throttling the download speed. The workaround is the same as the 403 issue; reloading will fix it.

Long comments are cut This is intentionally done for a performance reason and probably fixable by, for example, folding the comments by default.

Changelog

v0.4.0 2021/11/28

  • Separated the video player and the video page.
  • This means you can now browse other videos while continuously playing one video.
  • It also means that a video doesn't automatically play upon loading if another video is playing, so you have to press the "Play" button in the "General" tab.
  • Added support for community posts in the channel page.
  • Animated images are currently not supported.
  • Added preamp, speed and pitch manipulators in the "Playback" tab.
  • Added playlist tab in the channel page.
  • The 3DS now doesn't go into sleep mode so that the app can continue the playback.
  • While the lid is closed, you can still listen to the audio through the headphone plug but not from the speaker because there seems to be no way to prevent it from being disabled.
  • Introduced thumb up/down icon to indicate like/dislike in the video page.
  • Added like counters on comments and replies.
  • Improved network performance when libcurl is chosen as the network framework and a redirect occurs on a video/audio stream.
  • Improved the behavior when one of the subscribed channels changes its icon.
  • Improved the performance and memory usage of the subscribed channels scene.
  • Improved the behavior of option selector when you grab it and scroll.
  • Made it to retry when a minor network error occurs.
  • Fixed random crashes when trying to play a video.
  • Tips: it had the possibility of crashing after loading 17th video counting from the startup of the app.
  • Fixed crashes when exiting the app while loading something (video page, comments continuation, etc.).
  • Fixed the throttling by YouTube which came back due to a change in one of their javascripts.
  • Fixed long loading and possible crashes when trying to seek near the end of the video.
  • Fixed terrible audio for some video (#53).
  • Fixed memory leaks when video loading fails.
  • Implemented a workaround for #47 (240p or below fails to load for some videos).

v0.3.0 2021/10/12

  • Added support for playlists.
    • Now playlists appear both in search results and suggestions.
  • Added local watch history (see hamburger menu -> History).
    • You can disable history recording/clear history in settings.
  • Added local subscription and ability to load recent videos from the subscribed channels (see hamburger menu -> Subscription).
  • Added Control tab in the video player.
  • Added video quality selector and audio-only mode selector in Control tab.
    • These options will save data usage and make the playback smooth when using a slow connection.
  • Added yet another network framework : libcurl (it should be more stable?).
  • Added the button to directly input URL, next to the search box..
  • Added seeking by 10 seconds by pressing the arrow button left/right.
  • Added scrolling by using the d-pad up/down.
  • Added video pages caching.
  • Added the reason when a video is unplayable (e.g. private, removed, copyright takedown).
  • Added video duration overlay text in the video list of a channel.
  • Improved performance when opening the software keyboard.
  • Improved the behavior when reaching the end of the video.
  • Improved the behavior of the progress bar when seeking.
  • Improved stability.
  • Reorganized the settings menu.
  • Removed Advanced tab.
    • Debug info can still be seen in Control tab if enabled in settings.
    • The texture filter toggle button has been moved to settings with the name "Linear video filter".
    • The reload button has been moved to Control tab.
  • Fixed showing "Settings" in the hamburger menu when you are already opening settings.
  • Fixed httpcContext resource leaking when redirection occurs, which caused the app to stop working.
  • Fixed broken playback when playing videos with non-standard heights.

Release notes.

Credits

  • Core 2 Extreme - For Video player for 3DS which this app is based on. Needless to say, the video playback functionality is essential for this app, and it would not have been possible to develop this software without him spending his time optimizing the code sometimes even with assembly and looking into HW decoding on the new 3DS.
  • dixy52-beep - For in-app textures.
  • PokéTube - For the icon and the banner.
  • The contributors of youtube-dl - As a reference about YouTube webpage parsing. It was especially helpful for the deobfuscation of ciphered signatures.
  • The contributors of pytube - As a reference about YouTube webpage parsing. Thanks to its strict dependency-free policy, making it possible to port some of the code without difficulty.

External links

Advertising: