<?xml version="1.0" encoding="ISO-8859-1"?><rss version="2.0"><channel><title>Puppy Linux Blog</title><description>Pritlog</description><link>http://mainetrapshooting.com/blog/index.</link><item><link>http://mainetrapshooting.com/blog/index.php/viewEntry/00018/Mediatomb-and-UPnP</link><title>Mediatomb and UPnP</title><category>mediatomb</category><description>Puppy linux and Mediatomb Media Server for DLNA and UPnP&lt;br&gt;&lt;br&gt;The following is for Mediatomb Version 12&lt;br&gt;I usually create .pets for easy removal if unwanted&lt;br&gt;&lt;br&gt;autoconf &amp;gt; 2.6 is required&lt;br&gt;http://ftp.gnu.org/gnu/autoconf/&lt;br&gt;untar&lt;br&gt;&lt;br&gt;./configure&lt;br&gt;make&lt;br&gt;make install DESTDIR=/root/test/autoconf-2.65&lt;br&gt;&lt;br&gt;Download Mediatomb:&lt;br&gt;svn co http://svn.mediatomb.cc/svnroot/mediatomb/trunk/mediatomb mediatomb&lt;br&gt;&lt;br&gt;cd to mediatomb directory and:&lt;br&gt;autoreconf -i&lt;br&gt;./configure&lt;br&gt;make&lt;br&gt;make install DESTDIR=/root/test/mediatomb&lt;br&gt;&lt;br&gt;Install mediatomb.pet&lt;br&gt;make sure /root/.mediatomb/config.xml points to /usr/local/share/mediashare not /usr/share/mediatomb&lt;br&gt;&lt;br&gt;in console:&lt;br&gt;mediatomb&lt;br&gt;&lt;br&gt;it should tell you which port it's running on.&lt;br&gt;&lt;br&gt;access with localhost:[port]/ in your browser&lt;br&gt;&lt;br&gt;For great trancoding tips, see: http://mediatomb.cc/dokuwiki/transcoding:transcoding&lt;br&gt;&lt;br&gt;mp3's are playing, video is choppy&lt;br&gt;&lt;br&gt;</description></item><item><link>http://mainetrapshooting.com/blog/index.php/viewEntry/00017/webcam-screenshots</link><title>webcam screenshots</title><category>ffmpeg</category><description>Using ffmpeg with webcam&lt;br&gt;&lt;br&gt;take one image per second&lt;br&gt;-r 1&lt;br&gt;to take images for 3 seconds&lt;br&gt;-t 3&lt;br&gt;&lt;br&gt;so this will give you 3 jpegs in your root directory at vga resolution&lt;br&gt;Code:&lt;br&gt;&lt;br&gt;ffmpeg -y -r 1 -t 3 -f video4linux2 -s vga -i /dev/video0 ~/camshot%d.jpeg&lt;br&gt;&lt;br&gt;&lt;br&gt;similarly here is a cheap way to capture webcam video:&lt;br&gt;&lt;br&gt;rxvt +sb -bg orange -geometry 80x2 -e ffmpeg -y -f oss -i /dev/audio -f video4linux2 -s qvga -i /dev/video0 ~/a.avi&lt;br&gt;---------------------------------------&lt;br&gt;&lt;br&gt;Using mplayer with webcam&lt;br&gt;&lt;br&gt;changing -frames to different values changes number of screenshots.&lt;br&gt;&lt;br&gt;mplayer -fps 1 tv:// -tv driver=v4l2:device=/dev/video0:width=320:height=240:outfmt=rgb24 -frames 5 -vo jpeg&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><link>http://mainetrapshooting.com/blog/index.php/viewEntry/00016/Telnet-and-email</link><title>Telnet and email</title><category>email</category><description>Open a connection from your computer to your mail server.&lt;br&gt;Code:&lt;br&gt;telnet mail.domain.ext 110&lt;br&gt;&lt;br&gt;You should receive a reply like:&lt;br&gt;Trying ???.???.???.???...&lt;br&gt;Connected to mail.domain.ext.&lt;br&gt;Escape character is '^]'.&lt;br&gt;+OK ready&lt;br&gt;&lt;br&gt;Then log in:&lt;br&gt;Code:&lt;br&gt;USER username&lt;br&gt;&lt;br&gt;This should give you:&lt;br&gt;+OK Password required for userName.&lt;br&gt;&lt;br&gt;Now give your password:&lt;br&gt;Code:&lt;br&gt;PASS password&lt;br&gt;&lt;br&gt;Should yield:&lt;br&gt;+OK userName has ? visible messages (? hidden) in ????? octets.&lt;br&gt;&lt;br&gt;To see a list of your emails awaiting collection use the LIST command, this will also show you the id number of your messages (e.g. 1 or 2 etc.)&lt;br&gt;&lt;br&gt;To view the contents of an email type RETR + the id number of the message (e.g RETR 1).&lt;br&gt;&lt;br&gt;To delete a message use DELE + the id number of the message (e.g DELE 1).&lt;br&gt;&lt;br&gt;To leave your mailbox and close the connection use QUIT&lt;br&gt;</description></item><item><link>http://mainetrapshooting.com/blog/index.php/viewEntry/00015/finding-what-ports-are-used</link><title>finding what ports are used</title><category>netstat</category><description>Use the following to find out what ports are being used on linux computer&lt;br&gt;&lt;br&gt;netstat -anp --ip&lt;br&gt;</description></item><item><link>http://mainetrapshooting.com/blog/index.php/viewEntry/00014/Convert--ogg-to--mp3</link><title>Convert .ogg to .mp3</title><category>ffmpeg</category><description>for x in *.ogg; do ffmpeg -i &quot;$x&quot; -ab 128 &quot;`basename &quot;$x&quot; .ogg`.mp3&quot;; done&lt;br&gt;&lt;br&gt;This does an entire dir at once. You must be inside the dir you want to convert. Substitute whatever you want your target bitrate to be up where 128 is.&lt;br&gt;</description></item><item><link>http://mainetrapshooting.com/blog/index.php/viewEntry/00013/mplayer-and-recording</link><title>mplayer and recording</title><category>mplayer</category><description>To record using mplayer, use the following format:&lt;br&gt;&lt;br&gt;mplayer -dumpstream -dumpfile &amp;lt;filename&amp;gt; &amp;lt;url&amp;gt;&lt;br&gt;</description></item><item><link>http://mainetrapshooting.com/blog/index.php/viewEntry/00012/External-IP</link><title>External IP</title><category>internet</category><description>curl whatismyip.org&lt;br&gt;&lt;br&gt;or&lt;br&gt;&lt;br&gt;wget -O - -q http://whatismyip.org/&lt;br&gt;</description></item><item><link>http://mainetrapshooting.com/blog/index.php/viewEntry//</link><title></title><category></category><description></description></item><item><link>http://mainetrapshooting.com/blog/index.php/viewEntry//</link><title></title><category></category><description></description></item></channel></rss>


