Last modified: 2013-02-02 22:58:42 UTC
Please upload 4 videos of the 2013 inaugural ceremony of Barack Obama--and a video of a news conference by the Russian president Vladimir Putin--to Wikimedia Commons. All file description are already in place on Wikimedia Commons, so the only thing that's remaining is to import the videos. * The tarball is available at <http://tools.wikimedia.pl/~odder/upload/Videos.tar.gz> * Please use the following username: Odder. [I normally upload files < 500 MiB via the UploadWizard, but it sometimes fails when it comes to files bigger than 150 MiB, so I reckon it would be easier for you to import them straight into fenari.] Thanks in advance for your work, -- Tomasz (odder)
You haven't included any description text reedy@fenari:/tmp$ ls -al odder/ total 8687656 drwxrwxr-x 2 reedy wikidev 4096 Jan 25 17:02 . drwxrwxrwt 31 root root 12288 Jan 25 17:02 .. -rw-rw-r-- 1 reedy wikidev 120643334 Jan 20 09:09 2013-01-19 President Obama's Weekly Address.ogv -rw-rw-r-- 1 reedy wikidev 1211357908 Jan 21 23:07 2013-01-21 President Obama's Inaugural Address.ogv -rw-rw-r-- 1 reedy wikidev 5036399255 Jan 24 06:48 2013 Barack Obama Inauguration Ceremony (full).ogv -rw-rw-r-- 1 reedy wikidev 2519030912 Jan 25 05:23 Vladimir Putin's press conference on 2012-12-20.ogv
Hi Sam, apologies for using this way of doing things, but I was kind of in a hurry on my way to work, and I decided to create file descriptions on Commons instead of creating text files on the server. All the descriptions are already on Commons: <https://commons.wikimedia.org/w/index.php?title=Special%3ANewPages&namespace=6&tagfilter=&username=Odder> so the only thing that needs doing is uploading the actual files. Thanks!
Aha, no problem. I'll finish these up later on when I've finished what I'm currently doing.
reedy@fenari:/home/wikipedia/common$ sudo -u apache mwscript importImages.php --wiki=commonswiki --comment-ext=txt --user=Odder /tmp/odder Import Images Importing 2013-01-19 President Obama's Weekly Address.ogv... No comment file with extension txt found for /tmp/odder/2013-01-19 President Obama's Weekly Address.ogv, using default comment. done. Importing Vladimir Putin's press conference on 2012-12-20.ogv... No comment file with extension txt found for /tmp/odder/Vladimir Putin's press conference on 2012-12-20.ogv, using default comment. done. Importing 2013-01-21 President Obama's Inaugural Address.ogv... No comment file with extension txt found for /tmp/odder/2013-01-21 President Obama's Inaugural Address.ogv, using default comment. done. Importing 2013 Barack Obama Inauguration Ceremony (full).ogv... No comment file with extension txt found for /tmp/odder/2013 Barack Obama Inauguration Ceremony (full).ogv, using default comment. failed. (* Could not write file "mwstore://local-swift/local-public/a/a6/2013_Barack_Obama_Inauguration_Ceremony_(full).ogv" because it is larger than {{PLURAL:4294967296|one byte|4294967296 bytes}}. * Could not store file "/tmp/odder/2013 Barack Obama Inauguration Ceremony (full).ogv" at "mwstore://local-swift/local-public/a/a6/2013_Barack_Obama_Inauguration_Ceremony_(full).ogv". ) Found: 4 Added: 3 Failed: 1 reedy@fenari:/home/wikipedia/common$
reedy@fenari:/home/wikipedia/common$ du --si /tmp/odder/2013\ Barack\ Obama\ Inauguration\ Ceremony\ \(full\).ogv 5.1G /tmp/odder/2013 Barack Obama Inauguration Ceremony (full).ogv
Thanks for your work Sam; I'll see what happened to this file when I get back home in about 2 hours; it shouldn't be that big, as far as I remember. I might need to convert it from the original MP4 into OGV again, but will write you when I'm able to log in into the ssh machine.
So I checked the OGV file, and it looks like there is no possibility for me to decrease its size without decreasing (a.k.a. damaging) the quality even further--I am already using "ffmpeg2theora -v 7 -a 6 --optimize" to convert the file. If the file is too big to be hosted on Wikimedia Commons, then I would be quite OK with closing this bug as RESOLVED FIXED, because the encyclopaedic value of this video is probably not too big; we can always refer to the White House website if a reader would want to watch the whole ceremony, and the most important part of it (the inaugural address) is already there on Commons. Coincidentally, the maximum size of the file as reported by the command line seems to equal the [[memory address#Word size versus address size|word size]] of a 32-bit computer: 4,294,967,296 bytes, or 4 gibibytes (GiB). Should we assume that this is the maximum size of a file that could now be hosted on any of the Wikimedia wikis, and Commons in particular?
(In reply to comment #7) > Coincidentally, the maximum size of the file as reported by the command line > seems to equal the [[memory address#Word size versus address size|word size]] > of a 32-bit computer: 4,294,967,296 bytes, or 4 gibibytes (GiB). Should we > assume that this is the maximum size of a file that could now be hosted on > any > of the Wikimedia wikis, and Commons in particular? protected $maxFileSize = 4294967296; // integer bytes (4GiB) https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=commit;f=includes/filebackend/FileBackendStore.php;h=3e3da50e8ac345a24b0619540966909fc65d7d56 I'm guessing it was a "randomly" picked value. If you want to see it raised, I guess it should be a separate but and discussed :)