{"id":182,"date":"2009-02-06T09:41:15","date_gmt":"2009-02-06T08:41:15","guid":{"rendered":"http:\/\/www.hlynes.com\/?p=182"},"modified":"2009-02-06T09:42:23","modified_gmt":"2009-02-06T08:42:23","slug":"ffmpeg-tips-for-screencasting","status":"publish","type":"post","link":"http:\/\/www.hlynes.com\/?p=182","title":{"rendered":"FFMPEG Tips for Screencasting"},"content":{"rendered":"<p>Having just got a particularly complicated parallel debugger correctly installed yesterday it came time to write the documentation for the tedious point and click setup procedure. Rather than write 10 pages of screenshot-heavy web pages ( a horrifying process in itself due to the CMS that time forgot) I decided to try making a screencast.<\/p>\n<p>So I installed <a href=\"http:\/\/live.gnome.org\/Istanbul\">Istanbul<\/a> which did a good job of capturing the screen and voice-over. However I then wanted to trim the clip down and add a title to it. Of the two or three editors I tried <a href=\"http:\/\/www.kinodv.org\/\">Kino<\/a> was the most intuitive. However it only accepts DV so I had to convert the Ogg Theora files that Istanbul produces into DV. Fortunately <a href=\"http:\/\/http:\/\/www.ffmpeg.org\/\">FFMPG<\/a> is your friend here.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nffmpg -i screencast.ogg -target pal-dv screencast.dv\r\n<\/pre>\n<p>Kino imported that DV file just fine and I was able to trim the file. But now I wanted to add a title screen. After a bit of googling I found a video from Linux Journal <a href=\"http:\/\/www.linuxjournal.com\/video\/linux-howto-video-editing-magic-ffmpeg\">explaining some video tricks in FFMPG<\/a>. Using this I worked out how to take a single JPEG I had created in GIMP and loop it into a short section of video to use as a title.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nffmpg -loop_source -i title.jpeg -s 5 -target pal-dv title.dv\r\n<\/pre>\n<p>The resulting 5 second DV file can be imported into your Kino project. There are probably lots of better ways to do this but this was the easiest method I could discover in an afternoon&#8217;s playing around.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Having just got a particularly complicated parallel debugger correctly installed yesterday it came time to write the documentation for the tedious point and click setup procedure. Rather than write 10 pages of screenshot-heavy web pages ( a horrifying process in itself due to the CMS that time forgot) I decided to try making a screencast. &hellip; <a href=\"http:\/\/www.hlynes.com\/?p=182\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">FFMPEG Tips for Screencasting<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-182","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"http:\/\/www.hlynes.com\/index.php?rest_route=\/wp\/v2\/posts\/182"}],"collection":[{"href":"http:\/\/www.hlynes.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.hlynes.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.hlynes.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.hlynes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=182"}],"version-history":[{"count":5,"href":"http:\/\/www.hlynes.com\/index.php?rest_route=\/wp\/v2\/posts\/182\/revisions"}],"predecessor-version":[{"id":187,"href":"http:\/\/www.hlynes.com\/index.php?rest_route=\/wp\/v2\/posts\/182\/revisions\/187"}],"wp:attachment":[{"href":"http:\/\/www.hlynes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hlynes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=182"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hlynes.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}