<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Media technology &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/media-technology/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>ffmpeg, libx264 and presets</title>
		<link>/2010/10/26/ffmpeg-libx264-and-presets/</link>
		<comments>/2010/10/26/ffmpeg-libx264-and-presets/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 12:11:00 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[web development]]></category>
		<category><![CDATA[Application software]]></category>
		<category><![CDATA[Computer file formats]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[FFmpeg]]></category>
		<category><![CDATA[Media technology]]></category>
		<category><![CDATA[NDs-mPeG]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[Video codecs]]></category>
		<category><![CDATA[Video editing software]]></category>
		<category><![CDATA[web community]]></category>

		<guid isPermaLink="false">/?p=2019</guid>
		<description><![CDATA[When working with FFMPEG you can convert/encode in various formats, but in my case this should be an MP4 file, encoded with libx264. This combination is quite well known in the web community, because those videos are playable under almost any flash player and Apple products. Now the problem is that this comes with very &#8230; <a href="/2010/10/26/ffmpeg-libx264-and-presets/" class="more-link">Continue reading <span class="screen-reader-text">ffmpeg, libx264 and presets</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/" rel="bookmark" title="An FFMPEG Question &#8211; Why PHP&#8217;s exec() Doesn&#8217;t Return the Command Output">An FFMPEG Question &#8211; Why PHP&#8217;s exec() Doesn&#8217;t Return the Command Output </a></li>
<li><a href="/2010/11/12/how-to-make-mp4-progressive-with-qt-faststart/" rel="bookmark" title="How to Make MP4 Progressive with qt-faststart">How to Make MP4 Progressive with qt-faststart </a></li>
<li><a href="/2011/01/27/few-thoughts-on-web-video/" rel="bookmark" title="Few Thoughts on Web Video">Few Thoughts on Web Video </a></li>
<li><a href="/2010/03/05/video-sites-must-use-mp4-and-only-mp4/" rel="bookmark" title="Video sites must use &#8230; mp4 and only mp4!">Video sites must use &#8230; mp4 and only mp4! </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>When working with FFMPEG you can convert/encode in various formats, but in my case this should be an MP4 file, encoded with libx264. This combination is quite well known in the web community, because those videos are playable under almost any flash player and Apple products.</p>
<p>Now the problem is that this comes with very large list of options, which are difficult to setup, especially for newbies like me. Than everything&#8217;s difficult, once because the resulting quality is not always the same as the input file&#8217;s quality.</p>
<h2>The Solution</h2>
<p>Is to use presets. Thankfully ffmpeg with libx264 can be used with presets, i.e. NORMAL, HD etc. which means that you don&#8217;t have to setup a command by hand and the resulting quality is the same as the input quality.</p>
<p>Here&#8217;s a sample command using normal preset:</p>
<pre lang="php">ffmpeg -i source.mp4 -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -vpre normal -threads 0 -crf 22 output.mp4
</pre>
<p>here the source can be either mp4 or some other file format as FLV for instance.</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/" rel="bookmark" title="An FFMPEG Question &#8211; Why PHP&#8217;s exec() Doesn&#8217;t Return the Command Output">An FFMPEG Question &#8211; Why PHP&#8217;s exec() Doesn&#8217;t Return the Command Output </a></li>
<li><a href="/2010/11/12/how-to-make-mp4-progressive-with-qt-faststart/" rel="bookmark" title="How to Make MP4 Progressive with qt-faststart">How to Make MP4 Progressive with qt-faststart </a></li>
<li><a href="/2011/01/27/few-thoughts-on-web-video/" rel="bookmark" title="Few Thoughts on Web Video">Few Thoughts on Web Video </a></li>
<li><a href="/2010/03/05/video-sites-must-use-mp4-and-only-mp4/" rel="bookmark" title="Video sites must use &#8230; mp4 and only mp4!">Video sites must use &#8230; mp4 and only mp4! </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/10/26/ffmpeg-libx264-and-presets/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Video sites must use &#8230; mp4 and only mp4!</title>
		<link>/2010/03/05/video-sites-must-use-mp4-and-only-mp4/</link>
		<comments>/2010/03/05/video-sites-must-use-mp4-and-only-mp4/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 14:21:51 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[web development]]></category>
		<category><![CDATA[Application software]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Container formats]]></category>
		<category><![CDATA[Flash Video]]></category>
		<category><![CDATA[large video site]]></category>
		<category><![CDATA[Media technology]]></category>
		<category><![CDATA[MPEG-4 Part 14]]></category>
		<category><![CDATA[Ogg]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[Theora]]></category>
		<category><![CDATA[YouTube]]></category>
		<category><![CDATA[YouTube Inc]]></category>

		<guid isPermaLink="false">/?p=1185</guid>
		<description><![CDATA[H.264 Yes it may sound strange, but now with the upcoming HTML5 features every browser again is playing its own game. Firefox and Opera support only OGG Theora, Chrome and Safari only MP4 and what about IE .. it doesn&#8217;t support anything. Than why should we convert to mp4 with h.264 codec? Because everybody is &#8230; <a href="/2010/03/05/video-sites-must-use-mp4-and-only-mp4/" class="more-link">Continue reading <span class="screen-reader-text">Video sites must use &#8230; mp4 and only mp4!</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/03/04/does-firefox-play-mp4-h-264-within-the-html5-video-tag/" rel="bookmark" title="Does Firefox play mp4 h.264 within the HTML5 video tag?">Does Firefox play mp4 h.264 within the HTML5 video tag? </a></li>
<li><a href="/2011/01/27/few-thoughts-on-web-video/" rel="bookmark" title="Few Thoughts on Web Video">Few Thoughts on Web Video </a></li>
<li><a href="/2010/11/12/how-to-make-mp4-progressive-with-qt-faststart/" rel="bookmark" title="How to Make MP4 Progressive with qt-faststart">How to Make MP4 Progressive with qt-faststart </a></li>
<li><a href="/2010/02/26/html5-video-support-detecting-playing-and-progressive-enhancement/" rel="bookmark" title="HTML5 video support. Detecting, playing and progressive enhancement!">HTML5 video support. Detecting, playing and progressive enhancement! </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>H.264</h2>
<p>Yes it may sound strange, but now with the upcoming HTML5 features every browser again is playing its own game. Firefox and Opera support only OGG Theora, Chrome and Safari only MP4 and what about IE .. it doesn&#8217;t support anything. Than why should we convert to mp4 with h.264 codec?</p>
<h2>Because everybody is playing flash</h2>
<p>And that&#8217;s again very sad but at least the flash players are playing mp4 with this encoding, which is good because this file will be playable under most of the mobiles. And if you have a large video site to support why don&#8217;t you convert to mp4 and play it with a Flash Player and give the opportunity to play mp4 on mobile.</p>
<h2>Only one file under the sky</h2>
<p>Thus you gain to keep only one file &#8211; playable under every device?</p>
<h2>YouTube and FLV</h2>
<p>Now I wonder why YouTube have both FLV and MP4 formats?</p>
<h2>Of course if you&#8217;d like to be perfect &#8230;</h2>
<p>Convert every video to MP4, FLV and OGG, but that means 3 files for every video?!</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/03/04/does-firefox-play-mp4-h-264-within-the-html5-video-tag/" rel="bookmark" title="Does Firefox play mp4 h.264 within the HTML5 video tag?">Does Firefox play mp4 h.264 within the HTML5 video tag? </a></li>
<li><a href="/2011/01/27/few-thoughts-on-web-video/" rel="bookmark" title="Few Thoughts on Web Video">Few Thoughts on Web Video </a></li>
<li><a href="/2010/11/12/how-to-make-mp4-progressive-with-qt-faststart/" rel="bookmark" title="How to Make MP4 Progressive with qt-faststart">How to Make MP4 Progressive with qt-faststart </a></li>
<li><a href="/2010/02/26/html5-video-support-detecting-playing-and-progressive-enhancement/" rel="bookmark" title="HTML5 video support. Detecting, playing and progressive enhancement!">HTML5 video support. Detecting, playing and progressive enhancement! </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/03/05/video-sites-must-use-mp4-and-only-mp4/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
