Category talk:Wikimania 2009 presentation videos

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Encoding fix

[edit]

Current transcode tools & players seem to not like these Wikimania 2009 files, I think due to the way they were chopped from original streams.

I was able to rewrite the files using ffmpeg and oggz-chop, keeping the original audio/video encoding intact but rewriting all the packet headers and timecodes (so the stream now "starts" at 0:00 not at 52 minutes something) and both Chrome and our transcode infrastructure seem much happier with the file. Will see about a batch fix and reupload of all the Wikimania 2009 files...

For reference, the batch scripts I used are at https://github.com/brion/wikimania-2009-video-fix

Dependencies:

 ## ffmpeg 2.4.2 and oggz-chop installed on Mac OS X with homebrew via:
 brew install ffmpeg --with-theora --with-libvorbis --with-libvpx --with-opus
 brew install oggz
 # install PEAR if necessary
 # install Http_Request2
 pear install Http_Request2

Quick example of what's done for each file:

 ## copy the original audio/video data to a new file
 ## note this may print some warning messages about weird time codes or unmarked keyframes
 ffmpeg -i 200908281410-Andrew_Lih-Challenges_of_Covering_the_Wikimedia_Community.ogg -c copy argh3.ogv
 
 ## Add ogg skeleton metadata for good measure
 oggz-chop -o argh4.ogv argh3.ogv
 
 ## now upload argh4.ogv on top of the original file

Note there are two upload scripts as I had to patch it up for a second run going over chunked uploads for >100mb files. :P --brion (talk) 07:29, 30 October 2014 (UTC)[reply]

(Still running the >100mb ones right now. --brion (talk) 07:30, 30 October 2014 (UTC))[reply]