yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] uudruid74:
[MENTION=4792098]xda_dentex[/MENTION]

Interesting bug. If I mux the audio back into a 4K/HDR webm video, it looses the HDR. I'm guessing it's an issue with ffmpeg? Any suggestions or workarounds?

---------- Post added at 01:17 PM ---------- Previous post was at 01:02 PM ----------

Well, make sure you have the extra formats turned on. Also that video isn't available in the US at all, the VPN on my phone got me to Germany and they are allowed 240p and mp3.

So, many of the issues people have may be due to country restrictions.

However, this one says "Category Music" and YouTube is trying to enforce copyright by moving all the music to YouTube Music app and charging a premium fee. Originally, they said that Google Home users could play YouTube background music to a smart display, and now that has changed as well. I used to be able to ask Google to play any song I wanted and it would do it. Now I need a subscription to select a song!

My guess is the move to YouTube Music may be culprit here.
[Android Apps and Games] pseudonym58:
This is a new and unfortunate development. Haven't seen those particular restrictions in USA yet. But I would guess it's just a matter of time. :(
[Android Apps and Games] uudruid74:
I'm in the USA ?
[Android Apps and Games] rjm831:
No notice of it in the thread, but thanks for the update! 6.8.2 seems fine. Appreciate the continued development.
[Android Apps and Games] xda_dentex:
Hello!

Yes I released the v6.8.2 ... we are living in strange times around here, I almost forgot.

https://dentex.github.io/blog/2020-03-21/ytd-v6-dot-8-2/

...and yes I noticed yesterday the two "unknown" formats. I also have to fix the preview (they removed the stream used by the app, in many cases).
[Android Apps and Games] pseudonym58:
Thanks, Samuele. Made a donation once again to this worthy project. My hopes to you and your family and friends to stay healthy!
[Android Apps and Games] koko115:
Thanks. Can U add option follow system theme to auto dark mode in android 10 ?
[Android Apps and Games] xda_dentex:
Sorry, I don't think so.

----

Due to another change at YouTube, you can find a new test version here: https://t.me/ytd_general/7292

EDIT: Now the blog has been updated https://dentex.github.io/blog/2020-04-10/ytd-v6-dot-8-3/

and in-app updates are also available.

apk link: https://dentex.github.io/files/apk/latest/dentex.youtube.downloader.apk
[Android Apps and Games] barry_:
Donated.

Many thanks.
[Android Apps and Games] FettyWap:
Thank you for your hardwork!!!
[Android Apps and Games] ataraxist:
I tried to install in an Andriod 9 TV. It works but it doesn't allow one to enter into settings. Hopefully this can be resolved to work with TV :)
[Android Apps and Games] heyrick:
Everything zero bytes?

Hi,

I'm wondering if you get this too - YouTube link EZR16oX0P2o (Wildpath - Light Heart) comes up with a selection of data types, MP4 video, WebM, etc. The usual sort of thing, only everything says "0 B" for the file size.

Best wishes,

Rick.
[Android Apps and Games] DiamondJohn:
The above happened to me once a few days ago:confused: so I clicked the back button to go back to YouTube Vanced, then immediately did the share again, and all the files displayed the expected number of MB.

I haven't seen it again since, but maybe because I possibly haven't downloaded anything else. Actually, just tried and it worked.
[Android Apps and Games] xda_dentex:
It's a bug.

Unfortunately I don't know how to fix it (especially difficult because I'm not working actively on the app, lately).

If you see a format reporting 0 bytes as file size, do not download it, it won't work.
[Android Apps and Games] pseudonym58:
I'm starting to see the "0 byte" bug more frequently, as well. However, sometimes if I search for a particular video within YTD the formats are listed properly. So far it's only when sharing a link to YTD that the 0 byte list appears, at least in my experience.
[Android Apps and Games] Phrodini:
Seeing a lot of 0b over here too
[Android Apps and Games] DiamondJohn:
Could the 0B have anything to do with the extra demand / load on youtube servers due to current Virus and stay at home issues? I have seen it once,not that I have downloaded too many.:confused:
[Android Apps and Games] xda_dentex:
Apart from the old "0 bytes" bug, all the recent errors were due to another issue. The new version 6.8.4 should address this problem.

https://dentex.github.io/blog/2020-05-29/ytd-v6-dot-8-4/

APK: https://dentex.github.io/files/apk/latest/dentex.youtube.downloader.apk
[Android Apps and Games] Meleth:
Hello dev. Thanks for the great app. However, 1080p streams (which I made sure were listed in v6.8.3) aren't available in v6.8.4 with the exception of AV1.
[Android Apps and Games] dingsaller:
[MENTION=4792098]xda_dentex[/MENTION]

I've noticed that preview works again but without audio....
[Android Apps and Games] xda_dentex:
Yes, it's because the preview is picking up a "video-only" stream. This means that no "complete" streams are available for that video (at least as a low resolution useful for a preview).

You can obtain a complete one only via "mux" (merging audio + video): the app does that automatically for 480p and 1080p MP4 formats.
[Android Apps and Games] tgd66:
Is it possible to mix a downloaded video and audio stream within the app?

Keep the awesome work!

Cheers

TGD66
[Android Apps and Games] xda_dentex:
Yes, if you pick compatible audio and video streams. If you download an mp4 and m4a or webm and opus you press the VO and hit add audio.
[Android Apps and Games] xda_dentex:
Yep, sorry if I missed your post. Please paste a link where you observe this incongruous behaviour between v6.8.3 and v6.8.4, because I'm sure I didn't move anything in regards, but who knows...
[Android Apps and Games] tgd66:
Great! I just used it... works like a charm... :)

Cheers

TGD66
[Android Apps and Games] xda_dentex:
New version 6.8.6 is online:

I also added the support for a couple of new 8K formats.

I forgot to mention in the changelog: a big thank you to Meleth Lin who also spotted the regression.

(not so much) info: https://dentex.github.io/blog/2020-06-01/ytd-v6-dot-8-6/

apk: https://dentex.github.io/files/apk/latest/dentex.youtube.downloader.apk
[Android Apps and Games] pseudonym58:
I'm starting to see an issue whereby if videos are shared from the YouTube app, they appear once saved in the Dashboard with a generic title such as "YouTube_270p_360p.mp4". Any subsequent attempts at downloading a video of the same type results in "File already downloaded" with the attempt aborted.

EDIT: If I share a video from YouTube, and The format list shows only a generic title, I can usually obtain the correct title if I attempt to share the same video a second time.

Android 10, Samsung Galaxy S10e
[Android Apps and Games] xda_dentex:
Thanks for the report, I'll have a look at it.

In the meantime, a couple of bugfix versions have been released.

Apk is at the usual link: https://dentex.github.io/files/apk/latest/dentex.youtube.downloader.apk

...and a few notes as changelog:

Cheers
[Android Apps and Games] kim isaac buelagala:
Videos with av1 codec can't be muxed with sound, is it the ffmpeg, I tried it with other ffmpeg apps manually which works.
[Android Apps and Games] Jazz2k:
I get this also. I tend to close both the downloader app and the yt app and start again... Or I just click search tab in the YTD app, find the video and it works then with the name. Sometimes I've cleared the download list on YTD so. Its not consistent though. Maybe some big or cache that doesn't pick up the name. More a little annoyance rather than a big problem. I think it's done this on my Pixel 3 for ages - maybe more regular now though?

Either way - it's still a great app for saving my data :)
[Android Apps and Games] theredbaron1834:
I emailed logs with the dev. They are aware of the issue, but unable to work on it at this time. With the world the way it is, I can understand. Just wanted to let y'all know it is on their radar.

Also, I have found there is no need to restart the app, etc. Just back to youtube and reshare. It can take a few reshares, but it will get the right name.

And yeah, I don't have data to spend. Every morning I get 5-10 videos that I listen to throughout the day. Its help me stay up with the news, so an amazing app :)
[Android Apps and Games] xda_dentex:
Hello guys, sorry for the delay in posting this.

Often I find quicker and easier to post things on Telegram.

There's a test version that maybe fixes this problem with the titles... You just have to try and possibly report back, please.

It does a couple of things:

- it searches for the title string in some other places also;

- it adds a timestamp in case everything fails and you come up with the "YouTube" title.

View attachment dentex.youtube.downloader_v6.8.9_test.apk
[Android Apps and Games] pseudonym58:
So far I have tested at least a dozen "shares" from the youtube app without any problems in titles. Thank you xda_dentex.
[Android Apps and Games] DiamondJohn:
Can I just add an extra thanks. The extra is that you have included the version in the filename:victory: I have been downloading for a while and have sometimes ended up with two files of different version, not totally sure which is the latest. The Version umber in the filename helps a lot, and is something i was too embarrassed to ask for as, I felt could of be looking a gift horse in the mouth
[Android Apps and Games] xda_dentex:
Ehehe!

Actually every version is (and always has been) available also with the version number in the filename. The link formats are: https://dentex.github.io/files/apk/dentex.youtube.downloader_vX.Y.Z.apk

vs

https://dentex.github.io/files/apk/latest/dentex.youtube.downloader.apk

where the last .Z might be missing, depending on the version

In forums or other social I use the "latest" link format in order to have the same link pointing always at the latest version available, no matter *when* you look at it.

The 6.8.9 is a test version that is not available on the blog, so it did have the version in the filename, as it comes out of Android Studio.
[Android Apps and Games] xda_dentex:
v6.8.9

Today I had a look closely and it seems that v6.8.9 is working good, in regards to the video title problem:

apk link: https://dentex.github.io/files/apk/dentex.youtube.downloader_v6.8.9.apk
[Android Apps and Games] DiamondJohn:
I've got a video that is failing with a "Network Error" when trying to source the audio as an MP3

Video: https://youtu.be/nA30VTwMO4k

Attached is a logcat
[Android Apps and Games] xda_dentex:
I don't know why but I can't see the attached logcat. Do you still have this issue? Did you try switching network type?
[Android Apps and Games] DiamondJohn:
I just downloaded the logcat, to put it on hastebin

https://hastebin.com/tobepufuki.sql

So it is weird it fails downloading for you. It does show as being attached? and its only the download that is failing right?

I just tried switching off Wi-FI and over to mobile data, and it worked. So, it appears there may be something with my ISP. The thing that made me assume my WiFI network was OK, was that MP3's of other video's downloaded fine and my internet browsing was fine ... except I also currently have an issue logged with my ISP, as for some reason, I cannot access github.com, so its possibly related to that as well.
[Android Apps and Games] xda_dentex:
OK for your issue with downloads, understood.

As for the logcat downlaod, it was Tapatalk, in my case, not working properly. Anyway your logcat was not informative: next time you have to enable logging in the app's settings first, otherwise YTD will not log any information in the system log. ;)
[Android Apps and Games] DiamondJohn:
:silly:oops... didn't know I needed to turn on logging in app. Sorry. NOW the logs look more informative.

https://hastebin.com/fepidogijo.pl

And just to be clear, I simply found another copy of the item, and downloading that one, worked. ie I had a work around for the task at hand. Although, maybe the error was the universe trying to tell me I should be listening to more age appropriate music;)
[Android Apps and Games] xda_dentex:
I see a generic "Network Connection Error" ... I honestly don't know why. Also, being the one you uploaded the system log (not the one written by the app) it's truncated, so I cannot see the id for the video that was not working... You can try sending it again via the app, if you don't mind. Or if you're happy like this, let's skip it.

How you prefer :)
[Android Apps and Games] DiamondJohn:
The video URL was in a previous post.

HOWEVER, I just tested it on another device, and it downloaded OK, so its clearly something with the other device.:o So its probably best to skip it, unless you want me to check it further on the failing device.
[Android Apps and Games] xda_dentex:
mmhh... no, just clear the app's data and try again... it should work.

Thanks
[Android Apps and Games] DiamondJohn:
I almost face palmed that I didn't try clearing its cache & data, however, luckily for me (ie for my pride) it didn't make a difference. I also sent the logcat via email, but not because I wish or expect you to look at it, just an FYI.
[Android Apps and Games] xda_dentex:
I can download that video without problem, so I can't say what's wrong.

In the log, (that seems taken from a rooted device...) I noticed the error:

Did you somehow mess with proxies, connections, blacklists and other amenities?

This might explain why you can't reach some YT servers.
[Android Apps and Games] DiamondJohn:
And I can too from a different device.

Both devices are rooted with Magisk, but different versions.

Proxies no, but I do have a rather large host file. 4.2MB, 163054 hosts, and its overdue for an update

:o:o:o and I just searched it, and it does have "r5---sn-u2bpouxgoxu-ntqr.googlevideo.com" in it! this would explain why the other phone works also, as it still has the plain default host file. There are a HEAP (71) of google video hosts in the host file. hmmmm... now to find which source has these in their list. Sorry for all the confusion and time wastage.
[Android Apps and Games] xda_dentex:
So you have entries in the host file to act as an ad blocker? This is what AdAway does IIRC.

This might explain the problem with that server.

Oh and regarding ads on YouTube (again, IIRC) if you block their servers you're blocking also their content, not only the ads ... (They made a clever move[emoji2955]).
[Android Apps and Games] DiamondJohn:
I am not using AdAway to build my hostfile. But what is used is irrelevant, its the hosts sources that make up what is or isn't blocked. I actually use Vanced YT to block my ads on youtube,

The weird thing was I have NEVER had any content blocked from viewing within YT. Including the file that wouldn't download, actually played perfectly fine.

Now, where it gets a little bit embarrassing, I investigated where / what list was including the youtube video hosts, and I found it. It was a block-list I had explicitly downloaded years ago, which is labeled as blocking youtube ads, which is bound to fail, as YT deliver their ads from the same servers they deliver video from. Anyway, I removed all the "*.googlevideo.com" hosts from that blocklist, and now it is working (ie downloads). So it was my bad:o, not the actual host builder I use (an AdAway alternative).
[Android Apps and Games] xda_dentex:
All copied... No problem at all :) enjoy your hacking journey :good:
[Android Apps and Games] oxmis:
Anyone else getting this error? View attachment 5069757
[Android Apps and Games] goldybewon:
The message I have received from OP. Below mentioned tricks solve my issue.

The problem seems to be YouTube requesting a re-captcha after observing high activity from a certain IP address...

Unfortunately I don't think this will be fixable. Re-Captcha are used for that reasons (they are that thing on websites, where you click on "I'm not a robot").

You can try the following things, in order to change IP, as seen by YouTube:

- if you're using TOR network or similar services (i.e. VPN), that is probably the n.1 reason for the re-catcha;

- switch network (WiFi <-> mobile);

- turn your router OFF and then ON again (if you're on a WiFi network, this will usually give you another external IP; not always, depending on your ISP);

- similarly to the above, enable Airplane mode on your device and then disable it (useful if on mobile network).

Your mileage may vary: I cannot reproduce this error, in order to investigate it further, so I'm not sure this is the solution.

I'd appreciate some feedback in regards, if you try anything.

Hope this helps,:good:
[Android Apps and Games] DiamondJohn:
To be clear, I have not had the above issue with YTD. However, I do use the TOR browser on my desktop and often to view YouTube. I have never got a captcha on youtube. What I do get is a direct blocking of youtube, no questions asked:mad: I usually use "new TOR circuit" to get around it.
[Android Apps and Games] oxmis:
Looks like the new update fixed the issue. Thanks
[Android Apps and Games] xda_dentex:
Yes I updated the app, issue is resolved in v6.9 :)
[Android Apps and Games] xda_dentex:
New v6.9 is available: more (...not much) info here: https://dentex.github.io/blog/2020-07-28/ytd-v6-dot-9/

apk: https://dentex.github.io/files/apk/latest/dentex.youtube.downloader.apk

Changelog:
[Android Apps and Games] oxmis:
You tha man!
[Android Apps and Games] dingsaller:
[MENTION=4792098]xda_dentex[/MENTION]

Thx for v6.9 :good:
[Android Apps and Games] willemijns:
Hello,

A little hard to explain a bug without having URL posting authorization when you are a new user.....

No choice so let is try...

We can paste on the search bar "well known and direct youtube links" like "w*w.youtube;com\watch?v=XXXXXX" and it works well

but

on a mobile it can be "m;youtube;com" URL links and on this particular case YTD makes an error :(
[Android Apps and Games] DevanScott:
Can't download

After updating to 6.9 I can't download anything, I am getting "An error occurred" please try again
[Android Apps and Games] dingsaller:
Same here!

When I thanked xda_dentex for v6.9 three weeks ago it worked; maybe YT again changed something....
[Android Apps and Games] DiamondJohn:
Works perfectly for me (I only tried audio). Logcat?
[Android Apps and Games] xda_dentex:
Guys the app's search is broken due to a change at YouTube. There's a beta version available. I'm attaching it here.View attachment dentex.youtube.downloader_v7.0-beta-3.apk
[Android Apps and Games] DiamondJohn:
If I am reading it right, its only the in app search for YTD? if I use the share link from other YT (Vanced in my case) it should be fine?
[Android Apps and Games] xda_dentex:
Exactly
[Android Apps and Games] xda_dentex:
Hello guys, i want to notify you that the beta version available up here will be the last version of youtube downloader. Feel free to use it until it works.

I want to thank everyone for the support shown. If you donated something via paypal, maybe recently, and you feel like you want it back, just drop me an email at the same gmail address you used for the donation; i'll be happy to refund it.

best regards,

_dentex_
[Android Apps and Games] nicesoni_ash:
That's too bad. Is the reason to end it all a Cease and desist letter from Google or someone or something personal?

Whatever it is, this app has been pretty useful for many years. Good luck for your future projects.
[Android Apps and Games] coal686:
Thread closed at OP request.

OP, if you ever want to reopen, please create a report or PM me and we will take care of it for you. Good luck on your future endeavors!
[Android Apps and Games] xda_dentex:
Hello everyone.

It seems I actually prepared a new version of the app...

I simplified the things a little bit, both for the app and (what once was) the blog: https://dentex.github.io/

apk download link:

https://dentex.github.io/files/apk/dentex.youtube.downloader_v7.0.apk

changelog:

I'm sure some rough edges still exist... (in the mean time they changed a lot of stuff);

maybe you could let me know how it goes.

Thanks!
[Android Apps and Games] User_99:
Nice to see a new version. Great
[Android Apps and Games] Gareee:
I was lamenting your development of this, and am SO glad its not dead!

It was near impossible to get to this thread on xda because of its changes though.

Thank you for not abandoning this, and have a great holiday season!
[Android Apps and Games] scandiun:
Thanks A LOT!
[Android Apps and Games] DiamondJohn:
I have only done a single download with the new one, as a test, and it was only audio (which I guess is an extra step, so more detailed than video with audio) and that worked.(y)
[Android Apps and Games] sjunaz:
I just came here to thank you, sincerely, for your work. I am truly grateful for it and I send you my best wishes.

-s.
[Android Apps and Games] Darkaeluz:
Maaaaaaaaan, you don't know how grateful I am for this! I seriously couldn't find a better alternative and was resigned to never having a better experience, thanks for continuing and giving us such a great app!
[Android Apps and Games] cdurex:
Hey, man awesome thanks for sharing!

And I actually never uninstalled the app and always sent video there hoping it worked :D

And today when I opened it! Received an AWESOME surprise, a popup saying there was an UPDATE to the app!!!

I could believe it, man.

Had to check everywhere first to see if it was real!!!

Then proceed to update it!

Pretty awesome man!

Thanks again for sharing!!
[Android Apps and Games] xda_dentex:
Thanks everyone for the great support, I appreciate it.

I just released a new version of the app.

changelog:

app's page: https://dentex.github.io

apk download link: https://dentex.github.io/files/apk/latest/dentex.youtube.downloader.apk
[Android Apps and Games] LadyHaywood:
Unsure if this was meant to be like this, but I'm not able to download videos in 1080p
[Android Apps and Games] xda_dentex:
Link?

Yes, you should be able to download videos in 1080p. This works in three steps: video-only stream download, audio-only stream download, "mux" pass. This is done by clicking on the 1080p format entry usually on the upper part of the format list. The "bold" entries means they have to be processed by FFmpeg.
[Android Apps and Games] User_99:
All fine here. Works great. Thx very much...
[Android Apps and Games] LadyHaywood:
I do see the video/audio only options, but to have it download normally the 1080p option that used to be there before updating isn't. I did download the ffmpeg plug in.

I've used this app for a very long time so I'm just a little confused if there's something I missed in the settings once I updated.
[Android Apps and Games] xda_dentex:
I checked this video and the reason for this behaviour is that the 1080p video-only stream at "normal" FPS is not present. It only has the 60fps. So the app is skipping the 1080p "mux" entry. This can be fixed. I can make it use the other 1080p format in such cases.
[Android Apps and Games] LadyHaywood:
Oh! Thanks for informing me, I would make sense since it can't download something that's not there. I never actually ran into that problem before.
[Android Apps and Games] xda_dentex:
Yep, I noticed it now too, after your report.

Please have a look at the attached version.

I tried it only on a few videos, as this one, but it should work as I said earlier: when the "normal" fps 1080 video-only is not available, but the 60fps one is, it will use the latter for muxing a complete MP4 1080p video.
[Android Apps and Games] xda_dentex:
I posted a slightly modified version that *should* handle some FC I saw through BugSense (I introduced it again with the last RC version).

It's available at the same link above, with the same file name.

Feel free to install it over. :)
[Android Apps and Games] coolhof:
Also working good.:thumbup:

Verzonden vanuit Nederland naar de rest van de wereld met de xda premium app.