#1
|
|||
|
|||
mega.nz and youtube.com questions and possible requests
Welcome back, Jiaz. Hope you had a happy, German Unity Day. I had a couple of questions about these two plugins, that I was told, you would know the answers to.
mega.nz
Spoiler:
youtube.com
Here's the link I used for testing, in all of the above, **External links are only visible to Support Staff****External links are only visible to Support Staff** . |
#2
|
||||
|
||||
As I'm now on my way home, I will respond tomorrow morning
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
It's morning now. *Sniffle, sniffle.* "Where are you, Jiaz!!!" *Cries uncontrollably.* "I'm scared and alone." *Hears twig snap and turns head swiftly.* "AHHHH!!! I think they're here." *Runs away, fast as hell.*
|
#4
|
||||
|
||||
mega.nz:
1.) do you set the sha1 yourself or where does it come from? I could not find any hash information from their api. so I guess you set it manually and wonder why it is not checked at the end, right? 2.) will check/fix it youtube: 1.) it is simple mux/demux, no transcoding 2.) Size on disk heavily depends on many filesystem factors. 2.1.) read more here https://board.jdownloader.org/showthread.php?t=70676 2.2.) Flashgot simply downloads the files but no mux/demux happening, as far as I know 3.) please provide example links, can't reproduce 4.) not supported yet
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
Quote:
Thank you, very much. I assumed this, but just wanted to make sure, because JD was using the word, "converting". Let me ask you one more thing then, does JD automatically update FFmpeg? If not could you please add a feature to. Also is it for 32bit or 64bit system? Okay. Quote:
Quote:
I gave you one in my first post. Here it is again, **External links are only visible to Support Staff****External links are only visible to Support Staff** . Like I said earlier, it only happens when I'm downloading the DASH files, that use FFmpeg to mux. When I download the 720p .mp4 that YouTube already has muxed, "(720p_30fps_H264-192kbit_AAC)" it downloads fast as hell. Here are example pictures, Here's where the problem happens, it's downloading two separate DASH files that are going to be muxed, at 1 MB/s, with 1 connection, (1080p_30fps_H264-128kbit_AAC)
Spoiler:
Here's what the file looks like in my Downloads folder, while downloading, "7_dKY3_vleU_MP4_H264_1080P_30FPS_AAC_128KBIT_DASH_58fc4d43e4353c3f81e1691f3107a4d4.dashVideo.pa rt". It took 8 minutes to finish downloading, which is ridiculous for a, 318 MB file.
Spoiler:
Here's where it works fine, it's downloading 1 file, at 22.5 MB/s, with 1 connection, (720p_30fps_H264-192kbit_AAC)
Spoiler:
Here's what the file looks like in my Downloads folder, while downloading, "UFC 204 Free Fight_ Michael Bisping vs Luke Rockhold (720p_30fps_H264-192kbit_AAC).mp4.part". Just to leave no confusion, here's the log for, "(1080p_30fps_H264-128kbit_AAC)", where the problem happens. 05.10.16 10.49.50 <--> 05.10.16 11.00.50 jdlog://1227581887641/ Thank you, very, very much. |
#6
|
||||
|
||||
I've added hash support in mega with next plugin update. I'm sorry but I was not able to reproduce the second issue you've described (rename it while it's still downloading, when the file finishes downloading it says, "Host problem?"..) Can you please provide a logfile for that
__________________
JD-Dev & Server-Admin |
#7
|
||||
|
||||
I've changed plugin to avoid that "Host Problem" but without a way to reproduce or a logfile I'm really trampling in the dark :(
__________________
JD-Dev & Server-Admin |
#8
|
||||
|
||||
Quote:
07.10.16 07.28.23 <--> 07.10.16 07.30.28 jdlog://1398581887641/ Also, if you could please answer these questions I asked before, when you have time.
Spoiler:
Quote:
Last thing, you asked me to provide example links, for the YT download speed issue and I gave you one, plus more info and a log, but you gave no response. Is this because you're busy or just didn't see it? If you're busy, then I understand.
Spoiler:
Quote:
|
#9
|
||||
|
||||
I'm working one issue , then the next one
Thanks for the logs. Sparse File: Normally the OS fills empty *gaps* with 0. For example you download a 1GB file with 2 connections, then one connection starts at beginning and the other one in the middle of the file. That causes the OS to fill the *gap* between beginning and middle with 0 so it can continue to write data to it. That can take a moment (longer time). In that time the tcp/http connection could timeout and cause download abort and need to retry/resume. With sparse flag enabled, the OS does NOT fill the gap. for sparse files only *used* regions are written to disk. A sparse file can easily be several TB/PB in size yet only use some bytes on the disk. Wikipedia and google also provides further information about this. That's why we make use of it to avoid timeouts with large files and max connections > 1. Youtube: will take look at it after mega
__________________
JD-Dev & Server-Admin |
#10
|
||||
|
||||
Rename issue should happen *less common* with next plugin update. But it requires more complex proper bugfixing, see
__________________
JD-Dev & Server-Admin |
#11
|
|||
|
|||
You're welcome.
Quote:
Quote:
|
#12
|
||||
|
||||
I will first add an option to disable use of sparse files completely. Yes, that *can* cause issues in specific situations. For example download a single 10gb file with 2 connections, so the second connection will have to wait before the OS finished filling up 5GB of zeros in the file. In times of SSDs no issue but an HDD will take some time. No imagine downloading to slow USB2.0 drive or even external NAS network drive with slow connection.
To be honest I don't care about the difference in filesize/disk size. It will go away in the moment when you copy/not moving to another place. It also only affects downloaded files. Extraction dont use sparse files. Removing the sparse flag after download will not *fix* the discrepancies. Only a copy of the file can do it. But I also plan to remove the flag after file is finished because some tools don't *like* the flag enabled.
__________________
JD-Dev & Server-Admin |
#13
|
|||
|
|||
Quote:
Wow, that worked. Is there a way you could please add an advanced settings option, to automatically copy sparse files and delete the original, so we can still download using sparse files, without the size and size on disc discrepancy? Example: File_Name.mkv (Sparse file.) to, File_Name.mkv (Sparse file.) File_Name_2.mkv (No sparse.) to, File_Name_2.mkv (No sparse.) to, File_Name.mkv (No sparse.) |
#14
|
||||
|
||||
SparseFlag must be set during creation of the file. Not every filesystem supports sparse files and it can cause *higher* fragmentation because of the missing zeros inbetween different file positions.
I've added *copy* as an addtional method to this ticket
__________________
JD-Dev & Server-Admin |
#15
|
||||
|
||||
With next core update- Settings-Advanced Settings-Youtube.ratebypassenabled enable it
__________________
JD-Dev & Server-Admin |
#16
|
|||
|
|||
Quote:
Quote:
HAHAHA Thank you, it works great. YT is downloading fast as hell with the dash files. What did you change? It says, Same file on other hoster works fine. Size on disk for MEGA was slightly smaller. MEGA on the left. Also, another difference in the properties was, MEGA on the left. I don't know if that means anything, but I thought I'd mention it anyways, just in case. Last thing, when I go into the context menu, "Other", "Start CRC task!", it won't start with MEGA files, but it does start with other hosters. Here is the same file with different hosters, for testing purposes. Last edited by madcowpig; 13.10.2016 at 19:30. Reason: The forum changes the word m.o.t.h.e.r, to woman. |
#17
|
|||
|
|||
Just tested the MEGA renaming issue and there's something wrong. When I download a file named, 1.part14.rar, start download, then rename it to, 2.part14.rar, when it finishes downloading, then decrypting, it gets automatically renamed back to, 1.part14.rar.
Edit: Also, after it renames it back to, 1.part14.rar, it says, "0 B" for file size in JD. Last edited by madcowpig; 10.10.2016 at 14:36. |
#18
|
||||
|
||||
Fixed "Start CRC Task" issue. Please note that it will only work with fresh added files. Wait for next plugin update
__________________
JD-Dev & Server-Admin |
#19
|
||||
|
||||
Quote:
It no longer causes "Host problem" error but still does not work correct. A proper fix will take longer time
__________________
JD-Dev & Server-Admin |
#20
|
||||
|
||||
I've tested your example file and worked fine for me every link. JDownloader shows CRC okay. So you should compare those files locally (eg via hexeditor, I'm sure they are not identical)
__________________
JD-Dev & Server-Admin |
#21
|
||||
|
||||
File on disk discrepancies comes from sparse and the Attributes signals Sparse flag (P attrib is for a SPARSE file)
__________________
JD-Dev & Server-Admin |
#22
|
||||
|
||||
Quote:
Quote:
Quote:
Quote:
After further testing, I know what the problem is. JD starts hash check before decryption happens, when you set JD to automatically start hash checks. It starts hash check on this file, "1.part14.rar.encrypted.part". |
#23
|
||||
|
||||
Found the issue with hashcheck. Caused by old vs new download core. Will be fixed with next update
__________________
JD-Dev & Server-Admin |
#24
|
|||
|
|||
Quote:
Quote:
Last thing, why did you edit my previous post? Did I break a forum rule? I only put a single .rar file of fourteen, so it couldn't even be extracted. Is there a different way I'm supposed to give you guys testing links? |
#25
|
||||
|
||||
I always remove links if they are no longer needed. That was the only reason
Wait for next core update and then mega hash check should work fine
__________________
JD-Dev & Server-Admin |
#26
|
|||
|
|||
Quote:
Cool, thank you. |
#27
|
||||
|
||||
Just to let you know, still working on next update (which will include the mega hashcheck fix)
__________________
JD-Dev & Server-Admin |
#28
|
|||
|
|||
Hey man, thank you very much. It always feels good to know what's going on, currently.
|
#29
|
||||
|
||||
Update is now live
__________________
JD-Dev & Server-Admin |
#30
|
|||
|
|||
Thanks. After testing there's still a minor issue. In the MEGA plugin there is a setting for tmp decryption file, which I use. When having this setting enabled, CRC still fails, because JD runs CRC on this file,
1.mkv.decrypted Which automatically gets renamed and turns into this file, 1.mkv If I manually run CRC on the final file, JD says CRC OK. In the next update, can you please create a few seconds of delay for CRC to start, so JD runs CRC on the final file. |
#31
|
||||
|
||||
I will have to test that. For me it worked in all cases, even with .decrypted.
Did you update and restart JDownloader? Just to be sure ?
__________________
JD-Dev & Server-Admin |
#32
|
|||
|
|||
Quote:
Spoiler:
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff** Here's the log where it fails and then I manually start CRC and it passes. 13.10.16 13.14.34 <--> 13.10.16 13.17.42 jdlog://8684681887641/ |
#33
|
||||
|
||||
Found and fixed, Wait for next plugin update. Sorry that it took me several tries :(
__________________
JD-Dev & Server-Admin |
#34
|
|||
|
|||
Thank you, very much.
No man, no apology needed. This is part of the game. I don't mind waiting a year, as long as there's progress happening somewhere, no matter how slow. |
#35
|
|||
|
|||
After testing, all hash checks work fine now. Thank you.
Now, the prefix of this thread should be changed to, "[See Bugtracker]", since I'm just waiting on these two tickets to get done. |
#36
|
||||
|
||||
thanks for the feedback!
next one will be metadata for yt links
__________________
JD-Dev & Server-Admin |
#37
|
|||
|
|||
Yes!!! After that, I can finally bulk download from YouTube, all in one. Download, mux, correct file names and correct names in metadata. I used to do this all manually, for hundreds of links. Super headaches.
Last edited by madcowpig; 21.10.2016 at 11:44. |
#38
|
||||
|
||||
Youtube Meta + Twitch Meta will come with next update tomorrow
__________________
JD-Dev & Server-Admin |
#39
|
|||
|
|||
I swear, right when I was about to ask for the status, then BOOM, you say it's ready. I've started my countdown timer. Thank you, very much.
|
#40
|
||||
|
||||
Update is live
__________________
JD-Dev & Server-Admin |
|
|