<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Solutions for net headaches</title>
	<atom:link href="http://netheadaches.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://netheadaches.wordpress.com</link>
	<description>Solutions to problems you encounter that are not so common and give you headaches</description>
	<lastBuildDate>Sat, 31 Dec 2011 00:47:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='netheadaches.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Solutions for net headaches</title>
		<link>http://netheadaches.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://netheadaches.wordpress.com/osd.xml" title="Solutions for net headaches" />
	<atom:link rel='hub' href='http://netheadaches.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Paypal API &#8211; Security header is not valid (10002)</title>
		<link>http://netheadaches.wordpress.com/2010/04/05/paypal-api-security-header-is-not-valid-10002/</link>
		<comments>http://netheadaches.wordpress.com/2010/04/05/paypal-api-security-header-is-not-valid-10002/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 09:14:46 +0000</pubDate>
		<dc:creator>netheadaches</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[paypal]]></category>

		<guid isPermaLink="false">http://netheadaches.wordpress.com/?p=9</guid>
		<description><![CDATA[Error when integrating the PayPal API<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netheadaches.wordpress.com&amp;blog=1866895&amp;post=9&amp;subd=netheadaches&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When integrating the PayPal API you might get the following error returned:</p>
<pre>array(9) {
  ["TIMESTAMP"] =&gt; string(20) "2010-04-05T09:10:07Z"
  ["CORRELATIONID"] =&gt; string(12) "928a82db523e"
  ["ACK"] =&gt; string(7) "Failure"
  ["VERSION"] =&gt; string(2) "56"
  ["BUILD"] =&gt; string(7) "1236498"
  ["L_ERRORCODE0"] =&gt; string(5) "10002"
  ["L_SHORTMESSAGE0"] =&gt; string(14) "Security error"
  ["L_LONGMESSAGE0"] =&gt; string(28) "Security header is not valid"
  ["L_SEVERITYCODE0"] =&gt; string(5) "Error"
}
</pre>
<p>This might have two possible causes:</p>
<ol>
<li>you are using the wrong credentials (trying to connect to the Sandbox API URL using the Live credentials or vice versa)</li>
<li>you are missing a <strong>&amp;</strong> character in the NVP string, after the SIGNATURE, PWD or USER keys.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netheadaches.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netheadaches.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/netheadaches.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/netheadaches.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/netheadaches.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/netheadaches.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/netheadaches.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/netheadaches.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/netheadaches.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/netheadaches.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/netheadaches.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/netheadaches.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/netheadaches.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/netheadaches.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netheadaches.wordpress.com&amp;blog=1866895&amp;post=9&amp;subd=netheadaches&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netheadaches.wordpress.com/2010/04/05/paypal-api-security-header-is-not-valid-10002/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48b671c47dcc7889d95bdef34a2aa760?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netheadaches</media:title>
		</media:content>
	</item>
		<item>
		<title>Error while opening codec for output stream #0.1 &#8211; maybe incorrect parameters such as bit_rate, rate, width or height</title>
		<link>http://netheadaches.wordpress.com/2007/11/08/error-while-opening-codec-for-output-stream-01-maybe-incorrect-parameters-such-as-bit_rate-rate-width-or-height/</link>
		<comments>http://netheadaches.wordpress.com/2007/11/08/error-while-opening-codec-for-output-stream-01-maybe-incorrect-parameters-such-as-bit_rate-rate-width-or-height/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 21:55:44 +0000</pubDate>
		<dc:creator>netheadaches</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[codec]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[stream]]></category>
		<category><![CDATA[video conversion]]></category>

		<guid isPermaLink="false">http://netheadaches.wordpress.com/2007/11/08/error-while-opening-codec-for-output-stream-01-maybe-incorrect-parameters-such-as-bit_rate-rate-width-or-height/</guid>
		<description><![CDATA[Piece a crap! I&#8217;ve spent half a day debugging this error.. So you are trying to convert some avi movies into flv and get rich with your video uploading website.. You&#8217;ve tested you upload video functionality and it works flawless, untill some guy comes and say: hey i&#8217;ve tried to upload this video and it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netheadaches.wordpress.com&amp;blog=1866895&amp;post=6&amp;subd=netheadaches&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Piece a crap! I&#8217;ve spent half a day debugging this error..</p>
<p>So you are trying to convert some avi movies into flv and get rich with your video uploading website.. You&#8217;ve tested you upload video functionality and it works flawless, untill some guy comes and say: hey i&#8217;ve tried to upload this video and it didn&#8217;t work. You run to the Linux console do a log print and you receive this beautiful error:<br />
<code><br />
FFmpeg version SVN-r10964, Copyright (c) 2000-2007 Fabrice Bellard, et al.<br />
configuration: --enable-gpl --enable-libmp3lame --enable-shared --prefix=/usr --enable-libogg --enable-libvorbis<br />
libavutil version: 49.5.0<br />
libavcodec version: 51.48.0<br />
libavformat version: 51.18.0<br />
built on Nov 8 2007 14:12:36, gcc: 4.1.1 20061011 (Red Hat 4.1.1-30)<br />
Input #0, avi, from 'files/3635634.avi':<br />
Duration: 00:00:18.1, start: 0.000000, bitrate: 660 kb/s<br />
Stream #0.0: Video: mjpeg, yuvj422p, 320x240 [PAR 0:1 DAR 0:1], 15.00 fps(r)<br />
Stream #0.1: Audio: pcm_u8, 11024 Hz, mono, 88 kb/s<br />
Output #0, flv, to 'files/3635634.flv':<br />
Stream #0.0: Video: flv, yuv420p, 320x240 [PAR 0:1 DAR 0:1], q=2-31, 200 kb/s, 15.00 fps(c)<br />
Stream #0.1: Audio: libmp3lame, 11024 Hz, mono, 64 kb/s<br />
Stream mapping:<br />
Stream #0.0 -&gt; #0.0<br />
Stream #0.1 -&gt; #0.1<br />
[flv @ 0x7c77d0]removing common factors from framerate<br />
Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height</code></p>
<p>You run manually the command :</p>
<p><code>ffmpeg -y -i input_video.avi -f flv output_video.flv</code></p>
<p><code>...and the error doesn't dissapear</code></p>
<p>After googling around reading ffmpeg documentation i found the solution. You need to manually set the sampling frequency like this:</p>
<p align="center"><code><strong>ffmpeg -y -i files/input_file.avi -ar 22050 -f flv files/output_file.flv</strong></code></p>
<p style="text-align:left;"><code><strong>Later edit: Post has been updated . Thanks to Peter </strong></code></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/netheadaches.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/netheadaches.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netheadaches.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netheadaches.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/netheadaches.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/netheadaches.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/netheadaches.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/netheadaches.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/netheadaches.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/netheadaches.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/netheadaches.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/netheadaches.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/netheadaches.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/netheadaches.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/netheadaches.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/netheadaches.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netheadaches.wordpress.com&amp;blog=1866895&amp;post=6&amp;subd=netheadaches&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netheadaches.wordpress.com/2007/11/08/error-while-opening-codec-for-output-stream-01-maybe-incorrect-parameters-such-as-bit_rate-rate-width-or-height/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48b671c47dcc7889d95bdef34a2aa760?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netheadaches</media:title>
		</media:content>
	</item>
		<item>
		<title>Apache not starting &#8211; Win32: Apache2 service terminated with service-specific error 1 (0&#215;1)</title>
		<link>http://netheadaches.wordpress.com/2007/10/08/apache-not-starting-win32-apache2-service-terminated-with-service-specific-error-1-0x1/</link>
		<comments>http://netheadaches.wordpress.com/2007/10/08/apache-not-starting-win32-apache2-service-terminated-with-service-specific-error-1-0x1/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 12:11:41 +0000</pubDate>
		<dc:creator>netheadaches</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[1]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[not starting]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://netheadaches.wordpress.com/2007/10/08/apache-not-starting-win32-apache2-service-terminated-with-service-specific-error-1-0x1/</guid>
		<description><![CDATA[This usually happens when you do a fresh install of your system and reinstall LAMP.. then you copy/paste your backup configuration files. If you use vhosts (virtual hosts) you may get this error in Event viewer. It happens because apache tries to access a file in a folder which doesn&#8217;t exists. For example,i had setup [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netheadaches.wordpress.com&amp;blog=1866895&amp;post=5&amp;subd=netheadaches&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This usually happens when you do a fresh install of your system and reinstall LAMP.. then you copy/paste your backup configuration files. If you use  vhosts (virtual hosts) you may get this error in Event viewer.</p>
<p><strong>It happens because apache tries to access a file in a folder which doesn&#8217;t exists</strong>. For example,i had setup a virtual host with a custom error log files in a new folder called <em>_logs.</em> After I copied the backup site in the new location I thought I don&#8217;t need anymore the old log files so I deleted the whole _logs directory. After a restart I noticed apache wasn&#8217;t starting anymore.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/netheadaches.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/netheadaches.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netheadaches.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netheadaches.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/netheadaches.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/netheadaches.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/netheadaches.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/netheadaches.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/netheadaches.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/netheadaches.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/netheadaches.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/netheadaches.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/netheadaches.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/netheadaches.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/netheadaches.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/netheadaches.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netheadaches.wordpress.com&amp;blog=1866895&amp;post=5&amp;subd=netheadaches&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netheadaches.wordpress.com/2007/10/08/apache-not-starting-win32-apache2-service-terminated-with-service-specific-error-1-0x1/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48b671c47dcc7889d95bdef34a2aa760?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netheadaches</media:title>
		</media:content>
	</item>
		<item>
		<title>What is a &#8220;net headache&#8221;?</title>
		<link>http://netheadaches.wordpress.com/2007/10/08/what-is-a-net-headache/</link>
		<comments>http://netheadaches.wordpress.com/2007/10/08/what-is-a-net-headache/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 11:59:41 +0000</pubDate>
		<dc:creator>netheadaches</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[headache]]></category>
		<category><![CDATA[net]]></category>
		<category><![CDATA[what is]]></category>

		<guid isPermaLink="false">http://netheadaches.wordpress.com/2007/10/08/what-is-a-net-headache/</guid>
		<description><![CDATA[A &#8220;net headache&#8221; as the name implies is a condition of pain in the head resulted from an annoying error that you read on the computer monitor. This type of headache mostly installs when you do a thing 1000+ times and it worked perfectly and when you do it once more you are served with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netheadaches.wordpress.com&amp;blog=1866895&amp;post=3&amp;subd=netheadaches&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A &#8220;net headache&#8221; as the name implies is a condition of pain in the head resulted from an annoying error that you read on the computer monitor.  This type of headache mostly installs when you do a thing 1000+ times and it worked perfectly and when you do it once more you are served with a stupid error.. You start cursing, your blood pressure increases, you start sweating and you wondering : where da fuck did that come from? At least, this has happened to me right now, after I installed the Apache web server a hundred times before and now it just won&#8217;t work..</p>
<p>The &#8220;net headache&#8221; is even more intense when you are a software engineer, have BS degree and everybody knows you as &#8220;the guy who knows computers well&#8221; and you have the idea the everything makes sense and there is not reason why it shouldn&#8217;t work</p>
<p>Unfortunately there is no pill for this kind of headache.. But there are some solutions. Here is what you can do:</p>
<ul>
<li>shutdown the damn PC (usually by unplugging) and go to sleep &#8211; if you are a true computer addicted , you never do this</li>
<li>grab the monitor and smash it in a wall or something &#8211; if you are a true computer addicted, you must&#8217;ve done this at least once</li>
<li>do a career turn and start selling brownies</li>
</ul>
<p>or you can read my blog and look here for solutions for your &#8220;net headaches&#8221;.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/netheadaches.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/netheadaches.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/netheadaches.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/netheadaches.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/netheadaches.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/netheadaches.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/netheadaches.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/netheadaches.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/netheadaches.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/netheadaches.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/netheadaches.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/netheadaches.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/netheadaches.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/netheadaches.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/netheadaches.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/netheadaches.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netheadaches.wordpress.com&amp;blog=1866895&amp;post=3&amp;subd=netheadaches&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://netheadaches.wordpress.com/2007/10/08/what-is-a-net-headache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48b671c47dcc7889d95bdef34a2aa760?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netheadaches</media:title>
		</media:content>
	</item>
	</channel>
</rss>
