<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-30783492</id><updated>2011-12-15T03:08:53.756Z</updated><title type='text'>FilmApart</title><subtitle type='html'>Experiments in collective video editing</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://filmapart.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30783492/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://filmapart.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>papyromancer</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-30783492.post-115229848483270224</id><published>2006-07-07T18:45:00.000Z</published><updated>2006-07-08T00:05:40.726Z</updated><title type='text'>Batch Transcode DV to OGG Theora</title><content type='html'>This scipt was necessary to replace all the spaces in the file names before the transcode of all DV media in the directory could be accomlished with the next script.&lt;br /&gt;&lt;blockquote&gt;#!/usr/bin/perl -w&lt;br /&gt;# nospace /this/dir /that/dir /those/too&lt;br /&gt;&lt;br /&gt;use File::Find;&lt;br /&gt;use strict;&lt;br /&gt;die "usage: nospace dir[s]\n" unless @ARGV;&lt;br /&gt;&lt;br /&gt;my %ext;&lt;br /&gt;&lt;br /&gt;find(\&amp;remspaces, @ARGV);&lt;br /&gt;&lt;br /&gt;sub remspaces {&lt;br /&gt;return if ($_ eq '.');&lt;br /&gt;return if ($_ eq '..');&lt;br /&gt;(my $new = $_) =~ tr/a-zA-Z0-9_.-/_/c;&lt;br /&gt;my $duplicate = ($new ne $_ and -e $new);&lt;br /&gt;my $try = $new;&lt;br /&gt;&lt;br /&gt;$ext{"$File::Find::dir/$try"}++ if $duplicate;&lt;br /&gt;&lt;br /&gt;while (my $count = $ext{"$File::Find::dir/$new"}++) {&lt;br /&gt;(my $with_num = $new) =~ s/(?=\.|$)/_$count/;&lt;br /&gt;$new = $with_num, last if not -e $with_num;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;$ext{"$File::Find::dir/$try"}-- if $duplicate;&lt;br /&gt;&lt;br /&gt;rename $_ =&gt; $new&lt;br /&gt;or warn "can't rename $_ to $new: $!";&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;And this will output the OGG files to a folder on my desktop when run from the directory containing all the DV media.&lt;br /&gt;&lt;blockquote&gt;#!/bin/bash&lt;br /&gt;#==========================================&lt;br /&gt;# process every file in current directory&lt;br /&gt;# may use "break", "continue"&lt;br /&gt;#==========================================&lt;br /&gt;for FName in $(ls ); do&lt;br /&gt;ffmpeg2theora -f dv -v 10 -a 10 --optimize --artist "Chris Hastings" --title "Alacridad $FName" --organization "http://alacridad.org" --copyright "© 2006 Chris Hastings" --license "&lt;x:xmpmeta x="adobe:ns:meta/"&gt;&lt;rdf:rdf rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"&gt;&lt;rdf:description about="" xaprights="http://ns.adobe.com/xap/1.0/rights/"&gt;  &lt;xaprights:marked&gt;True&lt;/xaprights:marked&gt;  &lt;xaprights:webstatement&gt;http://creativecommons.org/licenses/by-nc-sa/2.5/&lt;/xaprights:webstatement&gt; &lt;/rdf:description&gt; &lt;rdf:description about="" dc="http://purl.org/dc/elements/1.1/"&gt;  &lt;dc:rights&gt;   &lt;rdf:alt&gt;    &lt;rdf:li lang="x-default"&gt;This MovingImage is licensed to the public under the Creative Commons Attribution-NonCommercial-ShareAlike 2.5  License.&lt;/rdf:li&gt;   &lt;/rdf:alt&gt;  &lt;/dc:rights&gt; &lt;/rdf:description&gt; &lt;rdf:description about="" cc="http://web.resource.org/cc/"&gt;  &lt;cc:license resource="http://creativecommons.org/licenses/by-nc-sa/2.5/"&gt; &lt;/cc:license&gt;&lt;/rdf:description&gt;&lt;/rdf:rdf&gt;" -o /home/papyromancer/Desktop/AlacridadOGG/$FName.ogg $FName&lt;br /&gt;done&lt;/x:xmpmeta&gt;&lt;/blockquote&gt;&lt;br /&gt;Processing 28.9GB of video began 2PM CDT July 7.  I'm going to see how long it takes, but I'm guessing it'll be 5 Days 17 Hours...I'll report back on Tuesday.  Then I'll have to run it again to see if enabling MMX extensions as detailed &lt;a href="http://trac.annodex.net/wiki/TranscodingVideoMedia"&gt;here&lt;/a&gt; will make any difference.  Maybe the upload to the archive will be faster, it should only be around 7GB of footage that can then be frame accurately rendered in Cinelerra with an EDL applicable to either the DV or Ogg files.&lt;br /&gt;&lt;blockquote&gt;octave:9&gt; 840/28900&lt;br /&gt;ans = 0.029066&lt;br /&gt;octave:10&gt; 4/.029&lt;br /&gt;ans = 137.93&lt;br /&gt;octave:11&gt; 137.93/24.&lt;br /&gt;ans = 5.7471&lt;br /&gt;octave:12&gt; .7471*24&lt;br /&gt;ans = 17.930&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:85%;"&gt;References:&lt;br /&gt;&lt;a href="http://www.pigstye.net/article.php/20021122075650404"&gt;http://www.pigstye.net/article.php/20021122075650404&lt;/a&gt;&lt;br /&gt;&lt;a href="http://tiger.la.asu.edu/bash_tutorial.htm"&gt;http://tiger.la.asu.edu/bash_tutorial.htm&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30783492-115229848483270224?l=filmapart.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://filmapart.blogspot.com/feeds/115229848483270224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30783492&amp;postID=115229848483270224' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30783492/posts/default/115229848483270224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30783492/posts/default/115229848483270224'/><link rel='alternate' type='text/html' href='http://filmapart.blogspot.com/2006/07/batch-transcode-dv-to-ogg-theora.html' title='Batch Transcode DV to OGG Theora'/><author><name>papyromancer</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30783492.post-115228058873802354</id><published>2006-07-07T13:47:00.000Z</published><updated>2006-07-07T15:02:47.676Z</updated><title type='text'>Transcoding DV to OGG Theora</title><content type='html'>&lt;a href="http://v2v.cc/%7Ej/ffmpeg2theora/"&gt;ffmpeg2theora&lt;/a&gt; was simple enough to install on Ubuntu (dapper) with the command:&lt;br /&gt;&lt;blockquote&gt;sudo apt-get install ffmpeg2theora&lt;/blockquote&gt;&lt;br /&gt;6 second 21.9MB DV to 1.4MB OGG&lt;br /&gt;&lt;blockquote&gt;papyromancer@Humboldt:~$ ffmpeg2theora /home/papyromancer/Desktop/footage.dv&lt;br /&gt; Input #0, dv, from '/home/papyromancer/Desktop/footage.dv':&lt;br /&gt;  Duration: 00:00:06.3, start: 0.000000, bitrate: 28771 kb/s&lt;br /&gt;  Stream #0.0: Video: dvvideo, yuv411p, 720x480, 29.97 fps, 25000 kb/s&lt;br /&gt;  Stream #0.1: Audio: pcm_s16le, 32000 Hz, stereo, 1024 kb/s&lt;br /&gt;  Stream #0.2: Audio: pcm_s16le, 32000 Hz, stereo, 1024 kb/s&lt;br /&gt;  Pixel Aspect Ratio: 1.21/1   Frame Aspect Ratio: 1.82/1&lt;br /&gt;  Resize: 720x480&lt;br /&gt;      0:00:06.37 audio: 64kbps video: 1723kbps&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Everything was automatically detected, even the aspect ratio. The video looks crisp and clean even with the massive compression. For a little bit higher quality I used a preset by calling the -p command line flag and wound up with a 2.4MB file.&lt;br /&gt;&lt;blockquote&gt;papyromancer@Humboldt:~$ ffmpeg2theora -p pro /home/papyromancer/Desktop/footage.dv&lt;/blockquote&gt;&lt;br /&gt;ffmpeg2theora has lots of options listed in the man page.  The next command takes advantage of many of these--&lt;a href="http://creativecommons.org"&gt;Creative Commons&lt;/a&gt; licensing (by stipping newline markers from the xml template), Copyright, Title, and Artist metadata.  Highest quality encoding of audio/video and optimised motion vector search took much longer than the previous examples and the resulting file remained small at 5.1MB.&lt;br /&gt;&lt;blockquote&gt;papyromancer@Humboldt:~$ ffmpeg2theora -v 10 -a 10 --optimize --artist "Papyromancer" --title "Footage" --organization "http://FilmApart.org" --copyright "© 2006 Papyromancer" --license "&lt;?xpacket begin='' id=''?&gt;&lt;x:xmpmeta xmlns:x="adobe:ns:meta/"&gt;&lt;rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"&gt;&lt;rdf:description rdf:about="" xmlns:xaprights="http://ns.adobe.com/xap/1.0/rights/"&gt;  &lt;xaprights:marked&gt;True&lt;/xaprights:marked&gt;  &lt;xaprights:webstatement&gt;http://creativecommons.org/licenses/by-nc-sa/2.5/&lt;/xaprights:webstatement&gt; &lt;/rdf:description&gt; &lt;rdf:description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/"&gt;  &lt;dc:rights&gt;   &lt;rdf:alt&gt;    &lt;rdf:li xml:lang="x-default"&gt;This MovingImage is licensed to the public under the Creative Commons Attribution-NonCommercial-ShareAlike 2.5  License.&lt;/rdf:li&gt;   &lt;/rdf:alt&gt;  &lt;/dc:rights&gt; &lt;/rdf:description&gt; &lt;rdf:description rdf:about="" xmlns:cc="http://web.resource.org/cc/"&gt;  &lt;cc:license rdf:resource="http://creativecommons.org/licenses/by-nc-sa/2.5/" /&gt; &lt;/rdf:description&gt;&lt;/rdf:rdf&gt;&lt;/x:xmpmeta&gt;&lt;?xpacket end='r'?&gt;" /home/papyromancer/Desktop/footage.dv&lt;br /&gt;Input #0, dv, from '/home/papyromancer/Desktop/footage.dv':&lt;br /&gt;  Duration: 00:00:06.3, start: 0.000000, bitrate: 28771 kb/s&lt;br /&gt;  Stream #0.0: Video: dvvideo, yuv411p, 720x480, 29.97 fps, 25000 kb/s&lt;br /&gt;  Stream #0.1: Audio: pcm_s16le, 32000 Hz, stereo, 1024 kb/s&lt;br /&gt;  Stream #0.2: Audio: pcm_s16le, 32000 Hz, stereo, 1024 kb/s&lt;br /&gt;  Pixel Aspect Ratio: 1.21/1   Frame Aspect Ratio: 1.82/1&lt;br /&gt;  Resize: 720x480&lt;br /&gt;      0:00:06.37 audio: 371kbps video: 6397kbps&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30783492-115228058873802354?l=filmapart.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://filmapart.blogspot.com/feeds/115228058873802354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30783492&amp;postID=115228058873802354' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30783492/posts/default/115228058873802354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30783492/posts/default/115228058873802354'/><link rel='alternate' type='text/html' href='http://filmapart.blogspot.com/2006/07/transcoding-dv-to-ogg-theora.html' title='Transcoding DV to OGG Theora'/><author><name>papyromancer</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30783492.post-115227474188199115</id><published>2006-07-07T12:18:00.000Z</published><updated>2006-07-07T14:59:34.970Z</updated><title type='text'>Media Annotation</title><content type='html'>This morning I was browsing the mail archives of the &lt;a href="http://openmediacoalition.org"&gt;Open Media Coalition&lt;/a&gt; and I stumbled upon &lt;a href="http://annodex.net"&gt;Annodex,&lt;/a&gt; a current project of the Google Summer of Code.&lt;br /&gt;&lt;br /&gt;The software allows an Python-CGI enabled Apache webserver to access &lt;a href="http://www.theora.org/theorafaq.html"&gt;OGG Theora&lt;/a&gt; video files via a &lt;a href="http://www.annodex.net/TR/draft-pfeiffer-temporal-fragments-02.html"&gt;time URI&lt;/a&gt;.  The time URI's may be listed in a file using &lt;a href="http://www.annodex.net/TR/draft-pfeiffer-cmml-01.html"&gt;Continuous Media Markup Language (CMML)&lt;/a&gt; and then streamed from the server as a single contiguous media file.&lt;br /&gt;&lt;br /&gt;The software is still in development, and the Linux version of their Firefox plugin is in pre-alpha stage, So online editing (the software allows simple cuts) is not easy (the plugin does not yet allow ins and outs to be set within the browser) and must be performed from the command-line.&lt;br /&gt;&lt;br /&gt;Hopefully, after the Summer of Code has ended, the Wikipedia will be hosting user edited video.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30783492-115227474188199115?l=filmapart.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://filmapart.blogspot.com/feeds/115227474188199115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30783492&amp;postID=115227474188199115' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30783492/posts/default/115227474188199115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30783492/posts/default/115227474188199115'/><link rel='alternate' type='text/html' href='http://filmapart.blogspot.com/2006/07/media-annotation.html' title='Media Annotation'/><author><name>papyromancer</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
