Faster Youtube Uploading - Page 1
Forum section: electronics / general

author: mariush
author_rank: Super Contributor
timestamp: April 09, 2013, 03:49:59 pm
content: Quote from: EEVblog on April 09, 2013, 03:11:33 pmThe Youtube API allows you to upload videos, directly through API commands.So you could upload the video to your eevblog.com server then run a script on the server which sends the video to youtube.Tell your resident programmer to have a look here:https://developers.google.com/youtube/2.0/developers_guide_protocol#Uploading_VideosSearch for some open source app or php script that does this.Example, here's a pear class that supports uploading to youtube :http://www.phpclasses.org/package/3966-PHP-Upload-and-download-video-files-from-YouTube.html(but someone that knows php must write a form or something for you, this is just a library)other php examples :http://www.rd2inc.com/blog/2012/08/youtube-browser-based-uploader-with-php/

author: EEVblog
author_rank: Unknown
timestamp: April 09, 2013, 09:59:49 pm
content: Awesome, thanks, will look into this.I split the post, as it's a worthy separate topic.

author: EEVblog
author_rank: Unknown
timestamp: April 09, 2013, 10:03:01 pm
content: I also found these:http://sites.google.com/site/poweredbyyoutube/youtube-data-api-via-php-displaying-and-uploading-videoshttps://www.youtube.com/playlist?list=PL0993AAB41A7DD291http://www.phpclasses.org/package/3966-PHP-Upload-and-download-video-files-from-YouTube.html

author: EEVblog
author_rank: Unknown
timestamp: April 09, 2013, 10:35:24 pm
content: Also, I think it might be possible to upload a video from a URL instead of from my local hard drive.http://stackoverflow.com/questions/5456043/how-to-upload-video-to-youtube-from-an-urlusing the existing Youtube upload web form.

author: ddavidebor
author_rank: Super Contributor
timestamp: April 10, 2013, 05:21:28 am
content: Your web server is phisically near you?

author: EEVblog
author_rank: Unknown
timestamp: April 10, 2013, 05:38:56 am
content: Quote from: ddavidebor on April 10, 2013, 05:21:28 amNope, Texas, on the other side of the planet.

author: SeanB
author_rank: Super Contributor
timestamp: April 10, 2013, 03:21:56 pm
content: Can you upload to it though at the max your line will support.

author: mariush
author_rank: Super Contributor
timestamp: April 10, 2013, 05:41:16 pm
content: The basic idea is that you can use Winrar or another file compressor to "compress" the video with no compression, basically just splitting the video in several pieces that can be recombined on the server. This takes literally seconds.You can then use a ftp client to upload several files at the same time, saturating your upload bandwidth or getting over the traffic shaping imposed by the ISP, which may limit the upload speed of individual connections to some value.Whatever script runs on the remote server can just monitor a folder to detect when all archives in the pack are fully uploaded, then "unpack" the archives (basically recombine the video) and push it to youtube.Google having servers all over the world, should really allow you to upload at the maximum speed, but it's possible their upload servers are only in US or Europe, so the latency of the connection (packets going across the ocean, back and forth ajax queries in the browser etc) affects the uploads speed of individual connections.For playback, the ISP may have caching servers or Youtube may have servers that mirror the videos in Australia to give more consistent speeds.In my personal case, the uploads usually go to server in France. My home connection has 6 mbps upload bandwidth and Youtube would saturate this bandwidth and make the occasional gaming sessions have bad ping.I can't be bothered to set up QoS on my router so I just prefer to upload the videos to a dedicated server I have in a datacenter in Holland through ftp capped at 4 mbps, then push them to youtube at about 60-80 mbps.Later edit: Dave, you actually don't even need scripts.You could just ask your linux guy to set up OpenVNC on your server and Firefox (under linux) and then you can remote it like you'd remote into Windows and use Firefox to go to Youtube, select the video from the server's hard drive and push upload.The only issue might be that the server is fully managed and those guys might not want VNC installed due to potential security risk (someone guessing the password or whatever)

author: ddavidebor
author_rank: Super Contributor
timestamp: April 10, 2013, 06:46:15 pm
content: this idea of compression and ftp is really really awesome!

author: kfitch42
author_rank: Frequent Contributor
timestamp: April 10, 2013, 07:45:02 pm
content: Australia has fiber-to-the-node, right? The bandwidth of a car is pretty damn incredibleTime to get hacking (hacksawing?) on that node

author: Halcyon
author_rank: Unknown
timestamp: March 02, 2018, 11:04:48 am
content: Quote from: kfitch42 on April 10, 2013, 07:45:02 pmDon't even joke. When NBN Co. first trialled fibre to the premises back in 2009/2010 in Tasmania, it proved a great success. Finally we were upgrading our degrading copper network! (Or so we thought.)But then a bunch of morons thought it would be "cheaper" and "better" to roll out "mixed technology" (i.e.: Spend as little as possible now, deal with the problems later). I mean, really who needs more than 25 Mbps on a line that constantly drops out? Now don't get me wrong, I'm not an idiot and Australia is a huge country and not everyone can have fibre to their door, it's simply not going to happen (the stories you hear occasionally of people becoming lost (and even dying) on their own properties is very real).However take my home for example, I live about an hour drive from Sydney CBD, yet I'm stuck with old, corroded copper which NBN Co. are refusing to fix and ignoring the problem. My issues with NBN Co. have dragged on for almost 2 years, I've even gone to the lengths of being interviewed live on talk-back radio, getting my local member of parliament involved and making a submission to the Senate Estimates Hearing into the NBN.Yet these idiots at NBN Co. would rather spend millions upon millions of taxpayer's money each year, chasing faults and putting in place band aid fixes which might last a few months, rather than biting the bullet and admitting they got it wrong, the IT experts in Australia were right and just do it properly in the first place!It's honestly at the point where I'm waiting for mobile data caps to increase, the cost to come down and for 5G to be rolled out. Even now, on my mobile phone, I get far better speeds and reliability than I do from my fixed line service, meanwhile I pay $80/month for a 25/5 Mbps service with a decent provider for the privilege. Even if I wanted to pay for a faster service, my copper line doesn't allow the modem to sync any faster.

author: mariush
author_rank: Super Contributor
timestamp: March 03, 2018, 10:23:04 pm
content: Thanks for bringing up a thread from 2013.

author: Ampera
author_rank: Super Contributor
timestamp: March 03, 2018, 10:35:52 pm
content: I don't see the harm with necroposting this if he has something significant to add. The only real issue with necroposting is when you either do it on mass, or just end up adding useless information to an already closed forum.In the US, fibre communications is a grab bag. I can legitimately walk, on foot, for around 5 miles to an area that has absolutely no fiber service, whereas I have direct FttP with a current 90/90 unlimited data package that, if we so choose, could be upgraded to near gigabit speeds (I believe something like 900/900ish). My maths teacher, which I have made a bit of an acquaintance with, lives in what may even be the exact same city as me, or very close to it, but only has access to copper services (Not sure if it's cable or DSL, may be either) from a company that WAY overcharges the people who just don't have fiber service.Then, there's the matter of our net neutrality issues and ISPs like Comcast and Cox being total cocks (pun intended). The concepts of the bell monopoly are ever present, and in some places there are 0 other options besides Comcast. I actually live in an area where I can't get Comcast even if I wanted to, and I am damn happy that FiOS has been so good to us (besides knocking on our door every few weeks asking us if we want to buy their service, just for us to tell them we already own it and are paying for it, and that this has happened ten other times).Google Fiber is also another service that exists, but it's VERY limited, being only in a few cities, with additional rollouts likely to never happen because many of our ISPs own the exclusive government rights to use the lines, or a specific type of line, regardless of if they install their own.

author: Halcyon
author_rank: Unknown
timestamp: March 04, 2018, 12:49:12 am
content: Quote from: mariush on March 03, 2018, 10:23:04 pmYou're welcome. No idea how I ended up finding it though? I wasn't searching for it. It appeared in some "recent" list somewhere.

author: AlfBaz
author_rank: Super Contributor
timestamp: March 04, 2018, 01:05:30 am
content: Quote from: Halcyon on March 04, 2018, 12:49:12 amIt's a topic worth rehashing, much to the detriment of my blood pressure.