{"id":56,"date":"2007-11-25T22:59:49","date_gmt":"2007-11-26T05:59:49","guid":{"rendered":"\/\/?p=56"},"modified":"2007-11-25T22:59:49","modified_gmt":"2007-11-26T05:59:49","slug":"do-your-own-youtube","status":"publish","type":"post","link":"https:\/\/carson.fenimorefamily.com\/?p=56","title":{"rendered":"Do Your Own YouTube"},"content":{"rendered":"<p>Although there are a few good video formats that almost everyone should be able to play, it seems the only way to guarantee that someone will be able to view your video over the Internet is to use some flash-video based service, such as YouTube or Google Video. \u00a0The problem is that these services have a long lead time, slow upload time, and poor quality. \u00a0You can do better by rolling your own.\u00a0The basic components are as follows:<\/p>\n<ol>\n<li>\u00a0Transcoder (such as ffmpeg)<\/li>\n<li>Flash wrapper (such as\u00a0http:\/\/blog.deconcept.com\/swfobject\/)<\/li>\n<\/ol>\n<p>The approach is to do the following:<\/p>\n<ol>\n<li>\u00a0Transcode your video to dv format (it may be possible to go directly to FLV, but with ffmpeg for Mac OS X, this is the only method I found that works)<\/li>\n<li>Transcode your dv to flv &#8211; if you are going from 16:9 you can set ffmpeg to output at 640&#215;352 to get a good\u00a0equivalent.\u00a0<\/li>\n<li>Edit the .html file that comes with the Flash Wrapper so that it points to your video. \u00a0Also change the resolution to 640&#215;352<\/li>\n<li>Upload the swfobject.js, flvplayer.swf, along with your .html and .flv files<\/li>\n<\/ol>\n<p>That should do it! \u00a0Here&#8217;s an example of what I produced from this effort:\u00a0http:\/\/carson.oakenweld.com\/leahNature.html\u00a0\u00a0<br class=\"webkit-block-placeholder\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Although there are a few good video formats that almost everyone should be able to play, it seems the only way to guarantee that someone will be able to view your video over the Internet is to use some flash-video based service, such as YouTube or Google Video. \u00a0The problem is that these services have &hellip; <a href=\"https:\/\/carson.fenimorefamily.com\/?p=56\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Do Your Own YouTube<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-56","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/posts\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=56"}],"version-history":[{"count":0,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/posts\/56\/revisions"}],"wp:attachment":[{"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=56"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=56"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}