<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Multimedia on iniy.org</title><link>https://iniy.org/categories/multimedia/</link><description>Recent content in Multimedia on iniy.org</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 12 Apr 2024 11:05:31 +0000</lastBuildDate><atom:link href="https://iniy.org/categories/multimedia/index.xml" rel="self" type="application/rss+xml"/><item><title>Converting videos with ffmpeg to webm format under Ubuntu 14.04.</title><link>https://iniy.org/2015/01/converting-videos-with-ffmpeg-to-webm-format-under-ubuntu-14-04/</link><pubDate>Thu, 15 Jan 2015 08:00:55 +0000</pubDate><guid>https://iniy.org/2015/01/converting-videos-with-ffmpeg-to-webm-format-under-ubuntu-14-04/</guid><description>&lt;p&gt;I just love ffmpeg, because it is so easy to use and scriptable.&lt;/p&gt;&#10;&lt;h2 id="install-ffmpeg-on-ubuntu-1404"&gt;Install FFMPEG on Ubuntu 14.04&lt;a class="anchor" href="#install-ffmpeg-on-ubuntu-1404" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;sudo apt-add-repository ppa:jon-severinsson/ffmpeg&lt;/code&gt;&lt;br&gt;&#10;&lt;code&gt;sudo apt-get update&lt;/code&gt;&lt;br&gt;&#10;&lt;code&gt;sudo apt-get install ffmpeg&lt;/code&gt;&lt;/p&gt;&#10;&lt;h2 id="convert-a-video-to-webm"&gt;Convert a video to webm&lt;a class="anchor" href="#convert-a-video-to-webm" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;ffmpeg -i video.avi -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis -q:a 6 -threads 4 video.webm&lt;/code&gt;&lt;/p&gt;</description></item><item><title>Boosting Audio Output under Ubuntu Linux</title><link>https://iniy.org/2013/10/boosting-audio-output-under-ubuntu-linux/</link><pubDate>Sat, 26 Oct 2013 12:18:29 +0000</pubDate><guid>https://iniy.org/2013/10/boosting-audio-output-under-ubuntu-linux/</guid><description>&lt;p&gt;I often had the problem when I wanted to watch a movie or listen to some audiofile and there was background noise I wanted to turn up the volume but it was already at 100% . I thought it should be possible to turn up the signal beyond 100% and decide by myself if the signal is clipping/distored. And there is a very easy solution for the people using pulseaudio.&lt;/p&gt;</description></item><item><title>streaming fun for everyone</title><link>https://iniy.org/2010/07/streaming-fun-for-everyone/</link><pubDate>Mon, 26 Jul 2010 19:46:49 +0000</pubDate><guid>https://iniy.org/2010/07/streaming-fun-for-everyone/</guid><description>&lt;p&gt;How to setup a complete HTML5 live-streaming environment in less than 30 minutes.&lt;/p&gt;&#10;&lt;h2 id="prerequisites"&gt;Prerequisites&lt;a class="anchor" href="#prerequisites" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;some kind of linux root server (can also be vserver), i prefer debian or ubuntu&lt;/li&gt;&#10;&lt;li&gt;a linux computer (best a laptop) with firewire input&lt;/li&gt;&#10;&lt;li&gt;a DV-Cam with firewire output&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="install-the-server"&gt;install the server&lt;a class="anchor" href="#install-the-server" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;the hard part :D&lt;/p&gt;</description></item><item><title>Encoding h.264 Video with ffmpeg</title><link>https://iniy.org/2009/11/encoding-h-264-video-with-ffmpeg/</link><pubDate>Sun, 29 Nov 2009 22:47:49 +0000</pubDate><guid>https://iniy.org/2009/11/encoding-h-264-video-with-ffmpeg/</guid><description>&lt;p&gt;Until now this page is just a reminder for myself. Explanation of the parameters may follow some time.&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# firstpass&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ffmpeg -an -pass &lt;span class="m"&gt;1&lt;/span&gt; -threads &lt;span class="m"&gt;4&lt;/span&gt; -i inputfile.mpg -vcodec libx264 -b 1000k -flags +loop+mv4 -cmp &lt;span class="m"&gt;256&lt;/span&gt; &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -me_method hex -subq &lt;span class="m"&gt;7&lt;/span&gt; -trellis &lt;span class="m"&gt;1&lt;/span&gt; -refs &lt;span class="m"&gt;5&lt;/span&gt; -bf &lt;span class="m"&gt;3&lt;/span&gt; &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -flags2 +bpyramid+wpred+mixed_refs+dct8x8 -coder &lt;span class="m"&gt;1&lt;/span&gt; -me_range &lt;span class="m"&gt;16&lt;/span&gt; &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#9; -g &lt;span class="m"&gt;250&lt;/span&gt; -keyint_min &lt;span class="m"&gt;25&lt;/span&gt; -sc_threshold &lt;span class="m"&gt;40&lt;/span&gt; -i_qfactor 0.71 -qmin &lt;span class="m"&gt;10&lt;/span&gt; &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -qmax &lt;span class="m"&gt;51&lt;/span&gt; -qdiff &lt;span class="m"&gt;4&lt;/span&gt; &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; temp.mp4&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# second pass&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ffmpeg -i inputfile.mpg -acodec libfaac -ar &lt;span class="m"&gt;44100&lt;/span&gt; -ab 128k -pass &lt;span class="m"&gt;2&lt;/span&gt; -threads &lt;span class="m"&gt;4&lt;/span&gt; &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -vcodec libx264 -b 1000k -flags +loop+mv4 -cmp &lt;span class="m"&gt;256&lt;/span&gt; &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -me_method hex -subq &lt;span class="m"&gt;7&lt;/span&gt; -trellis &lt;span class="m"&gt;1&lt;/span&gt; -refs &lt;span class="m"&gt;5&lt;/span&gt; -bf &lt;span class="m"&gt;3&lt;/span&gt; &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -flags2 +bpyramid+wpred+mixed_refs+dct8x8 -coder &lt;span class="m"&gt;1&lt;/span&gt; -me_range &lt;span class="m"&gt;16&lt;/span&gt; &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#9; -g &lt;span class="m"&gt;250&lt;/span&gt; -keyint_min &lt;span class="m"&gt;25&lt;/span&gt; -sc_threshold &lt;span class="m"&gt;40&lt;/span&gt; -i_qfactor 0.71 -qmin &lt;span class="m"&gt;10&lt;/span&gt; &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -qmax &lt;span class="m"&gt;51&lt;/span&gt; -qdiff &lt;span class="m"&gt;4&lt;/span&gt; &lt;span class="se"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; temp.mp4&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;#rename&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mv temp.mp4 outfile.mp4&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item></channel></rss>