<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Phone on</title><link>http://salopst.yearl.us/tags/phone/</link><description>Recent content in Phone on</description><generator>Hugo</generator><language>en</language><copyright>&lt;a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener"&gt;CC BY-NC 4.0&lt;/a&gt;</copyright><lastBuildDate>Tue, 21 Sep 2021 02:22:00 +0100</lastBuildDate><atom:link href="http://salopst.yearl.us/tags/phone/index.xml" rel="self" type="application/rss+xml"/><item><title>FFMPEG transcode iPhone videos to mp4</title><link>http://salopst.yearl.us/ffmpeg-transcode-iphone-videos-to-mp4/</link><pubDate>Mon, 27 Jul 2015 10:19:46 +0000</pubDate><guid>http://salopst.yearl.us/ffmpeg-transcode-iphone-videos-to-mp4/</guid><description>&lt;h2 id="assuming-one-has-homebrew-installed"&gt;Assuming one has &lt;a href="http://brew.sh/"&gt;homebrew&lt;/a&gt; installed:&lt;/h2&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ brew update &lt;span style="color:#f92672"&gt;&amp;amp;&amp;amp;&lt;/span&gt; brew upgrade&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ cd ~/dropbox&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ &lt;span style="color:#66d9ef"&gt;for&lt;/span&gt; video in *.MOV; &lt;span style="color:#66d9ef"&gt;do&lt;/span&gt; ffmpeg -i &lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;$video&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt; -vcodec h264 -acodec aac -strict -2 &lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;&lt;span style="color:#e6db74"&gt;${&lt;/span&gt;video%.*&lt;span style="color:#e6db74"&gt;}&lt;/span&gt;&lt;span style="color:#e6db74"&gt;.mp4&amp;#34;&lt;/span&gt; ; &lt;span style="color:#66d9ef"&gt;done&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ rm *.MOV&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item></channel></rss>