• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP] arkTube; the ultimate YouTube downloader

Search This thread

bdr9

Senior Member
Mar 3, 2013
86
46
I've been using the licensed version of ArkTube for years, but recently it seems to be having a lot of problems downloading videos. Sometimes the download will fail immediately after starting it, other times it will get to 95-99% and then fail. When it does work, it often downloads at 50 KB/s which takes forever.

Is there anything that can be done about this? Maybe an update to the youtube-dl library is needed?


Edit: It looks like yt-dlp (the currently active fork of youtube-dl) has fixed the throttling issue in their fork. According to the release notes, the below command-line argument works around the throttling. So maybe switching to yt-dlp would resolve this issue.

Code:
--extractor-args youtube:player_client=android
 
Last edited:
  • Like
Reactions: aouni_tahech

polaxis

Member
Sep 27, 2017
23
9
I've been using the licensed version of ArkTube for years, but recently it seems to be having a lot of problems downloading videos. Sometimes the download will fail immediately after starting it, other times it will get to 95-99% and then fail. When it does work, it often downloads at 50 KB/s which takes forever.

Is there anything that can be done about this? Maybe an update to the youtube-dl library is needed?

Edit: It looks like yt-dlp (the currently active fork of youtube-dl) has fixed the throttling issue in their fork. According to the release notes, the below command-line argument works around the throttling. So maybe switching to yt-dlp would resolve this issue.

Code:
--extractor-args youtube:player_client=android
A workaround for me is turn of Wifi which cancels the downloads. Then I re-enable Wifi and manually click to continue the downloads. Most of then go to max speed.
 

polaxis

Member
Sep 27, 2017
23
9
My workaround now doesn't really work anymore. I'm also stuck with download speeds between 45 and 85 kbyte/s. Rarely there is download limited to 1.3 MB/s.
 

Kasual7

Member
Apr 23, 2018
7
0
It'd be great if anyone who's more verse than some of us can explain how to remedy the issue with the download speed?
 

polaxis

Member
Sep 27, 2017
23
9
It'd be great if anyone who's more verse than some of us can explain how to remedy the issue with the download speed?
No professional here. But the issue is coming from Youtube I think. I haven't found a downloader (Android and Windows) that currently can go above 1 MB/s download speed. Maybe we just have to wait until someone comes up with a solution for this.
 

arter97

Recognized Developer
Oct 14, 2012
3,783
33,964
24
Seoul
A new update to address the speed issue is now live.

Sorry that it took so long, the new engine swap took a lot more effort than I originally anticipated.

9.0
Fixed download speeds getting throttled too extremely
Switched engine to yt-dlp 2021.12.01
Fixed an error causing downloads to fail on videos with multiple subtitles
ffmpeg updated to 4.4.1
Python updated to v3.9.9
aria2c updated to 1.36.0
Android NDK updated to r23b
Other misc bug fixes
 

wzlde

Member
Nov 5, 2017
22
5
A new update to address the speed issue is now live.

Sorry that it took so long, the new engine swap took a lot more effort than I originally anticipated.

9.0
Fixed download speeds getting throttled too extremely
Switched engine to yt-dlp 2021.12.01
Fixed an error causing downloads to fail on videos with multiple subtitles
ffmpeg updated to 4.4.1
Python updated to v3.9.9
aria2c updated to 1.36.0
Android NDK updated to r23b
Other misc bug fixes
I have issues with this awesome app.
1. Some files from the same channel just fail, some download correctly. I would like to have more information, i.e. what's the reason (my wifi, or cellular, or provider blocked access, or something else). Now it just says Download failed. E.g. why does this file fail, both on wifi and on cellular:
-but other vids from the same channel can be downloaded?
2. I really need an option to resume hanged merging operations. When I download to sd card, I have often files that are merged up to 98% and then merging freezes. I need a way to see if merging of the file is frozen or mere slow.
3. I need a way to restrict total number of parallel downloads for non-playlist videos. E.g. download maximum 3 in parallel and add the rest to queue. Currently there is no limit on parallel download, and as a result, speed is low, and merging fails.
 
  • Like
Reactions: polaxis

Top Liked Posts

  • There are no posts matching your filters.
  • 234
    ark_line.png

    /* Usage */

    Use Google's YouTube app and select a video
    Select the share button(arrow) on the top right corner and choose arkTube
    Use a separate video player and watch the downloaded video

    /* Features */

    Supports downloading ALL resolutions including 1080p, 1440p, 4K and 8K [1]
    Supports downloading audio [1]
    Supports downloading playlists [1]
    Download accelerator support [1]
    Automatically merges thumbnail(artwork), tags and other metadata when downloading audio
    Provides option to merge metadata to video downloads [1]
    Supports downloading videos as VP9 format [1]
    Supports downloading audio as Vorbis / Opus codec [1]
    Supports downloading 50fps / 60fps
    Supports resuming paused downloads

    /* Powerful engine */

    arkTube uses one of the most actively developed open-source project in the world : youtube-dl
    Supports downloading all options
    Optimized downloader for faster downloads
    Download without any loss to quality
    Consistently updated for best compatiblity

    ** Video that requires adult authentication or login, marked as hidden from public, is a live-stream may be unsupported.
    ** VP9 is a new video codec from Google that improves video quality and reduces overall file size. Galaxy S6 and Galaxy Note 5 currently supports VP9.
    ** 50fps / 60fps with 1440p+ resolution is only provided as VP9.
    ** If you run into issues, make sure you're running the latest version and contact the developer with the URL of the video.

    [1] These features require additional donation package to be installed


    /* Contact */

    Email : [email protected]
    Twitter : @arter97_dev

    /* Downloads and links */

    arkTube APK
    arkTube and the Donation package has been tested with hundreds of different CTS-certified ROMs.
    If you have a problem activating arkTube's pro features, switch to another ROM or do a refund within the Play store.
    It's highly unlikely that I might be able to help you.
    If you missed the 2 hours refund window, email me personally.

    Donation package

    /* Screenshots */

    arter97.com
    63
    /* Changelog */

    9.0.1

    Fixed an error causing some downloads to fail
    (Download speed will be improved in future updates)

    9.0
    Fixed download speeds getting throttled too extremely
    Switched engine to yt-dlp 2021.12.01
    Fixed an error causing downloads to fail on videos with multiple subtitles
    ffmpeg updated to 4.4.1
    Python updated to v3.9.9
    aria2c updated to 1.36.0
    Android NDK updated to r23b
    Other misc bug fixes

    8.1.1
    Switched engine to youtube-dl 2021.04.01
    Fixed an error causing downloads to fail on some region
    Fixed resolution calculation for portrait videos

    8.1
    Added support to download an entire channel
    Fixed playlist downloads due to Google's server-side changes

    8.0
    Switched engine to youtube-dlc 2020.10.31
    Fixed an error causing some downloads to fail
    Added support for Mix type playlists
    Download now starts much faster
    Resuming downloads now work more reliably
    Optimized downloader to saturate multi-Gigabit connections such as 5G

    7.1.13
    Added support for Android 11
    Added an option to mark playlist numbers in reverse order


    7.1.12
    Fixed an error causing some downloads to fail
    youtube-dl engine updated to 2020.07.28

    7.1.11
    Fixed an error causing some downloads to fail
    youtube-dl engine updated to 2020.05.29

    7.1.10
    Fixed an error causing downloads to fail
    Fixed an error causing playlist downloads to halt indefinitely
    youtube-dl engine updated to 2020.03.24

    7.1.9
    Fixed an error causing some downloads to fail
    Fixed downloading issues with some playlists with emoji
    youtube-dl engine updated to 2020.01.24

    7.1.8
    Fixed an error causing some downloads to fail
    youtube-dl engine updated to 2019.09.12.1

    7.1.7
    Fixed an error causing titles to be incorrectly saved
    youtube-dl engine updated to 2019.07.30

    7.1.6
    Fixed an error causing some downloads to fail
    youtube-dl engine updated to 2019.06.21

    7.1.5
    Fixed an error causing downloads to fail
    youtube-dl engine updated to 2019.06.08

    7.1.3
    Fixed an error causing downloads to fail
    Fixed an error causing playlist order to be ignored
    youtube-dl engine updated to 2019.04.30
    ffmpeg updated to 4.0.4
    Python updated to v3.7.3
    OpenSSL updated to 1.1.1b
    Android NDK updated to r19c
    Other misc bug fixes

    7.1.2
    Fixed an error causing some videos to fail
    youtube-dl engine updated to 2019.01.24
    Python updated to 3.7.2
    OpenSSL updated to 1.1.1a
    Android NDK updated to r19
    Other misc bug fixes

    7.1.1
    Fixed an error causing downloads of some videos to fail due to encoding issues
    Prevention of Adoptable Storage added
    Guide added to disable battery optimization for the Donation Package

    7.1
    Fixed an error causing some videos to be shown as unsupported
    youtube-dl engine updated to 2018.11.07
    ffmpeg updated to 4.0.3
    Python updated to 3.7.1 and be much lighter
    OpenSSL updated to 1.1.1
    c-ares updated to 1.15.0
    Android NDK updated to r18
    Other misc bug fixes

    7.0.1
    Fixed an error breaking playlist downloads
    360p option added to auto download functionality
    Playlist downloads are now queued much faster
    Playlist notifications are better handled
    Fixed an error causing playlist cancellation to stuck on initialization notification
    Fixed a parsing error on some videos with AV1 codec
    - AV1 support is planned when YouTube provides high resolution tracks with AV1

    7.0
    Fixed an error causing many videos to be shown as unsupported
    youtube-dl engine updated to 2018.09.08
    aria2c updated to 1.34.0
    ffmpeg updated to 4.0.2
    Python updated to 3.7.0
    OpenSSL updated to 1.0.2p
    Android NDK updated to r17c
    Share menu icons redesigned for extra distinguishability
    Improved downloads cancellation to work much more reliably
    Added timeout setting of 1 minute to download initialization
    Update notification will now show changelog too
    Added an option for allowing or preferring 60 fps videos
    Other misc bug fixes

    6.1.2
    Added support for adaptive icon

    6.1.1
    Fixed download failures occurring when video title starts with a special character

    6.1
    youtube-dl engine updated to 2018.03.10
    Improved license validation
    Added support for high-FPS HDR videos
    Fixed crashes on HDR auto downloads
    Fixed crashes when trying to show high-FPS dialog
    Fixed some uncommon URL handlings
    Download attempt increased to 5 times from 3
    Other minor bug fixes

    6.0
    aria2c updated to 1.33.1
    ffmpeg updated to 3.4.1
    youtube-dl engine updated to 2018.02.04
    Python updated to 3.6.4
    Replaced Fast download mode with Dynamic download to countermeasure YouTube throttling
    Implemented HDR option
    Improved device responsiveness when downloading
    Improved downloads cancellation to work much faster
    Fixed notifications disappearing on rare occasions
    Fixed notifications getting stuck on rare occasions
    Improved initial download speed by caching JSON
    Improved initial stability by using proper youtube-dl option
    Fixed an issue where caches are not being cleaned
    Fixed VP9 detection on recent devices

    5.5
    aria2c updated to 1.33.0
    ffmpeg updated to 3.3.4
    youtube-dl engine updated to 2017.10.20
    Python updated to 3.6.3
    Android Oreo compatibility issues workarounded
    Few improvements to avoid force-closes

    5.4
    Dropped support for Android versions below 5.0
    ffmpeg updated to 3.3.3
    youtube-dl engine updated to 2017.08.18
    Python updated to 3.6.2
    Fixed a random crash making notifications stuck on Android Nougat
    Fixed a crash for German users
    Fixed a crash while parsing auto select data
    Fixed an issue causing notification title to be weird on Android Nougat during resuming downloads

    5.3.3
    youtube-dl engine updated to 2017.05.29
    Fixed an error causing error reports not being uploaded to the server

    5.3.2
    youtube-dl engine updated to 2017.04.28
    Fixed an error causing some videos to be shown as unsupported

    5.3.1
    youtube-dl engine updated to 2017.04.17
    Fixed audio playlist downloads being stuck

    5.3
    youtube-dl engine updated to 2017.04.02
    Added Dutch, Russian, Spanish, French and German translation
    Fixed stability issues on Android N
    Fixed fps parsing
    Fixed jpg files being left behind if mkv format is used
    Improved general stability

    5.2.2
    youtube-dl engine updated to 2017.02.10
    Fixed an error showing temporary network issue when it's not

    5.2.1
    youtube-dl engine updated to 2017.02.01
    Fixed an error causing force-close on triggering a new download
    Fixed an error causing many videos to be shown as unsupported

    5.2
    youtube-dl engine updated to 2017.01.29
    Emoji characters in video titles are now removed to workaround issues
    Fixed instability issues introduced in Android N
    Better formatted Notifications in Android N
    Downloads now handled in a separate service for improved stability
    Detects temporary network errors

    5.1.1
    Fixed an error causing app termination on installing components

    5.1
    Python updated to 3.6.0
    youtube-dl engine updated to 2017.01.10
    arm64 binaries added for 64-bit optimizations
    Fixed multiple errors causing videos to show as "Unsupported"
    Fixed an error causing app not to launch(white screen) on some devices
    Fixed a force-close error upon using External Storage
    Fixed different video downloads being recognized as duplicates
    Fixed 1080p video being auto-downloaded when 1080p60fps is requested
    Fixed the device lagging when downloading particular videos
    Play store : fixed donation package app not being detected

    5.0
    Major stability improvements
    Downloads failure rate reduced
    Fixed memory leaks causing download counts being limited
    Fixed 2GB file download limit
    Fixed playlist downloads cancellation not working properly
    Fixed permission check if root access is used
    Fixed issue where LG users having incorrect percentage if saving to external storage
    Fixed merge percentage calculation not displaying properly
    Internal performance improvements
    Metadata merging performance greatly improved(AtomicParsley)
    FFmpeg updated to 3.1.3
    youtube-dl engine updated to 2016.09.27

    4.0
    Python updated to 3.5.2
    youtube-dl engine updated to 2016.09.11.1
    Python and youtube-dl lightened to improve performance
    Advises users to turn off Doze for arkTube
    Download accelerator implemented with aria2c
    Implemented proper methods for external storage(SAF/Legacy/Root)
    Implemented option to choose directory on each download
    Added option to disable metadata download on audio
    Added option to download Vorbis/Opus audio
    Added option to separate audio download directory
    Heads-up notifications applied
    Fixed MediaScanner not working properly
    Fixed jpg files being left over
    Fixed segment downloads not working properly
    Other major bug fixes

    3.3.8
    Dismisses notification if downloading playlist and the file already exists
    (Next version will have Opus,Vorbis audio codec support, non-DASH support and fixes for audio thumbnails)

    3.3.7
    Misc bug fixes

    3.3.5
    Added support for shared YouTube videos

    3.3.4
    Fixed issues related to Nexus 6P's latest security update
    youtube-dl engine updated from 2016.04.24 to 2016.06.25
    Fixed some playlist downloads not working
    Added option to toggle track number in playlist downloads
    Fixed resuming cancelled downloads not working
    Added automatic crash reporting via ACRA

    3.3.2
    Fixes 4K, 8K auto downloads
    Fixes issues around download cancellations
    Memory optimizations : Auto Greenifying
    Share menu text changed to not truncate
    Fixes VP9, Metadata downloads not working properly
    Removes .temp, .jpg file properly

    3.3.1
    Misc errors fixed

    3.3
    Internal optimizations
    youtube-dl engine updated from 2016.02.13 to 2016.04.24
    Fixed some playlist downloads not working
    Misc errors fixed

    3.2
    Fixed download dialog's wrong title
    Fixed playlist downloading order
    Fixed download paths including % character
    Added number to playlist downloads
    Support added for unknown file sizes reported by YouTube

    3.1
    Fixed playlist downloads that contains an un-downloadable video
    Playlist tracks notifications are now dismissed after successful download

    3.0
    Downloading playlists implemented
    Auto download feature implemented
    AppIntro added
    Misc activities excluded from task switcher
    Video & audio download menu separated
    Download type showed in the notification
    Misc errors fixed

    2.3
    Properly fixed cancelling downloads
    Implemented resuming downloads directly from notifications
    Warning messages regarding VP9, Greenify added
    Added an option to toggle adding video ID after file name
    Implemented updates checker

    2.2
    Initial release



    /* Known issues */

    None
    40
    An NPE bug was found which can interrupt the download initialization process.
    5.2.1 will be dropped soon.



    Version 5.2 is up and it's *should be* a major stability improvement.

    http://arter97.com/browse/arktube/5.2/

    5.2
    youtube-dl engine updated to 2017.01.29
    Emoji characters in video titles are now removed to workaround issues
    Fixed instability issues introduced in Android N
    Better formatted Notifications in Android N
    Downloads now handled in a separate service for improved stability
    Detects temporary network errors
    31
    A much needed update is now live.
    The new update requires arter97 Donation Package v4.5 or higher.

    Due to my personal schedule involving university's midterm exams and leaving the country right after the exams to join an event held at India, the update took way longer than usual. It usually takes just a day or two to update the app upon a total breakage.

    I'd like to mention that I take supporting arkTube extremely seriously. During this update, I personally prioritized updating arkTube higher than watching Avengers: Endgame, and worked on it when I could watch the movie instead. arkTube will be kept on updated as long as I use YouTube.

    Thanks to everyone who waited patiently for the update and showed the support along the way.

    7.1.3
    Fixed an error causing downloads to fail
    Fixed an error causing playlist order to be ignored
    youtube-dl engine updated to 2019.04.30
    ffmpeg updated to 4.0.4
    Python updated to v3.7.3
    OpenSSL updated to 1.1.1b
    Android NDK updated to r19c
    Other misc bug fixes
    24
    Bug fix release is up.

    5.4
    Dropped support for Android versions below 5.0
    ffmpeg updated to 3.3.3
    youtube-dl engine updated to 2017.08.18
    Python updated to 3.6.2
    Fixed a random crash making notifications stuck on Android Nougat
    Fixed a crash for German users
    Fixed a crash while parsing auto select data
    Fixed an issue causing notification title to be weird on Android Nougat during resuming downloads