Ogg Theora video, Firefox 3.1, Archive.org & Wikimedia support Internet Archive Dec 2008 tracey jaquith archive.org
New <video> tag coming! <ul><li>example: </li></ul><ul><li>< video  poster=&quot;http://www.archive.org/images/logo.jpg&qu...
Ogg Theora video <ul><li>Thought to be most free, unencumbered video codec </li></ul><ul><li>Libraries/tools available fro...
archive.org <ul><li>mission to allow free uploading, storage, and serving for all </li></ul><ul><ul><li>1 million books </...
archive.org will rederive movies <ul><li>We have news: </li></ul><ul><ul><li>Democracy Now! </li></ul></ul><ul><ul><li>US ...
night of the living dead
how we make ogv fast/reliably <ul><li>High Level:  </li></ul><ul><ul><li>use ffmpeg to turn any video to &quot;rawvideo&qu...
<code>  <ul><li>ffmpeg  -an -deinterlace -s 400x300  -r 20.00  -i CapeCodMarsh.avi </li></ul><ul><li>-vcodec rawvideo -pix...
<ul><li>adding metadata to .ogv (and h.264 .mp4) </li></ul><ul><li>jumping into streams -- oggzchop (and mod_h264_streamin...
h.264 mp4 creation <ul><li>ffmpeg  -i CapeCodMarsh.avi  -b 512k  -s 320x240 -vcodec h264  -r 20.00   -bf 0 -level 13 -qmax...
metavid / wiki <ul><li>will natively play .ogv if codec </li></ul><ul><li>will use flowplayer if flash/h.264 </li></ul><ul...
goals <ul><li>make CC licensed (and otherwise) videos available </li></ul><ul><li>enable online transclusion and editing/m...
Upcoming SlideShare
Loading in...5
×

Internet Archive Video Presentation

2,084

Published on

Ogg Theora video, Firefox 3.1, Archive.org & Wikimedia support

1 Comment
2 Likes
Statistics
Notes
  • we are updating to use '-acodec libvorbis' very soon (we had to wait until we had specific tool upgrades after opting not to have a full OS upgrade at archive.org ). A piece of minor feedback to guest130913 is that the suggestion only works for pretty recent OSes -- our late 2007 ubuntu does not have the ability they indicate.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
2,084
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
29
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

Internet Archive Video Presentation

  1. 1. Ogg Theora video, Firefox 3.1, Archive.org & Wikimedia support Internet Archive Dec 2008 tracey jaquith archive.org
  2. 2. New <video> tag coming! <ul><li>example: </li></ul><ul><li>< video poster=&quot;http://www.archive.org/images/logo.jpg&quot; </li></ul><ul><li>controls=&quot;true&quot; autoplay=&quot;true&quot; </li></ul><ul><li>src=&quot;http://www.archive.org/download/to-SF/toSF.ogv&quot;> </li></ul><ul><li>for firefox betans </li></ul><ul><li></ video > </li></ul><ul><li>Trivial video embedding - may revolutionize video! </li></ul><ul><li>Firefox 3.1 beta released Oct1 </li></ul><ul><li>Full release by ~EOY2008 </li></ul>
  3. 3. Ogg Theora video <ul><li>Thought to be most free, unencumbered video codec </li></ul><ul><li>Libraries/tools available from: </li></ul><ul><ul><li>xiph.org (libtheora) </li></ul></ul><ul><ul><li>annodex.net/software/liboggz/ </li></ul></ul><ul><ul><li>ffmpeg </li></ul></ul><ul><ul><li>flowplayer </li></ul></ul>
  4. 4. archive.org <ul><li>mission to allow free uploading, storage, and serving for all </li></ul><ul><ul><li>1 million books </li></ul></ul><ul><ul><li>400K audio progams and concerts </li></ul></ul><ul><ul><li>100 billion web pages </li></ul></ul><ul><li>The Internet Archive, a 501(c)(3) non-profit, is building a digital library of Internet sites and other cultural artifacts in digital form. Like a paper library, we provide free access to researchers, historians, scholars, and the general public. </li></ul>
  5. 5. archive.org will rederive movies <ul><li>We have news: </li></ul><ul><ul><li>Democracy Now! </li></ul></ul><ul><ul><li>US congress (w/ metavid) </li></ul></ul><ul><li>games, speed runs </li></ul><ul><li>cartoons/animations </li></ul><ul><li>feature films </li></ul>and more!
  6. 6. night of the living dead
  7. 7. how we make ogv fast/reliably <ul><li>High Level: </li></ul><ul><ul><li>use ffmpeg to turn any video to &quot;rawvideo&quot; </li></ul></ul><ul><ul><li>pipe its output to *another* ffmpeg to turn the video to &quot;yuv4mpegpipe&quot; </li></ul></ul><ul><ul><li>pipe its output to the libtheora tool </li></ul></ul><ul><ul><li>for videos with audio, ffmpeg create a vorbis audio .ogg file. </li></ul></ul><ul><ul><li>add tasty metadata (with liboggz utils). </li></ul></ul><ul><ul><li>combine the video and audio ogg files to an .ogv output! </li></ul></ul><ul><li>tikirobot.net/wp/author/tracey-pooh </li></ul><ul><li>(or just google &quot;ogv tracey&quot; 8-) </li></ul>
  8. 8. <code> <ul><li>ffmpeg -an -deinterlace -s 400x300 -r 20.00 -i CapeCodMarsh.avi </li></ul><ul><li>-vcodec rawvideo -pix_fmt yuv420p -f rawvideo - </li></ul><ul><li>| ffmpeg -an -f rawvideo -s 400x300 -r 20.00 -i - -f yuv4mpegpipe - </li></ul><ul><li>| libtheora-1.0/lt-encoder_example --video-rate-target 512k </li></ul><ul><li>- -o tmp.ogv; </li></ul><ul><li>ffmpeg -i CapeCodMarsh.avi -vn -acodec vorbis </li></ul><ul><li>-ac 2 -ab 128k -ar 44100 audio.ogg; </li></ul><ul><li>oggz-comment audio.ogg -o audio2.ogg TITLE=&quot;Cape Cod Marsh&quot; </li></ul><ul><li>ARTIST=&quot;Tracey Jaquith&quot; </li></ul><ul><li>LICENSE=&quot;http://creativecommons.org/licenses/publicdomain/&quot; </li></ul><ul><li>DATE=&quot;2004&quot; ORGANIZATION=&quot;Dumb Bunny Productions&quot; </li></ul><ul><li>LOCATION=http://www.archive.org/details/CapeCodMarsh; </li></ul><ul><li>oggzmerge tmp.ogv audio2.ogg -o CapeCodMarsh.ogv; </li></ul>pipes = nice on 2+ cores (set to input)
  9. 9. <ul><li>adding metadata to .ogv (and h.264 .mp4) </li></ul><ul><li>jumping into streams -- oggzchop (and mod_h264_streaming with lighttpd) </li></ul><ul><li>timecodes, standards for accessing: </li></ul><ul><ul><li>annodex.net/TR/draft-pfeiffer-temporal-fragments-03.html </li></ul></ul><ul><ul><li>archive.org/download/to-SF/toSF_512kb.mp4?t=74.5 </li></ul></ul><ul><li>serving search results in JSON, CSV, XML </li></ul><ul><li>serving item metadata in JSON </li></ul>archive.org is ...
  10. 10. h.264 mp4 creation <ul><li>ffmpeg -i CapeCodMarsh.avi -b 512k -s 320x240 -vcodec h264 -r 20.00 -bf 0 -level 13 -qmax 35 -maxrate 768k -title &quot;Cape Cod Marsh - http://www.archive.org/details/CapeCodMarsh&quot; -year &quot;2004&quot; -comment &quot;license:http://creativecommons.org/licenses/publicdomain/&quot; </li></ul><ul><li>-author &quot;Tracey Jaquith&quot; -pass 1 -an cape.mp4; </li></ul><ul><li>[same args above...] -pass 2 -acodec aac -ab 64k -ac 2 cape.mp4; </li></ul><ul><li>mp4creator -optimize cape.mp4 </li></ul><ul><ul><li>plays on iphone </li></ul></ul><ul><ul><li>plays in flash plugin </li></ul></ul><ul><ul><li>works with lighttpd mod_h264_streaming </li></ul></ul><ul><ul><li>longer to make </li></ul></ul><ul><ul><li>possible licensing / IP issues </li></ul></ul>pluses: minuses:
  11. 11. metavid / wiki <ul><li>will natively play .ogv if codec </li></ul><ul><li>will use flowplayer if flash/h.264 </li></ul><ul><li>can play MPEG </li></ul><ul><li>will use chopping/seeking for snippets </li></ul><ul><li>can jump from clip format A to clip format B </li></ul><ul><li>is now being incorporated into wikimedia </li></ul>metavid has a *great* web player that:
  12. 12. goals <ul><li>make CC licensed (and otherwise) videos available </li></ul><ul><li>enable online transclusion and editing/mashups with wikimedia and metavid </li></ul><ul><li>rederive nearly 200,000 movies! </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×