Post subject: New Release
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
I updated the files with a new version. What's New:
  • Fixed progress bar on large files.
  • Improved memory management.
  • Used creaothceann's text corrections.
  • Fixed a nasty file issue that only existed on Windows.
Edit: Brandon: I think this last fix will solve the issue in Windows you just reported. Edit 2: Checksums: c79bff998803656d68cfa83cb21b087a winytu/ytu.exe 334981029faa482729503a33127f2e4a5204178a winytu/ytu.exe f43be4ad0375a01dcdfd85370df512f2 linytu/ytu 9b4130d2191ff64ce695970369b3e766c989b62d linytu/ytu
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
Anyone test the latest version?
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Guga
He/Him
Joined: 1/17/2012
Posts: 838
Location: Chile
I'll report that I successfully uploaded a video. The program was terminated by a blue screen and used the continue option. Amazing work, Nach!
Brandon
He/Him
Editor, Player (191)
Joined: 11/21/2010
Posts: 914
Location: Tennessee
PS C:\Users\Administrator\Encodes\winytu> .\ytu.exe "C:\Users\Administrator\Encodes\Finished\GBC The Legend of Zelda Ora cle of Seasons (USA) in 01-25-57.22 by Swordless Link & Tompa\fixed_youtube.mkv" "Seasons" "TAS" 7 YouTube Uploader Copyright (C) Nach 2012 Please enter a description. Press Enter/Return thrice when you are done. Test Title: Seasons Tags: TAS Category: Games Description: Test File: C:\Users\Administrator\Encodes\Finished\GBC The Legend of Zelda Oracle of Seasons (USA) in 01-25-57.22 by Swordless Link & Tompa\fixed_youtube.mkv Size: 2532290550 MD5: 4958a16ce7e439b237fd99ba9d8f5435 Continuation ID: 11 1211187200/2532290550 [***********--------------] 47% 0 B/sTimeout was reached 88113152/2532290550 [-------------------------] 3% 0 B/sTimeout was reached 92405760/2532290550 [-------------------------] 3% 0 B/sTimeout was reached 1270956032/2532290550 [************-------------] 50% 6.14063 MB/s 0:00:03:15Failed sending data to the peer 135249920/2532290550 [*------------------------] 5% 206.055 MB/s 0:00:00:11Failed sending data to the peer 249331712/2532290550 [**-----------------------] 9% 6.95 MB/s 0:00:05:13 Runtime error: Upload failed, 503:
All the best, Brandon Evans
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
Brandon: There's something very wrong going on by you. YouTube isn't even acknowledging any of the data you supposedly sent them. So far, no one else seems to be experiencing anything remotely along these lines. I wish I knew what makes your setup different.
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Brandon
He/Him
Editor, Player (191)
Joined: 11/21/2010
Posts: 914
Location: Tennessee
Nach wrote:
Brandon: There's something very wrong going on by you. YouTube isn't even acknowledging any of the data you supposedly sent them. So far, no one else seems to be experiencing anything remotely along these lines. I wish I knew what makes your setup different.
My connection is totally FUBAR. I'm pretty sure I get throttled for uploading a certain amount at a time. This is why I wanted to use FTP because it would typically restart instead of die the second there's a disconnect.
All the best, Brandon Evans
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
Brandon wrote:
Nach wrote:
Brandon: There's something very wrong going on by you. YouTube isn't even acknowledging any of the data you supposedly sent them. So far, no one else seems to be experiencing anything remotely along these lines. I wish I knew what makes your setup different.
My connection is totally FUBAR. I'm pretty sure I get throttled for uploading a certain amount at a time. This is why I wanted to use FTP because it would typically restart instead of die the second there's a disconnect.
The problem here isn't something being disconnected. The other end isn't even seeing what you sent till now. YouTube should be responding on resume that it saw some significant percentage of what you just sent, yet it always seems to be 0% or close to it. Edit: Is your DNS screwy? Perhaps you're being sent to some messed up YouTube server? Maybe we should consider finding other options for resolving the destination IP. Edit 2: Are you perhaps behind a proxy which is doing funny business?
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
Okay, it seems certain that Brandon is behind a proxy in his school which is causing trouble. Anyone ever worked around problematic proxies?
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
This is probably a stupid question, but can I upload without a Developer Key? I tried to obtain one but Google denied me. (I don't know what I am supposed to do at the dashboard, maybe I did something wrong there). A step-by-step help would be awesome, I haven't been this confused in months.
Guga
He/Him
Joined: 1/17/2012
Posts: 838
Location: Chile
C:\winytu>ytu --continue 10
YouTube Uploader                                       Copyright (C) Nach 2012

File: \Videos\TASVideos\YouTube\mmx5-tas-bernka_youtube.mkv
Size: 2950701482
 MD5: d1993925a18c8aa061c0aa7fd7a72ef3

Runtime error: Upload failed, 400: Invalid Request
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
Warepire wrote:
This is probably a stupid question, but can I upload without a Developer Key?
Google won't allow it.
Warepire wrote:
I tried to obtain one but Google denied me. (I don't know what I am supposed to do at the dashboard, maybe I did something wrong there). A step-by-step help would be awesome, I haven't been this confused in months.
https://code.google.com/apis/youtube/dashboard/gwt/index.html#newProduct You may need to accept some license, do so and you should see this: Put in a name (make up anything), hit save, you get a developer key appearing.
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
ThatGugaWhoPlay wrote:
C:\winytu>ytu --continue 10
YouTube Uploader                                       Copyright (C) Nach 2012

File: \Videos\TASVideos\YouTube\mmx5-tas-bernka_youtube.mkv
Size: 2950701482
 MD5: d1993925a18c8aa061c0aa7fd7a72ef3

Runtime error: Upload failed, 400: Invalid Request
Try again? How far did the upload go the first time? If this issue continues, I'll pass you a build with debug options.
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Guga
He/Him
Joined: 1/17/2012
Posts: 838
Location: Chile
I've tried 5 times. Same error all the time.
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
Nach wrote:
Warepire wrote:
This is probably a stupid question, but can I upload without a Developer Key?
Google won't allow it.
Warepire wrote:
I tried to obtain one but Google denied me. (I don't know what I am supposed to do at the dashboard, maybe I did something wrong there). A step-by-step help would be awesome, I haven't been this confused in months.
https://code.google.com/apis/youtube/dashboard/gwt/index.html#newProduct -big image- Put in a name (make up anything), hit save, you get a developer key appearing.
I think I tried that, will do it again.
Editor, Expert player (2329)
Joined: 5/15/2007
Posts: 3933
Location: Germany
Ok, I finally got around to trying this out. I was afraid of getting a developer key on the google account that my main youtube channel is tied to - because it required me to fill in false information - so I made a new google account. Sadly, the developer key I got only works for said google account and I wasn't able to get any keys from my other two google accounts, since this page https://code.google.com/apis/youtube/dashboard/gwt/index.html#newProduct would appear simply blank since then. So I had to open a new youtube account. Aside from these troubles, I was able to upload a test video just fine and am going to upload an actual file now. --- EDIT: My upload failed at 15%. http://i.imgur.com/f9nLn.png It might be worth noting that Chrome, when I had tried it, always froze halfway through the upload - most likely due to my ip changing, but I don't know if it can be related to YTU... The highest progress I got in Chrome was 70%. I might as well just try until it's up - though it takes over 20 hours to get anywhere...
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
Try continuing it?
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Editor, Emulator Coder, Site Developer
Joined: 5/11/2011
Posts: 1108
Location: Murka
MUGG wrote:
Ok, I finally got around to trying this out. I was afraid of getting a developer key on the google account that my main youtube channel is tied to - because it required me to fill in false information - so I made a new google account. Sadly, the developer key I got only works for said google account and I wasn't able to get any keys from my other two google accounts, since this page https://code.google.com/apis/youtube/dashboard/gwt/index.html#newProduct would appear simply blank since then. So I had to open a new youtube account. Aside from these troubles, I was able to upload a test video just fine and am going to upload an actual file now. --- EDIT: My upload failed at 15%. http://i.imgur.com/f9nLn.png It might be worth noting that Chrome, when I had tried it, always froze halfway through the upload - most likely due to my ip changing, but I don't know if it can be related to YTU... The highest progress I got in Chrome was 70%. I might as well just try until it's up - though it takes over 20 hours to get anywhere...
If your youtube account already has a developer key, go to http://code.google.com/apis/youtube/dashboard/ And you will see it Also, you do NOT need to use the same developer key as the youtube account you're uploading to. My ytu credentials.txt uploads to TVC using a developer API key bound on my personal gmail/youtube.
Editor, Expert player (2329)
Joined: 5/15/2007
Posts: 3933
Location: Germany
Nach wrote:
Try continuing it?
It doesn't work.
If your youtube account already has a developer key, go to http://code.google.com/apis/youtube/dashboard/ And you will see it
Yes, but I can only see it in my latest google account. I can't get a new key from my older google accounts.
Also, you do NOT need to use the same developer key as the youtube account you're uploading to.
If I do that I get a bad authentication error.
Banned User
Joined: 3/10/2004
Posts: 7698
Location: Finland
MUGG wrote:
it required me to fill in false information
? (There was actually a clause that said "you are required to fill in false information here", rather than the opposite? I don't get it.)
Post subject: could not get file contents
Joined: 3/18/2006
Posts: 971
Location: Great Britain
Works fine on one of my systems. But keep getting this on another:
runtime error: Could not get file contents.
Post subject: Perhaps some changes to help noobs like me?
Joined: 5/7/2011
Posts: 40
Location: Melbourne, Australia.
This seems perfect for some of the larger encodes my internet would never support for uploading. By any chance, would you perhaps be able to make the interface more user-friendly? I'm not a programmer, and most of the things I see here are quite difficult to understand. ( I'd love to be able to use this, but I only have the roughest idea on what I'm doing. For noobs like me, would you perhaps be able to make it much simpler to follow? You can do so in whatever way you seek fit ) I wouldn't blame you if don't want to, It's a lot of work, I just feel it might be easier for those who don't understand what's going on, what everything does, etc. Thanks )
(2011) <Mothrayas> Lesbian porn My greatest weakness! (2014) <Mothrayas> COMPLICATED MATH, MY NEW GREATEST WEAKNESS!
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
antd wrote:
Works fine on one of my systems. But keep getting this on another:
runtime error: Could not get file contents.
That would only occur if the file could not be read for some reason. Ensure the file is readable, and also, no funny file system business is going on. Perhaps certain language settings can cause an incompatibility. Is the file path ASCII?
ToonLinkGaming wrote:
This seems perfect for some of the larger encodes my internet would never support for uploading. By any chance, would you perhaps be able to make the interface more user-friendly? I'm not a programmer, and most of the things I see here are quite difficult to understand. :( I'd love to be able to use this, but I only have the roughest idea on what I'm doing. For noobs like me, would you perhaps be able to make it much simpler to follow? You can do so in whatever way you seek fit :) I wouldn't blame you if don't want to, It's a lot of work, I just feel it might be easier for those who don't understand what's going on, what everything does, etc. Thanks :)
I'll make a GUI when I get a chance.
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Joined: 5/7/2011
Posts: 40
Location: Melbourne, Australia.
Alright thankyou very much )
(2011) <Mothrayas> Lesbian porn My greatest weakness! (2014) <Mothrayas> COMPLICATED MATH, MY NEW GREATEST WEAKNESS!
Joined: 3/18/2006
Posts: 971
Location: Great Britain
that error has gone now and works fine on both systems (windows server 2008 r2) too bad youtube seems to limit uploads to ~550 KB/s
Post subject: New Release
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
New version uploaded with undocumented access to IP version forcing and debugging information. More information can be found on the wiki page. Edit: Sorry, I forgot to mention this earlier. Besides adding on some undocumented features, I also improved the timeout handling. I found a few obscure and extremely rare cases where timeouts would not be noted, and ytu would just hang waiting for something to happen. This new version checks for timeouts over every aspect of the communication process, so one should never go unnoticed anymore, no matter how obscure the issue is.
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.