<?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>... coding (the life) &#187; productivity</title>
	<atom:link href="http://www.marvinmarcelo.com/category/productivity/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marvinmarcelo.com</link>
	<description>Anything about programming, and a little about me.</description>
	<lastBuildDate>Mon, 09 Jan 2012 13:44:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Getting things done</title>
		<link>http://www.marvinmarcelo.com/getting-things-done/</link>
		<comments>http://www.marvinmarcelo.com/getting-things-done/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 13:29:17 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[job]]></category>
		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1854</guid>
		<description><![CDATA[This is just me, I need this book and use it in not only on my job, but also in my daily life. Oh, yeah, in case you&#8217;d want an epub copy. I fortunately found one.]]></description>
			<content:encoded><![CDATA[<p>This is just me, I need this book and use it in not only on my job, but also in my daily life.</p>
<p>Oh, yeah, in case you&#8217;d want an epub copy. I <a href="http://btjunkie.org/torrent/Getting-Things-Done-David-Allen-EPUB-format/36657faf00a5c136b25b51b25eb2963ac86d5d0753eb" title="fortunately found" target="_blank">fortunately found one</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/getting-things-done/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Murata in PH</title>
		<link>http://www.marvinmarcelo.com/murata-in-ph/</link>
		<comments>http://www.marvinmarcelo.com/murata-in-ph/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 15:27:18 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[job]]></category>
		<category><![CDATA[not about code]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[charger]]></category>
		<category><![CDATA[iPad 2]]></category>
		<category><![CDATA[jobs]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/murata-in-ph/</guid>
		<description><![CDATA[This is just recently, Murata, the company who mass produce the first wireless charger for iPad 2 is venturing in the Philippines! I just read the news in GMANews feed. Here&#8217;s the link: http://www.gmanews.tv/story/233693/japans-murata-to-build-chip-plant-in-phl Isn&#8217;t that amazing?!]]></description>
			<content:encoded><![CDATA[<p>This is just recently, <a href="http://www.murata.com/">Murata</a>, the company who mass produce the first <a href="http://www.murata.com/products/wireless_power/index.html">wireless charger</a> for iPad 2 is venturing in the Philippines!</p>
<p>I just read the news in GMANews feed. Here&#8217;s the link:<br />
<a href="http://www.gmanews.tv/story/233693/japans-murata-to-build-chip-plant-in-phl">http://www.gmanews.tv/story/233693/japans-murata-to-build-chip-plant-in-phl</a></p>
<p>Isn&#8217;t that amazing?!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/murata-in-ph/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Location based reminders</title>
		<link>http://www.marvinmarcelo.com/location-based-reminders/</link>
		<comments>http://www.marvinmarcelo.com/location-based-reminders/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 11:25:11 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/location-based-reminders/</guid>
		<description><![CDATA[Just realized the usefulness of location based reminders that&#8217;s going to be released with the launch of new iOS 5, and that i felt the need to write something about it. Well, for me, I often forgot something what interests &#8230; <a href="http://www.marvinmarcelo.com/location-based-reminders/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just realized the usefulness of location based reminders that&#8217;s going to be released with the launch of new iOS 5, and that i felt the need to write something about it.</p>
<p>Well, for me, I often forgot something what interests me on certain places. Or even if someone asks me to grab something for them if I visit a place, town or province the next time. This app, if it works, should alert me of what stuff I need to grab while I&#8217;m at some place. This is one the reasons I am excited with the launch of iOS 5.</p>
<p>I wonder though, if it&#8217;s ever going to be of a purpose to remind &#8220;when you leave from a location&#8221;, as it would be triggered when you already left, or yes, it may serve some &#8211; for you to go back. If I remember correctly, there are triggers for that and &#8220;when you arrive at a location&#8221;. Or is there another one for &#8220;when you&#8217;re at a location&#8221;? But generally, it has a purpose.</p>
<p>They&#8217;re just my thoughts.</p>
<p>On an unrelated note, it&#8217;s quite a pain writing on wordpress for iphone, really! I actually updated this app just an hour ago. The cursor always returns back to the end of the content if you position to edit on other parts of the text. Neither it loads auto complete on words. And pressing space twice should add a period, but it doesn&#8217;t do that. Why?</p>
<p>Anyways.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/location-based-reminders/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Best Picasa for iPhone so far</title>
		<link>http://www.marvinmarcelo.com/the-best-picasa-for-iphone-so-far/</link>
		<comments>http://www.marvinmarcelo.com/the-best-picasa-for-iphone-so-far/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 02:25:15 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1797</guid>
		<description><![CDATA[Finally, I found an app for Picasa on iPhone that saves the entire EXIF data on upload. And has the tabs for showing the map from your iPhone as well. Here&#8217;s the excerpt from the publisher. Piconhand &#8211; Picasa Web &#8230; <a href="http://www.marvinmarcelo.com/the-best-picasa-for-iphone-so-far/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Finally, I found an app for Picasa on iPhone that saves the entire EXIF data on upload. And has the tabs for showing the map from your iPhone as well. Here&#8217;s the excerpt from the publisher.</p>
<p><a href="http://itunes.apple.com/us/app/id377598190">Piconhand &#8211; Picasa Web Albums On Your Hand for iPhone</a></p>
<p>Enjoy your Picasa web albums and photos on your hand!</p>
<p><strong>Multiple accounts</strong><br />
You can see the albums of multiple accounts in one list</p>
<p><strong>Batch upload</strong><br />
You  can add multiple photos in the upload queue and also can preview. The  time and geo info (if available) of photos is also included while  uploading.</p>
<p><strong>Slide show</strong><br />
You can set the songs in your iPod  library as the background music of the slide show. And also can set the  transition effect and time as you want.</p>
<p><strong>Passcode lock</strong><br />
You can lock the app with password to protect your privacy.</p>
<p><strong>Features</strong><br />
Multiple Picasa accounts<br />
Create and delete albums<br />
Share album links via email<br />
Create and delete photos<br />
Batch upload<br />
Slide show<br />
Passcode lock<br />
Tag editing and browsing<br />
EXIF available<br />
Send photos via email or save photos in your library<br />
Favorite photos<br />
Sort option for album &amp; photo list (can be set in separate by album)<br />
Search photos in cache<br />
Quality set for photos to be dowloaded/uploaded<br />
Account filter for albums<br />
High-res options for iPhone4/iPod 4th gen<br />
Map view based on photo&#8217;s geotag<br />
Album and photo property editing</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/the-best-picasa-for-iphone-so-far/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Video stream from your iPhone</title>
		<link>http://www.marvinmarcelo.com/web-stream-from-your-iphone/</link>
		<comments>http://www.marvinmarcelo.com/web-stream-from-your-iphone/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 08:15:29 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1792</guid>
		<description><![CDATA[Here&#8217;s how you can do video streaming without pain on iPhone. What you need are: iPhone 4 (not tested on 3G or 3Gs but probably will work) Justin.tv Account WiFi network with Internet And here&#8217;s what you do Download and &#8230; <a href="http://www.marvinmarcelo.com/web-stream-from-your-iphone/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s how you can do video streaming without pain on iPhone. </p>
<p>What you need are:</p>
<ul>
<li>iPhone 4 (not tested on 3G or 3Gs but probably will work)</li>
<li><a href="http://www.justin.tv/">Justin.tv Account</a></li>
<li>WiFi network with Internet</li>
</ul>
<p>And here&#8217;s what you do</p>
<ol>
<li>Download and install <a href="http://itunes.apple.com/us/app/justin-tv/id358612216?mt=8">Justin.TV for iPhone</a></li>
<li>Run it and login with your account (gear icon on the upper right of Justin.TV on your iPhone)</li>
<li>Click the camera icon on the upper left, then press &#8216;record&#8217; button</li>
</ol>
<p>That&#8217;s it! You can view your stream on your Justin.TV badger page &#8211; <code>http://www.justin.tv/username</code></p>
<p>You do not only stream videos actually, they&#8217;re recorded. Your channel will list the previous streams right below your current stream. Here&#8217;s a <a href="http://www.justin.tv/mrclmrvn/b/277629637">link</a> of the first stream I did, or the recorded stream.</p>
<p>And there&#8217;s also a Justin.TV for Android of course!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/web-stream-from-your-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails on Ubuntu 10.04 Lucid Lynx</title>
		<link>http://www.marvinmarcelo.com/ruby-on-rails-on-ubuntu-10-04-lucid-lynx/</link>
		<comments>http://www.marvinmarcelo.com/ruby-on-rails-on-ubuntu-10-04-lucid-lynx/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 06:28:18 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1787</guid>
		<description><![CDATA[Just need to keep this for reference. Quite important when playing around with RoR. Thanks to the source marvin@marvinmarcelo:~$ su marvin@marvinmarcelo:~$ apt-get install build-essential marvin@marvinmarcelo:~$ apt-get install ruby rdoc libopenssl-ruby marvin@marvinmarcelo:~$ wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz marvin@marvinmarcelo:~$ tar zxvf rubygems-1.3.7.tgz marvin@marvinmarcelo:~$ cd rubygems-1.3.7 &#8230; <a href="http://www.marvinmarcelo.com/ruby-on-rails-on-ubuntu-10-04-lucid-lynx/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just need to keep this for reference. Quite important when playing around with RoR. Thanks to the <a href="http://castilho.biz/blog/2010/05/08/how-to-install-ruby-on-rails-on-ubuntu-10-04-lucid-lynx/">source</a></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">marvin@marvinmarcelo:~$ su
marvin@marvinmarcelo:~$ apt-get install build-essential
marvin@marvinmarcelo:~$ apt-get install ruby rdoc libopenssl-ruby
marvin@marvinmarcelo:~$ wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz
marvin@marvinmarcelo:~$ tar zxvf rubygems-1.3.7.tgz
marvin@marvinmarcelo:~$ cd rubygems-1.3.7
marvin@marvinmarcelo:~$ ruby setup.rb
marvin@marvinmarcelo:~$ ln -s /usr/bin/gem1.8 /usr/local/bin/gem
marvin@marvinmarcelo:~$ gem install rails</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/ruby-on-rails-on-ubuntu-10-04-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing around with jQuery &#8211; prefill search input field with description</title>
		<link>http://www.marvinmarcelo.com/playing-around-with-jquery-prefill-search-input-field-with-description/</link>
		<comments>http://www.marvinmarcelo.com/playing-around-with-jquery-prefill-search-input-field-with-description/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 05:38:28 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[productivity]]></category>
		<category><![CDATA[work related]]></category>
		<category><![CDATA[addClass]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[blur]]></category>
		<category><![CDATA[focus]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[removeClass]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1739</guid>
		<description><![CDATA[It&#8217;s been long since I made changes to my wordpress blog site, this is what happens when you have free time as a programmer. So, I just realized the submit button on the search form on the header is not &#8230; <a href="http://www.marvinmarcelo.com/playing-around-with-jquery-prefill-search-input-field-with-description/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been long since I made changes to my wordpress blog site, this is what happens when you have free time as a programmer. </p>
<p>So, I just realized the submit button on the search form on the header is not really important, I hid it now by simply <code>display: hidden;</code>. Then, some text might help to indicate that that form above is used for search. </p>
<p>Here&#8217;s the code</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> changed <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#searchform #s'</span><span style="color: #009900;">&#41;</span>
  .<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'quiet'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Search...'</span><span style="color: #009900;">&#41;</span>
  .<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'change'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span>changed <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> changed <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #009900;">&#125;</span> <span style="color: #009900;">&#41;</span>
  .<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'focus'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'quiet'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span>changed <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>  <span style="color: #009900;">&#125;</span> <span style="color: #009900;">&#41;</span>
  .<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'blur'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span>changed <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Search...'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'quiet'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #009900;">&#125;</span> 
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>In wordpress, the search input field name is &#8216;s&#8217;, in case you find this helpful and want to use it, just replace the <code>#searchform #s</code> with your own <a href="http://api.jquery.com/jQuery/">selector</a>. I might make this a plugin someday.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/playing-around-with-jquery-prefill-search-input-field-with-description/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobility</title>
		<link>http://www.marvinmarcelo.com/mobility/</link>
		<comments>http://www.marvinmarcelo.com/mobility/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 04:31:55 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[car-cla-inverter]]></category>
		<category><![CDATA[laptop]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/mobility/</guid>
		<description><![CDATA[New stuff for tele-commuting]]></description>
			<content:encoded><![CDATA[<p>New stuff for tele-commuting</p>
<p><a href="http://www.marvinmarcelo.com/wp-content/uploads/2010/07/l_1600_1200_6784837A-76C3-40B0-8FF8-ED3881F3639A.jpeg"><img src="http://www.marvinmarcelo.com/wp-content/uploads/2010/07/l_1600_1200_6784837A-76C3-40B0-8FF8-ED3881F3639A.jpeg" alt="" class="alignnone size-full" /></a></p>
<p><a href="http://www.marvinmarcelo.com/wp-content/uploads/2010/07/l_1600_1200_01127FF2-B02D-4CCD-9494-270CA8EF074D.jpeg"><img src="http://www.marvinmarcelo.com/wp-content/uploads/2010/07/l_1600_1200_01127FF2-B02D-4CCD-9494-270CA8EF074D.jpeg" alt="" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/mobility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting video for iPod / iPhone mp4 in Ubuntu</title>
		<link>http://www.marvinmarcelo.com/converting-video-for-ipod-iphone-mp4-in-ubuntu/</link>
		<comments>http://www.marvinmarcelo.com/converting-video-for-ipod-iphone-mp4-in-ubuntu/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 23:24:05 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[not about code]]></category>
		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1355</guid>
		<description><![CDATA[First, you need to follow installing these packages on your ubuntu machine. Mine was installed on Hardy, haven&#8217;t tested the command yet now that I have upgraded to Lucid. ffmpeg -i &#34;Output_Video_File.flv&#34; -vcodec libx264 -b 512k -flags +loop+mv4 -cmp 256 &#8230; <a href="http://www.marvinmarcelo.com/converting-video-for-ipod-iphone-mp4-in-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>First, you need to follow <a href="http://ubuntuforums.org/showpost.php?p=6963607&amp;postcount=360">installing</a> these packages on your ubuntu machine. Mine was installed on Hardy, haven&#8217;t tested the command yet now that I have upgraded to Lucid.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ffmpeg</span> <span style="color: #660033;">-i</span> <span style="color: #ff0000;">&quot;Output_Video_File.flv&quot;</span> <span style="color: #660033;">-vcodec</span> libx264 <span style="color: #660033;">-b</span> 512k <span style="color: #660033;">-flags</span> +loop+mv4 <span style="color: #660033;">-cmp</span> <span style="color: #000000;">256</span> <span style="color: #660033;">-partitions</span> +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -me_method hex <span style="color: #660033;">-subq</span> <span style="color: #000000;">7</span> <span style="color: #660033;">-trellis</span> <span style="color: #000000;">1</span> <span style="color: #660033;">-refs</span> <span style="color: #000000;">5</span> <span style="color: #660033;">-bf</span> <span style="color: #000000;">0</span> <span style="color: #660033;">-flags2</span> +mixed_refs <span style="color: #660033;">-coder</span> <span style="color: #000000;">0</span> -me_range <span style="color: #000000;">16</span> <span style="color: #660033;">-g</span> <span style="color: #000000;">250</span> -keyint_min <span style="color: #000000;">25</span> -sc_threshold <span style="color: #000000;">40</span> -i_qfactor <span style="color: #000000;">0.71</span> <span style="color: #660033;">-qmin</span> <span style="color: #000000;">10</span> <span style="color: #660033;">-qmax</span> <span style="color: #000000;">51</span> <span style="color: #660033;">-qdiff</span> <span style="color: #000000;">4</span> <span style="color: #ff0000;">&quot;Output_Video_File.mp4&quot;</span></pre></div></div>

<p>This also works on .avi and .mpg as the source video.</p>
<p>Update: <a href="http://ubuntuforums.org/showthread.php?t=786095">Howto link for Lucid</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/converting-video-for-ipod-iphone-mp4-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Not matching charset reloads page twice</title>
		<link>http://www.marvinmarcelo.com/not-matching-charset-reloads-page-twice/</link>
		<comments>http://www.marvinmarcelo.com/not-matching-charset-reloads-page-twice/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 08:02:49 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[basic html]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[quirksmode]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1413</guid>
		<description><![CDATA[I noticed this when I uploaded an entire project files from dev server to production server. Using Web Developer plugin for Firefox, I had a clue to compare the Content-Type from the response header and the one I have in &#8230; <a href="http://www.marvinmarcelo.com/not-matching-charset-reloads-page-twice/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I noticed this when I uploaded an entire project files from dev server to production server. Using <a href="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer</a> plugin for Firefox, I had a clue to compare the <tt>Content-Type</tt> from the response header and the one I have in <tt>&lt;meta&gt;</tt> tags in my HTML.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="text" style="font-family:monospace;">Date: Wed, 25 Nov 2009 01:32:28 GMT
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.7 with Suhosin-Patch
X-Powered-By: PHP/5.2.4-2ubuntu5.7
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 6572
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8
&nbsp;
200 OK</pre></td></tr></table></div>

<p>And it was really it! Though they both have <tt>text/html</tt>, they had different character set values. Server responses with ISO-8859-1, but the <tt>&lt;meta&gt;</tt> instructs the browser to use utf-8, as it is declared in the document.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;</pre></div></div>

<p>And so the second load of page occurs, its sort of trying to correct page encoding on the client-side. In the script I was working, I needed to pass some session values to the next page and clear it on page load, but when it reloads the second time, the session value had been emptied.</p>
<p>Hope it helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/not-matching-charset-reloads-page-twice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

