{"id":2081,"date":"2010-03-28T16:09:57","date_gmt":"2010-03-28T13:09:57","guid":{"rendered":"http:\/\/mummila.net\/nuudelisoppa\/?p=2081"},"modified":"2010-03-28T16:54:51","modified_gmt":"2010-03-28T13:54:51","slug":"full-hd-noise","status":"publish","type":"post","link":"https:\/\/mummila.net\/nuudelisoppa\/2010\/03\/28\/full-hd-noise\/","title":{"rendered":"Full HD Noise"},"content":{"rendered":"<p><a title=\"Screenshot: hdnoise.mp4 playing in Totem\" href=\"http:\/\/mummila.net\/nuudelisoppa\/files\/2010\/03\/Kuvakaappaus-hdnoise.mp4_.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-thumbnail wp-image-2099\" src=\"http:\/\/mummila.net\/nuudelisoppa\/files\/2010\/03\/Kuvakaappaus-hdnoise.mp4_-150x114.jpg\" alt=\"Screenshot: hdnoise.mp4 playing in Totem\" width=\"150\" height=\"114\" srcset=\"https:\/\/mummila.net\/nuudelisoppa\/files\/2010\/03\/Kuvakaappaus-hdnoise.mp4_-150x114.jpg 150w, https:\/\/mummila.net\/nuudelisoppa\/files\/2010\/03\/Kuvakaappaus-hdnoise.mp4_-300x228.jpg 300w, https:\/\/mummila.net\/nuudelisoppa\/files\/2010\/03\/Kuvakaappaus-hdnoise.mp4_-1024x779.jpg 1024w, https:\/\/mummila.net\/nuudelisoppa\/files\/2010\/03\/Kuvakaappaus-hdnoise.mp4_.jpg 1280w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a> In a re-iteration of <a href=\"http:\/\/mummila.net\/nuudelisoppa\/2009\/11\/24\/make-some-noise\/\">my previous experiment with making noise<\/a>, I&#8217;ve now generated <a href=\"http:\/\/docs.google.com\/leaf?id=0BwrkABCeDBdVMTE4ZDAwYmMtNGVhMS00MmY1LTliYzMtMjAwNTM3YjViYjRi&amp;hl=en\">12 seconds of Full HD noise for your viewing pleasure<\/a>. Note that the audio is quite loud (or at least appears as such), so adjust your system volume accordingly.<\/p>\n<p>Again I used ImageMagick to generate the frames and Audacity for the soundtrack, but instead of ppmtompeg I used ffmpeg for combining the pictures into a video, for better compression offered by modern codecs.<\/p>\n<p>First I cast this imagemagick spell:<br \/>\n<code>$ time for i in `seq -f %04.0f 1 300`; do convert -size 1920x1080 \\<br \/>\nxc: +noise Random -blur 1x1 -fx intensity -normalize -depth 8 ${i}.png; done<\/code><br \/>\nCompleting this step took about 20 minutes in <a href=\"http:\/\/mummila.net\/wiki\/Pannuhuone:Konepaketti_2010\">my current setup (an Athlon II X2 250)<\/a>. (Note that for just 300 frames there one excess 0 worth of padding in the seq parameter, because I initially did a longer sequence of lower res frames. Four or more are needed if you go beyond 1000 frames.)<\/p>\n<p>Next I put the images together using ffmpeg. I compressed the video with x264:<br \/>\n<code>$ ffmpeg -y -i %04d.png -vcodec libx264 -b 1800k -r 30 test.mp4<\/code><\/p>\n<p>I then generated 12 seconds of white noise in Audacity, and exported it into a WAV file, which I then compressed using faac:<br \/>\n<code>$ faac -q 300 -o noise12.aac noise12.wav<\/code><\/p>\n<p>Finally I muxed the two together, again using ffmpeg:<br \/>\n<code>$ ffmpeg -i test.mp4 -vcodec copy -i noise12.aac -acodec copy hdnoise.mp4<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a re-iteration of my previous experiment with making noise, I&#8217;ve now generated 12 seconds of Full HD noise for your viewing pleasure. Note that the audio is quite loud (or at least appears as such), so adjust your system volume accordingly. Again I used ImageMagick to generate the frames and Audacity for the soundtrack, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2081","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/2081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/comments?post=2081"}],"version-history":[{"count":17,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/2081\/revisions"}],"predecessor-version":[{"id":2100,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/2081\/revisions\/2100"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/media?parent=2081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/categories?post=2081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/tags?post=2081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}