File talk:200908281410-Andrew Lih-Challenges of Covering the Wikimedia Community.ogv

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 file 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 here's what I did:

 ## 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
 
 ## 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

-- brion (talk) 00:40, 30 October 2014 (UTC)[reply]

I wrote up some scripts to automate this process and am running it now. Seems to hit the 100mb limit on a few files, I'll upload them manually if necessary. --brion (talk) 04:51, 30 October 2014 (UTC)[reply]