<?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>Felipe Barriga Richards &#187; Linux</title>
	<atom:link href="http://blog.felipebarriga.cl/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.felipebarriga.cl</link>
	<description>Blog personal de Felipe Barriga Richards</description>
	<lastBuildDate>Thu, 29 Dec 2011 17:15:50 +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>SmartQ V7 Linux under QEMU</title>
		<link>http://blog.felipebarriga.cl/linux/smartq-v7-linux-under-qemu/</link>
		<comments>http://blog.felipebarriga.cl/linux/smartq-v7-linux-under-qemu/#comments</comments>
		<pubDate>Wed, 29 Dec 2010 19:45:36 +0000</pubDate>
		<dc:creator>fbarriga</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SmartQ]]></category>
		<category><![CDATA[nxPADD]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[smartq]]></category>

		<guid isPermaLink="false">http://blog.felipebarriga.cl/?p=702</guid>
		<description><![CDATA[This mini howto should work with another versions of SmartQ. It only run with some limited features (no X environment, only with nxPADD firmware and it extremly slow). You can get the nxPADD firmware in this post. You need to have a working QEMU installation with arm support. You also need this kernel (if you [...]]]></description>
			<content:encoded><![CDATA[<p>This mini howto should work with another versions of <a href="/tag/smartq/">SmartQ</a>. It only run with some limited features (no X environment, only with <a href="/tag/nxpadd/">nxPADD</a> firmware and it extremly slow). You can get the nxPADD firmware in <a href="/linux/smartq-v7-custom-linux/">this post</a>.</p>
<p>You need to have a working <a href="/tag/qemu/">QEMU</a> installation with arm support. You also need <a href="/downloads/smartq/vmlinuz.bz2">this kernel</a> (if you have another working kernel put the link as a comment).</p>
<p><span id="more-702"></span><br />
<u><strong>Create System Image</strong></u></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> dd if=/dev/zero of=rootfs-new.raw bs=1024 count=2048000<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> mkfs.ext3 -F -L smartq rootfs-new.raw<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> sudo mount -o loop rootfs-new.raw /mnt/temp<br/></div>

<p><u><strong>Copy Filesystem</strong></u></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> sudo cp -a extracted/rootfs/* /mnt/temp/<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> sudo cp -a extracted/homefs/user /mnt/temp/home/<br/></div>

<p><u><strong>Edit fstab</strong></u></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> sudo nano /mnt/temp/etc/fstab<br/></div>

<p>The file must look like this:</p>
<pre>
#/dev/ndda1     /               ext3    noatime         0       1
#/dev/ndda2     /home           ext3    noatime         0       2
/dev/sda        /               ext3    noatime         0       0
</pre>
<p><u><strong>umount image</strong></u></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> sudo umount /mnt/temp<br/></div>

<p><u><strong>Run Virtual Machine</strong></u></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> qemu-system-arm -M versatilepb -cpu cortex-a8 -kernel vmlinuz -hda rootfs-new.raw -m 256 -show-cursor -serial vc -append "root=/dev/sda mem=256M rootwait rw"<br/></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.felipebarriga.cl/linux/smartq-v7-linux-under-qemu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SmartQ V7 Custom Linux</title>
		<link>http://blog.felipebarriga.cl/linux/smartq-v7-custom-linux/</link>
		<comments>http://blog.felipebarriga.cl/linux/smartq-v7-custom-linux/#comments</comments>
		<pubDate>Wed, 29 Dec 2010 19:01:09 +0000</pubDate>
		<dc:creator>fbarriga</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SmartQ]]></category>
		<category><![CDATA[nxPADD]]></category>
		<category><![CDATA[smartq]]></category>

		<guid isPermaLink="false">http://blog.felipebarriga.cl/?p=684</guid>
		<description><![CDATA[Here is a small How To customize Linux on SmartQ V5/V7. If you need more information you can look here: http://www.smartqmid.com/wiki/index.php?title=V5/V7_Linux_Development_Guide Downloads FW Utils fw-utils.tar.bz2 Official Linux 5.5 Firmware http://d.smartdevices.com.cn/files/SmartQV7-Linux-V5.5updated.rar SmartQV7-Linux-V5.5updated.rar Custom Linux Firmware: nxPADD http://www.smartqmid.com/phpBB3/viewtopic.php?f=36&#038;t=1792&#038;start=260 SmartQ V5 SmartQ V5 old bootloader SmartQ V7 SmartQ V7 old bootloader Extract The Firmware felipe@funstation $ cd ~/smartqfelipe@funstation [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a small How To customize Linux on <a href="/tag/smartq/">SmartQ</a> V5/V7.<br />
If you need more information you can look here: <a href="http://www.smartqmid.com/wiki/index.php?title=V5/V7_Linux_Development_Guide">http://www.smartqmid.com/wiki/index.php?title=V5/V7_Linux_Development_Guide</a></p>
<p><span id="more-684"></span><br />
<u><strong>Downloads</strong></u></p>
<p><strong>FW Utils</strong></p>
<ul>
<li><a href="/downloads/smartq/fw-utils.tar.bz2">fw-utils.tar.bz2</a></li>
</ul>
<p><strong>Official Linux 5.5 Firmware</strong></p>
<ul>
<li><a href="http://d.smartdevices.com.cn/files/SmartQV7-Linux-V5.5updated.rar">http://d.smartdevices.com.cn/files/SmartQV7-Linux-V5.5updated.rar</a></li>
<li> <a href="/downloads/smartq/SmartQV7-Linux-V5.5updated.rar">SmartQV7-Linux-V5.5updated.rar</a></li>
</ul>
<p><strong>Custom Linux Firmware: <a href="/tag/nxpadd/">nxPADD</a></strong></p>
<ul>
<li><a href="http://www.smartqmid.com/phpBB3/viewtopic.php?f=36&#038;t=1792&#038;start=260">http://www.smartqmid.com/phpBB3/viewtopic.php?f=36&#038;t=1792&#038;start=260</a></li>
<li> <a href="/downloads/smartq/SmartQV7.nxPADD.20101003-1147EDT.zip">SmartQ V5</a></li>
<li> <a href="/downloads/smartq/SmartQV5.nxPADD.20101003-1147EDT.oldbootloader.zip">SmartQ V5 old bootloader</a></li>
<li> <a href="/downloads/smartq/SmartQV7.nxPADD.20101003-1147EDT.zip">SmartQ V7</a></li>
<li> <a href="/downloads/smartq/SmartQV7.nxPADD.20101003-1147EDT.oldbootloader.zip">SmartQ V7 old bootloader</a></li>
</ul>
<p><u><strong>Extract The Firmware</strong></u></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> cd ~/smartq<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> tar xvfj fw-utils.tar.bz2<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> cd fw-utils<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> ./uncompress ../SmartQV7<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> cd ..<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> mkdir extracted<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> cd extracted<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> mv /tmp/tcboot  /tmp/rootfs.tgz  /tmp/homefs.tgz /tmp/linux.rom .<br/></div>

<p><u><strong>Generate new Firmware</strong></u></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> cd ~/smartq/extracted<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> ../fw-utils/compress.v tcboot linux.rom rootfs.tgz homefs.tgz 0<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> mv SmartQV5 SmartQV7<br/><br/></div>

<p><u><strong>Uncompress Filesystem</strong></u></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> cd ~/smartq/extracted<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> mkdir rootfs<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> cd rootfs<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> sudo tar zxvfp ../rootfs.tgz<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> cd ..<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> mkdir homefs<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> cd homefs<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> sudo tar zxvfp ../homefs.tgz<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> cd ..<br/></div>

<p><u><strong>Compress Filesystem</strong></u></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> cd ~/smartq/extracted/rootfs<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> sudo tar cspvzf ../new-rootfs.tgz ./*<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> cd ~/smartq/extracted/homefs<br/><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> sudo tar cspvzf ../new-homefs.tgz ./*<br/></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.felipebarriga.cl/linux/smartq-v7-custom-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gnome-power-statistics history file</title>
		<link>http://blog.felipebarriga.cl/linux/gnome-power-statistics-history-file/</link>
		<comments>http://blog.felipebarriga.cl/linux/gnome-power-statistics-history-file/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 18:13:44 +0000</pubDate>
		<dc:creator>fbarriga</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[devicekit]]></category>
		<category><![CDATA[gnome power statistics]]></category>

		<guid isPermaLink="false">http://blog.felipebarriga.cl/?p=677</guid>
		<description><![CDATA[The Gnome Power Statistics (an applet for Gnome Panel) show chart (with limited options) of the battery charge (10 minutes, 2 hours, 1 day, 1 week) without the possibility to select an arbitrary interval. After been reading the source code of this applet I&#8217;ve found that it get the data from DeviceKit (Devkit). Once again [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://library.gnome.org/users/gnome-power-manager/2.91/statistics.html.en_GB">Gnome Power Statistics</a> (an applet for <a href="http://live.gnome.org/GnomePanel">Gnome Panel</a>) show chart (with limited options) of the battery charge (10 minutes, 2 hours, 1 day, 1 week) without the possibility to select an arbitrary interval.<br />
After been reading the source code of this applet I&#8217;ve found that it get the data from <a href="http://fedoraproject.org/wiki/Features/DeviceKit">DeviceKit</a> (Devkit). Once again I check the source code of Devkit and I found that the data is stored in: <strong>/var/lib/upower/</strong>  (on <a href="http://www.gentoo.org">Gentoo</a>).<br />
So now you can plot this data with another tool (<a href="http://www.openoffice.org">OpenOffice</a> do the trick easily).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.felipebarriga.cl/linux/gnome-power-statistics-history-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VOD (Video on Demand) de TVN &#8211; Bajar Teleseries</title>
		<link>http://blog.felipebarriga.cl/linux/vod-video-on-demand-de-tvn-bajar-teleseries/</link>
		<comments>http://blog.felipebarriga.cl/linux/vod-video-on-demand-de-tvn-bajar-teleseries/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 05:34:01 +0000</pubDate>
		<dc:creator>fbarriga</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[flvstreamer]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[rtmp]]></category>
		<category><![CDATA[rtmpdump]]></category>
		<category><![CDATA[TV]]></category>
		<category><![CDATA[vod]]></category>
		<category><![CDATA[wireshark]]></category>

		<guid isPermaLink="false">http://blog.felipebarriga.cl/?p=548</guid>
		<description><![CDATA[Después de llegar tarde a ver un capítulo de 40 y Tantos esperé a que lo subieran para verlo entero. Cuento corto, apenas lo subieron trate de verlo pero andaba super cortado y no hay opciones para configurar el buffer. Revisando lo que postie hace un tiempo, decidí utilizar nuevamente rtmpdump y funcionó bastante bien. [...]]]></description>
			<content:encoded><![CDATA[<p>Después de llegar tarde a ver un capítulo de <em><a href="http://teleseries.tvn.cl/40ytantos/">40 y Tantos</a></em> esperé a que lo subieran para verlo entero. Cuento corto, apenas lo subieron trate de verlo pero andaba super cortado y no hay opciones para configurar el buffer.</p>
<p>Revisando <a href="http://blog.felipebarriga.cl/linux/tv-chilena-online-para-linux/">lo que postie hace un tiempo</a>, decidí utilizar nuevamente <a href="http://rtmpdump.mplayerhq.hu/">rtmpdump</a> y funcionó bastante bien. Por el momento es necesario bajar el video y luego verlo (no probé mucho, pero parece que no le gusta mandar por pipe un stream que por defecto no es <em>&#8216;live&#8217;</em>).</p>
<p>Para algunos que me preguntaron como hacer que esto funcione en otros lados, adjunto unos screenshots didácticos que muestran en que hay que fijarse al utilizar <a href="http://www.wireshark.org/">wireshark</a>.<br />
<span id="more-548"></span><br />
<strong>Ver señal en vivo:</strong></p>
<p><a href="http://blog.felipebarriga.cl/wp-content/uploads/2010/09/rtmp-envivo-tvn-highlights.png" rel="lightbox[548]"><img src="http://blog.felipebarriga.cl/wp-content/uploads/2010/09/rtmp-envivo-tvn-highlights-300x160.png" alt="RTMP packet on Wireshark" title="Señal En Vivo de TVN" width="300" height="160" class="aligncenter size-medium wp-image-549" /></a></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> rtmpdump --pageUrl "http://www.tvn.cl/servicios/senal/2010/index.html" --swfUrl "http://www.tvn.cl/include/mediaplayer/player.swf" --rtmp "rtmp://190.196.11.201/envivo" --playpath "tvchile_s" --live --flv - | mplayer -<br/></div>

<p><br/><br/><br/><br/></p>
<p><strong>Bajar Publicidad de Loncoleche:</strong></p>
<p><a href="http://blog.felipebarriga.cl/wp-content/uploads/2010/09/rtmp-propaganda-tvn-highlights.png" rel="lightbox[548]"><img src="http://blog.felipebarriga.cl/wp-content/uploads/2010/09/rtmp-propaganda-tvn-highlights-300x164.png" alt="" title="RTMP Packet on Wireshark" width="300" height="164" class="aligncenter size-medium wp-image-550" /></a></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> rtmpdump --pageUrl "http://tvn.cl/teleseries/40ytantos/2010/" --swfUrl "http://tvn.cl/include/flowplayer/flowplayer.rtmp-3.1.3.swf" --rtmp "rtmp://flv.tvn.cl/vod" --playpath "_portada/videos/loncoleche" --flv loncoleche.flv<br/></div>

<p><br/><br/><br/><br/></p>
<p><strong>Bajar Capitulo de <em>40 y Tantos</em>:</strong></p>
<p><a href="http://blog.felipebarriga.cl/wp-content/uploads/2010/09/rtmp-video-on-demand-tvn-highlights.png" rel="lightbox[548]"><img src="http://blog.felipebarriga.cl/wp-content/uploads/2010/09/rtmp-video-on-demand-tvn-highlights-300x155.png" alt="" title="RTMP Packet on Wireshark" width="300" height="155" class="aligncenter size-medium wp-image-551" /></a></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> rtmpdump --pageUrl "http://tvn.cl/teleseries/40ytantos/2010/" --swfUrl "http://tvn.cl/include/flowplayer/flowplayer.rtmp-3.1.3.swf" --rtmp "rtmp://flv.tvn.cl/vod" --playpath "/teleseries/40ytantos/2010/videos/40ytantos_210910_cap39" --flv 40ytantos_210910_cap39.flv<br/></div>

<p><strong><font color="red">2010-03-07 Update: Ultimo capitulo de La Familia de al Lado</font></strong><br />
En TVN se equivocaron y subieron el ultimo capitulo de <em>La Familia de al Lado</em> (capitulo 125) en el dia Viernes 7 de Marzo cuando el dia que correspondia era el Lunes 7 de Mazo.<br />
Si quieren bajarlo:</p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> rtmpdump --pageUrl "http://tvn.cl/teleseries/lafamiliadeallado/2010/" --swfUrl "http://tvn.cl/include/flowplayer/flowplayer.rtmp-3.1.3.swf" --rtmp "rtmp://190.196.11.201/vod" --playpath "/teleseries/lafamiliadeallado/2010/videos/lfdal_20110304_c125" --flv lafamiliadeallado_125.flv<br/></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.felipebarriga.cl/linux/vod-video-on-demand-de-tvn-bajar-teleseries/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>TV Chilena Online (para Linux)</title>
		<link>http://blog.felipebarriga.cl/linux/tv-chilena-online-para-linux/</link>
		<comments>http://blog.felipebarriga.cl/linux/tv-chilena-online-para-linux/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 07:00:16 +0000</pubDate>
		<dc:creator>fbarriga</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[flvstreamer]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[rtmp]]></category>
		<category><![CDATA[rtmpdump]]></category>
		<category><![CDATA[TV]]></category>

		<guid isPermaLink="false">http://blog.felipebarriga.cl/?p=469</guid>
		<description><![CDATA[Para todos quienes por diversos motivos no pueden ver TV online de nuestros queridos canales nacionales (TVN, Canal 13, UCV TV, Megavisión, Chilevisión) porque por lo general a ellos solo les preocupa de que se vea en Windows. Aquí podrán encontrar algunos tips para poder verlos. Casi todos los canales ocupan RTMP para el envío [...]]]></description>
			<content:encoded><![CDATA[<p>Para todos quienes por diversos motivos no pueden ver TV online de nuestros queridos canales nacionales (<a href="http://www.tvn.cl/servicios/senal/2010/index.html">TVN</a>, <a href="http://envivo.13.cl/">Canal 13</a>, <a href="http://www.ucvtv.cl/">UCV TV</a>, <a href="http://beta.mega.cl/senal-en-vivo/">Megavisión</a>, <a href="http://www.chilevision.cl/home/index.php?option=com_content&#038;task=blogcategory&#038;id=1&#038;Itemid=1624">Chilevisión</a>) porque por lo general a ellos solo les preocupa de que se vea en Windows. Aquí podrán encontrar algunos tips para poder verlos.<br />
<span id="more-469"></span><br />
Casi todos los canales ocupan <a href="http://en.wikipedia.org/wiki/Real_Time_Messaging_Protocol">RTMP</a> para el envío de los datos. La única opción que he encontrado por el momento es ocupar el programa <a href="http://rtmpdump.mplayerhq.hu/">rtmpdump</a> para pasar el contenido a <a href="http://www.mplayerhq.hu">mplayer</a> o guardarlo en el disco. Si guardan el stream pueden verlo mientras se va guardando o posteriormente. En Ubuntu viene un fork de <a href="http://rtmpdump.mplayerhq.hu/">rtmpdump</a> que se llama <a href="http://savannah.nongnu.org/projects/flvstreamer">flvstreamer</a> que al parecer le sacaron varias características de cifrado. Supongo que habrá sido para evitar problemas legales.<br />
Los ejemplos que pondré son para ver directamente los canales con <a href="http://www.mplayerhq.hu">mplayer</a>. No deberían de tener problemas con otros reproductores. Si quieren guardar el stream solo tienen que reemplazar <em>-o &#8211; | mplayer -</em> por <em>-o dump.flv</em></p>
<p>Mucho bla bla y pocos comandos, aquí van:</p>
<p><strong>Chilevisión</strong></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> flvstreamer --pageUrl "http://www.chilevision.cl/home/index.php?option=com_content&task=blogcategory&id=1&Itemid=1624" --rtmp "rtmp://streaming.chilevision.cl/internacional" --playpath "livestream"  --live -o - | mplayer -<br/></div>

<p><strong>Megavisión</strong></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> rtmpdump --pageUrl "http://beta.mega.cl/senal-en-vivo/" --swfUrl "http://beta.mega.cl/website/js/flowplayer/3.2.2/swf/rtmp.swf" --rtmp "rtmp://cluster.ztreaming.com/mega" --playpath "megaJaeRa1xing" --live --flv - | mplayer -<br/></div>

<p><strong>Televisión Nacional de Chile &#8211; TVN</strong></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> rtmpdump --pageUrl "http://www.tvn.cl/servicios/senal/2010/index.html" --swfUrl "http://www.tvn.cl/include/mediaplayer/player.swf" --rtmp "rtmp://190.196.11.201/envivo" --playpath "tvchile_s" --live --flv - | mplayer -<br/></div>

<p>Pueden ver un <a href="http://blog.felipebarriga.cl/wp-content/uploads/2010/07/tvn.png" rel="lightbox[469]">screenshot</a> de la transmisión vista en Windows y al lado con <a href="http://www.videolan.org/vlc/">VLC</a> en Linux. De hecho para poder ver como &#8216;colgarme&#8217; al stream tuve que ocupar la maquina virtual (<a href="http://www.virtualbox.org/">VirtualBox</a>) con Windows y de host Linux con <a href="http://www.wireshark.org/">Wireshark</a>.</p>
<p><strong>Canal 13</strong></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> rtmpdump --pageUrl "http://envivo.13.cl/" --swfUrl "http://envivo.13.cl/streaming.swf" --rtmp "rtmp://200.6.119.4/c13str-aire" --playpath "c13str-aire.stream" --live --flv - | mplayer -<br/></div>

<p><strong>Canal 13 Cable</strong></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> rtmpdump --pageUrl "http://envivo.13.cl/" --swfUrl "http://envivo.13.cl/streaming.swf" --rtmp "rtmp://200.6.119.4/c13str-cable" --playpath "c13str-cable.stream" --live --flv - | mplayer -<br/></div>

<p><strong>Tele 13 Online</strong></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> rtmpdump --pageUrl "http://envivo.13.cl/" --swfUrl "http://envivo.13.cl/streaming.swf" --rtmp "rtmp://200.6.119.4/c13str-online" --playpath "c13str-online.stream" --live --flv - | mplayer -<br/></div>

<p>* Si tienen problemas con la IP <em>200.6.119.4</em> pueden ocupar la <em>200.91.29.254</em><br />
* Les recomiendo ocupar filtros de desentrelazado (<a href="http://en.wikipedia.org/wiki/Deinterlacing">deinterlacing</a>). Para mplayer: <em>mplayer -vf pp=linblenddeint</em></p>
<p><strong>UCV TV</strong></p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> mplayer mms://200.24.226.186:8080/<br/></div>

<p><strong>La Red</strong><br />
No tiene transmisión online&#8230;</p>
<p>* Recomiendo darle un poco más de cache a mplayer con <em>mplayer -cache 512</em> (o lo que estimen mejor, comenten como les va).</p>
<p><strong>UPDATE: Ahora pueden <a href="http://blog.felipebarriga.cl/linux/vod-video-on-demand-de-tvn-bajar-teleseries/">bajar capítulos de series/teleseries de TVN</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.felipebarriga.cl/linux/tv-chilena-online-para-linux/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Listing and deleting files in a terminal (bash)</title>
		<link>http://blog.felipebarriga.cl/otros/listing-and-deleting-files-in-a-terminal-bash/</link>
		<comments>http://blog.felipebarriga.cl/otros/listing-and-deleting-files-in-a-terminal-bash/#comments</comments>
		<pubDate>Wed, 05 May 2010 19:03:37 +0000</pubDate>
		<dc:creator>fbarriga</dc:creator>
				<category><![CDATA[Otros]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.felipebarriga.cl/?p=313</guid>
		<description><![CDATA[There are infinite ways of doing the following commands but here you can find some examples. They can be very useful when you need to manage a lot of files in different directories. Using &#8216;find&#8217; Delete empty files using find: felipe@funstation $ find dir/ -type f -empty -print0 &#124; xargs rm -f Or create an [...]]]></description>
			<content:encoded><![CDATA[<p>There are infinite ways of doing the following commands but here you can find some examples. They can be very useful when you need to manage a lot of files in different directories.<br />
<u><br />
<h3><strong>Using &#8216;find&#8217;</strong></h3>
<p></u></p>
<p>Delete empty files using find:</p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> find dir/ -type f -empty -print0 | xargs rm -f<br/></div>

<p><span id="more-313"></span><br />
Or create an script (to watch it before deleting those files):</p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> find dir/ -type f -empty -print0 | xargs -0 echo rm -f > delete_script.sh<br/></div>

<p><u><br />
<h3><strong>Using &#8216;du&#8217;</strong></h3>
<p></u></p>
<p>List with size all *.txt files on a tree dir:</p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> du -ha dir/ | grep \.txt<br/></div>

<p><br/></p>
<p>Also that doesn&#8217;t match an specific size (256K):</p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> du -ha dir/ | grep \.txt | grep -v "256K"<br/></div>

<p><br/></p>
<p>Also add another possible value (256K or 512K):</p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> du -ha dir/ | grep \.txt | grep -v "256K" | grep -v "512K"<br/></div>

<p>or:</p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> du -ha dir/ | grep \.txt | grep -v "256K\|512K"<br/></div>

<p><br/></p>
<p>Count how many they are:</p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> du -ha dir/ | grep \.txt | grep -v "256K\|512K" | wc -l<br/></div>

<p><br/></p>
<p>Get only the filenames:</p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> du -ha dir/ | grep \.txt | grep -v "256K\|512K" | cut -f 2<br/></div>

<p><br/></p>
<p>All in one line (remove trailing newline character):</p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> du -ha dir/ | grep \.txt | grep -v "256K\|512K" | cut -f 2 | tr "\n" " "<br/></div>

<p><br/></p>
<p>Delete Them:</p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> du -ha dir/ | grep \.txt | grep -v "256K\|512K" | cut -f 2 | tr "\n" " " | xargs rm -f<br/></div>

<p><br/></p>
<p><strong>Notes:</strong> You can get errors with grep because it won&#8217;t distinct if the string is in the size or in the filename<br />
<br/></p>
<p><strong>Related in spanish:</strong> <a href="http://systemadmin.es/2009/04/uso-de-xargs-herramientas-unix-ii">http://systemadmin.es/2009/04/uso-de-xargs-herramientas-unix-ii</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.felipebarriga.cl/otros/listing-and-deleting-files-in-a-terminal-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NASA World Wind JAVA and Radeon</title>
		<link>http://blog.felipebarriga.cl/otros/nasa-world-wind-java-and-radeon/</link>
		<comments>http://blog.felipebarriga.cl/otros/nasa-world-wind-java-and-radeon/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 18:15:44 +0000</pubDate>
		<dc:creator>fbarriga</dc:creator>
				<category><![CDATA[Otros]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Radeon]]></category>
		<category><![CDATA[World Wind]]></category>

		<guid isPermaLink="false">http://blog.felipebarriga.cl/?p=67</guid>
		<description><![CDATA[Para poder ejecutar el NASA World Wind version java (y sus demos) en Linux utilizando el driver open source para las tarjetas radeon necesitas configurar el DRI para que se muestren las texturas. Hardware Utilizado: Tarjeta: ATI Mobility Radeon X1400 Chipset: R500 Configuracion de xorg: (**) RADEON(0): Option "EnablePageFlip" "1" (**) RADEON(0): Option "ColorTiling" "1" [...]]]></description>
			<content:encoded><![CDATA[<p>Para poder ejecutar el <a href="http://worldwind.arc.nasa.gov/java/index.html">NASA World Wind</a> version java (<a href="http://worldwind.arc.nasa.gov/java/demos/">y sus demos</a>) en Linux utilizando el <a href="http://dri.freedesktop.org/wiki/ATIRadeon#head-c75f086e8b18a43299b0da1b07cf8322679e8633">driver open source para las tarjetas radeon</a> necesitas configurar el DRI para que se muestren las texturas.<br />
<span id="more-67"></span><br />
<strong>Hardware Utilizado:</strong><br />
<code><br />
Tarjeta: ATI Mobility Radeon X1400<br />
Chipset: R500<br />
</code></p>
<p><strong>Configuracion de xorg:</strong><br />
<code><br />
(**) RADEON(0): Option "EnablePageFlip" "1"<br />
(**) RADEON(0): Option "ColorTiling" "1"<br />
(**) RADEON(0): Option "AccelMethod" "XAA"<br />
(**) RADEON(0): Option "TVDACLoadDetect" "TRUE"<br />
(**) RADEON(0): Option "TVStandard" "ntsc"<br />
(**) RADEON(0): Option "ATOMTVOut" "TRUE"<br />
</code></p>
<p><strong>Version de Java:</strong> java version &#8220;1.6.0_15&#8243;</p>
<p>Necesitas ejecutar la herramienta Direct Rendering Preferences:</p>

<div class="wp-terminal"><font color='#33FF00'>felipe@funstation</font> <font color='#0066FF'>$</font> driconf<br/></div>

<p>ir a <em>Image Quality</em> y setear las siguientes opciones:<br />
<strong>Enable S3TC texture compression even if software  support is not available</strong> = YES<br />
<strong>Disable S3TC compression</strong> = NO</p>
<p>Con eso deberias de estar listo para poder ocupar el World Wind Java</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.felipebarriga.cl/otros/nasa-world-wind-java-and-radeon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Acortando el Path en el prompt del terminal (bash)</title>
		<link>http://blog.felipebarriga.cl/otros/acortando-el-path-en-el-prompt-del-terminal-bash/</link>
		<comments>http://blog.felipebarriga.cl/otros/acortando-el-path-en-el-prompt-del-terminal-bash/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 23:42:44 +0000</pubDate>
		<dc:creator>fbarriga</dc:creator>
				<category><![CDATA[Otros]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.felipebarriga.cl/?p=61</guid>
		<description><![CDATA[A mas de alguno le habra pasado que cuando estan en un directorio con muchos niveles de profundidad del tipo: /home/user/mis_archivos/personal/documentos/documentos-importantes/ Les ocupa la mitad de la linea del terminal. Para solucionar eso solo necesitan cambiar la variable PS1. La variable original que viene con mi distro (Gentoo) es: user@computer $ PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\]' Y [...]]]></description>
			<content:encoded><![CDATA[<p>A mas de alguno le habra pasado que cuando estan en un directorio con muchos niveles de profundidad del tipo:<br />
<strong><em>/home/user/mis_archivos/personal/documentos/documentos-importantes/</em></strong><br />
Les ocupa la mitad de la linea del terminal. Para solucionar eso solo necesitan cambiar la variable PS1.<br />
<span id="more-61"></span><br />
La variable original que viene con mi distro (Gentoo) es:</p>

<div class="wp-terminal"><font color='#33FF00'>user@computer</font> <font color='#0066FF'>$</font> PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\]'<br/></div>

<p>Y decidi reemplazarla por esta que restringe el tamaño del path a mostrar:</p>

<div class="wp-terminal"><font color='#33FF00'>user@computer</font> <font color='#0066FF'>$</font> PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] ${PWD/????????????????????????????*/...${PWD:${#PWD}-30}} \$\[\033[00m\]'<br/></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.felipebarriga.cl/otros/acortando-el-path-en-el-prompt-del-terminal-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

