Wednesday, December 02, 2009

Manifiesto en defensa de los derechos fundamentales en internet

Ante la inclusión en el Anteproyecto de Ley de Economía sostenible de modificaciones legislativas que afectan al libre ejercicio de las libertades de expresión, información y el derecho de acceso a la cultura a través de Internet, los periodistas, bloggers, usuarios, profesionales y creadores de internet manifestamos nuestra firme oposición al proyecto, y declaramos que...

1.- Los derechos de autor no pueden situarse por encima de los derechos fundamentales de los ciudadanos, como el derecho a la privacidad, a la seguridad, a la presunción de inocencia, a la tutela judicial efectiva y a la libertad de expresión.

2.- La suspensión de derechos fundamentales es y debe seguir siendo competencia exclusiva del poder judicial. Ni un cierre sin sentencia. Este anteproyecto, en contra de lo establecido en el artículo 20.5 de la Constitución, pone en manos de un órgano no judicial -un organismo dependiente del ministerio de Cultura-, la potestad de impedir a los ciudadanos españoles el acceso a cualquier página web.

3.- La nueva legislación creará inseguridad jurídica en todo el sector tecnológico español, perjudicando uno de los pocos campos de desarrollo y futuro de nuestra economía, entorpeciendo la creación de empresas, introduciendo trabas a la libre competencia y ralentizando su proyección internacional.

4.- La nueva legislación propuesta amenaza a los nuevos creadores y entorpece la creación cultural. Con Internet y los sucesivos avances tecnológicos se ha democratizado extraordinariamente la creación y emisión de contenidos de todo tipo, que ya no provienen prevalentemente de las industrias culturales tradicionales, sino de multitud de fuentes diferentes.

5.- Los autores, como todos los trabajadores, tienen derecho a vivir de su trabajo con nuevas ideas creativas, modelos de negocio y actividades asociadas a sus creaciones. Intentar sostener con cambios legislativos a una industria obsoleta que no sabe adaptarse a este nuevo entorno no es ni justo ni realista. Si su modelo de negocio se basaba en el control de las copias de las obras y en Internet no es posible sin vulnerar derechos fundamentales, deberían buscar otro modelo.

6.- Consideramos que las industrias culturales necesitan para sobrevivir alternativas modernas, eficaces, creíbles y asequibles y que se adecuen a los nuevos usos sociales, en lugar de limitaciones tan desproporcionadas como ineficaces para el fin que dicen perseguir.

7.- Internet debe funcionar de forma libre y sin interferencias políticas auspiciadas por sectores que pretenden perpetuar obsoletos modelos de negocio e imposibilitar que el saber humano siga siendo libre.

8.- Exigimos que el Gobierno garantice por ley la neutralidad de la Red en España, ante cualquier presión que pueda producirse, como marco para el desarrollo de una economía sostenible y realista de cara al futuro.

9.- Proponemos una verdadera reforma del derecho de propiedad intelectual orientada a su fin: devolver a la sociedad el conocimiento, promover el dominio público y limitar los abusos de las entidades gestoras.

10.- En democracia las leyes y sus modificaciones deben aprobarse tras el oportuno debate público y habiendo consultado previamente a todas las partes implicadas. No es de recibo que se realicen cambios legislativos que afectan a derechos fundamentales en una ley no orgánica y que versa sobre otra materia.

Wednesday, November 11, 2009

Saturday, October 31, 2009

Lyon


Un mes y medio en Francia, las palabras que más utilizo son buenos días, buenas noches, gracias, perdón, si, no hablo francés, ¿hablas inglés? y ¿hablas español?, por supuesto en un pseudo-francés que la gente entiende normalmente con una sonrisa.
No tengo muchas ganas de aprender francés, yo creía que con dos idiomas me bastaba, pero fíjate por dónde que no va a ser así, o sí. El sueco, seamos sinceros, lo he dado por imposible, se decir algunas palabras más que en francés, la primera que aprendí: te quiero.

Pero no nos pongamos romanticones que aquí lo que toca es hablar de los franchuchis, así de primeras me doy cuenta de que les gusta mucho discutir las cosas, eso si, en francés, no esperes que te respondan en otro idioma por lo general, tu les puedes preguntar do you speak english? y ellos te responden oui, tu piensas guay uno con el que puedo hablar, y nada, te siguen hablando en francés...
Esto tampoco es tan grave, realmente al tener las mismas raices no es tan difícil entendernos. El otro día estuve hablando con un marroquí, el me hablaba en francés y yo en español, despacio, pero estoy seguro de que nos entendimos más del 50% de la conversación... habría que preguntarle a el.

La ciudad, bonita, muy bonita, los alrededores son increíbles. Este fin de semana queríamos ir en bici al gran lago,


Ver mapa más grande
pero nos quedamos dormidos y el tiempo tampoco acompañaba demasiado, lo apuntamos en el "to do list" que empieza a tener demasiadas líneas.

Internet, mucho más barato que en España, probablemente esta semana me instalan un adsl de supuestos 28 megas de bajada con uno de subida y televisión con unos dos cientos canales, por 30 euros al mes con Free, operadora francesa. Por no hablar de Numericable que te instalan cien megas de bajada y cincuenta de subida por un precio similar, lástima que no los tuviera en zona de cobertura. Cómo anecdota recuerdo un apartado cuando me daba de alta con Free que comentaba algo así como que los artistas tienen que comer, pero no decía nada de la ley Hadopi.
En fin, sin comentarios, creo que ya he hecho suficientes al respecto a lo largo de los casi 5 años de este blog.

Los operadores móviles en Francia, rozan la ilegalidad en mi opinion. Las tarjetas prepago tienen caducidad del saldo, esto es, si recargas 5 euros los puedes gastar en una semana, si recargas 15 tienes un mes, 35 euros dos meses...
Vamos que te obligan a tener un consumo mínimo mensual.
Nada más llegar a Francia nos compramos dos tarjetas prepago de orange y es lo que venimos utilizando hasta ahora con las limitaciones que comento. Además de la sorpresa de la manera de funcionar para prepago, ayer tuve otra sorpresa desagradable, de repente empecé a recibir mensajes de información deportiva sin haberme dado de alta en ningún servicio, cosa que en España puede pasar pero siempre y cuando hayas enviado tu primeramente un mensaje solicitando algún tipo de información. En mi caso no había enviado nada, me puse a investigar un poco y me encontré con muchísima gente en Francia con el mismo problema con Orange, y gracias a los consejos de éste post pude darme de baja, no sin antes perder alrededor de una hora buscando la escondida opción dentro de la web de orange.fr.
Vamos, un robo en todo regla, que por cada mensaje cobren unos 0.35 euros sin ni siquiera haber activado el servicio personalmente, los calculos son sencillos si nos imaginamos que hayan activado el servicio fraudulentamente a digamos cien mil personas.




Se acabó la Stella Artois, nos vemos en los bares ;-)

Saturday, October 24, 2009

Now that I'm in France

and reading some news about how some entities want to bypass our rights, I have discovered freenet, a decentralized, censorship-resistant distributed data store.
While reading some information about its code, I put on a smile when I realized this.

Sunday, October 11, 2009

How to install Picasa 3.5 for Linux

The thing is that I took some RAW photos with my new brand Canon 500d and I wanted to view them and edit under Linux.

First thing I did was compile the last version of dcraw and copy the binary to /usr/bin/ in my case using ubuntu. dcraw is the usual decoder that almost all programs use with Linux. This step is not really necessary to run Picasa 3.5 but it helps if you later want to configure other programs or add a plug in for gimp.

I was quite happy with Picasa, but when I tried to read CR2 raw files from the camera it showed a pink/magenta image instead the real one, so the fix to bring compatibility with the camera comes with the last 3.5 version, that Google has not released yet for Linux.
If you want to run latest 3.5 feautures for Linux, like face recognition and raw compatibility just follow the instructions under:
http://cybercom.net/~dcoffin/dcraw/

;-)

Wednesday, September 16, 2009

Boot ubuntu in text mode and have sound after running startx

I've disabled gdm by:
user@machine:~$ sudo update-rc.d -f gdm remove

probably not the nicest solution.

It is just the matter to add the user to the audio group, that's the way I did it, and it works. So I don't grant permissions to all users for audio devices.

user@machine:~$ find /dev -group audio -type c -exec ls -l '{}' ';'
crw-rw----+ 1 root audio 14, 0 2009-09-16 19:16 /dev/mixer
crw-rw----+ 1 root audio 14, 4 2009-09-16 19:16 /dev/audio
crw-rw----+ 1 root audio 14, 3 2009-09-16 19:16 /dev/dsp
crw-rw----+ 1 root audio 14, 12 2009-09-16 19:16 /dev/adsp
crw-rw----+ 1 root audio 14, 1 2009-09-16 19:16 /dev/sequencer
crw-rw----+ 1 root audio 14, 8 2009-09-16 19:16 /dev/sequencer2
crw-rw----+ 1 root audio 116, 7 2009-09-16 19:16 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 5 2009-09-16 19:18 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116, 6 2009-09-16 19:18 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116, 4 2009-09-16 19:16 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116, 3 2009-09-16 19:16 /dev/snd/seq
crw-rw----+ 1 root audio 116, 2 2009-09-16 19:16 /dev/snd/timer

We can see by default that our user doesn't belong to audio group

user@machine:~$ id -Gn user
user adm dialout cdrom plugdev lpadmin admin sambashare

So let's add user to group audio:

user@machine:~$ sudo usermod -a -G audio user

Now group audio has rw permissions over audio devices and after running startx we will hear sound.

Tuesday, September 15, 2009

don't run gnome on startup of ubuntu

sudo update-rc.d -f gdm remove

then you can startx manually if you want

if you want to revert

sudo update-rc.d gdm defaults

Give color to ubuntu bash login

http://siddharta.kubuntu-es.org/5852/resaltar-color-prompt-terminal-usuario-root

remember type:

source ~/.bashrc

after changing .bashrc files

Ubuntu text boot up and colorful

http://ubuntuforums.org/showthread.php?t=192675

Enable syntax color while editing with nano

Edit /etc/nanorc

and comment out all the last lines regarding different programming languages.

Add syntax color while editing with vi

sudo apt-get install vim-full

and then just add :syntax enable inside your vi /home/user/.vimrc

Friday, September 11, 2009

Sunday, August 30, 2009

El visor de imágenes más rápido

GQview

Reducir imagenes en linux

sudo apt-get install imagemagick
mogrify -resize 400x300 *.jpg

Sunday, August 02, 2009

Next stop... Lyon, mind the gap

Let's see... probably in about two months we'll move to a new country. New language, new culture... It's a mix of excitement and nerves.


Ver mapa más grande

Sunday, July 12, 2009

el blog de Erika

Al final no se ha podido resistir... tanto ordenador, cables, pantallas y linux producen que mi niña tenga un blog. Esperemos todos que escriba algo mas en español or in english, así nos enteraremos mas ;-)


http://yquetedijo.blogspot.com

besicos.

Tuesday, June 23, 2009

Sunday, June 07, 2009

Closer - Travis

El vídeo original no permite la inserción en blogs.

En el siguiente está la traducción:

Friday, March 27, 2009

Viernes, al fin

alrededor de las seis de la mañana, dormido en el cercanías, me doy cuenta de que tengo esto del blog un poco abandonado. Llevo unos meses bastante liado de curro y la verdad no me quedan ganas para escribir, seguramente en breve cambiara la cosa, feliz viernes.

Saturday, March 07, 2009

Surge

ese compañero de curro :-), que grande, seguro que llegáis muy lejos...



http://www.surgemusic.es/
http://www.myspace.com/surgedosmilsiete

Saturday, February 14, 2009

Oasis y Travis en concierto

Las fotos las hice en ambos conciertos con el android G1, la calidad deja bastante que desear, también mi pulso con una cerveza en la mano no es muy fino ;-)

http://www.youtube.com/watch?v=BseffSA3eTA

Veamos que lal funciona publicar en blogger desde Android.

Sunday, February 01, 2009

How to stream media and TV to your Android G1

The first thing I had in mind when I got the T-mobile G1 was to try a kind of TV streaming to the phone, just in case I have to travel to other countries, for example Sweden, and I would like to hear some Spanish voices :-).

At the end what really you can achieve is a full streaming server with support to stream your music files, videos and of course your dvb-t or dvb-s channels
Another important point for the project was to use open software as much as possible.

So lets go, and I'll explain how I did it:



Main components used:

-Ubuntu Hardy 8.04
-Capture card: Hauppage HVR-4000
-ffmpeg
-x264
-VLC
-Darwin Streaming Server

First thing's first, we will need to compile manually almost all the components to add the necessary features that we want.
We must know also that our beloved phone support some codecs and file containers, as said here, G1 by now doesn't let as port codec library onto it and Adobe says they'll publish flash player 10 for mobile on 2009.

Screen:
3.2-inch TFT-LCD flat touch-sensitive screen with 320 x 480 (HVGA) resolution

Codec:
H.264/AVC
H.263/MPEG4 Part-2
WMV/8 (9 is not playable)
AAC/mp4a/AMR/mp3/wave/wma8 audio

Supported File Container:
.mp4
.3gp

Knowing the requirements lets prepare the server machine for that.
We have to compile the latest ffmpeg and x264 from source, for that you should follow the explanations from:
http://ubuntuforums.org/showthread.php?t=786095

Once finished the installation of ffmpeg, now move to install the latest vlc possible following this guide:

Before building vlc we need the rtsp support that arrive to us thanks to live555, again here we have to compile the sources. To do so follow the tips in:
http://www.live555.com/liveMedia/#config-unix

After that, I built vlc with the next configuration command:

../configure --prefix=/usr --enable-snapshot --enable-debug --enable-dbus-control --enable-musicbrainz --enable-shared-libvlc --enable-mozilla --enable-lirc --enable-x264 --with-x264-tree=/you/path/x264 --enable-shout --enable-taglib --enable-v4l --disable-xvmc --enable-svg --enable-dvdread --enable-dc1394 --enable-dv --enable-twolame --enable-real --enable-flac --enable-tremor --enable-skins2 --enable-qt4 --enable-ncurses --enable-aa --enable-caca --enable-esd --disable-portaudio --enable-jack --enable-xosd --enable-galaktos --enable-goom --enable-ggi --disable-cddax --disable-vcdx --disable-quicktime --enable-lua --enable-sdl --enable-ffmpeg --with-ffmpeg-mp3lame --enable-mad --enable-libdvbpsi --enable-a52 --enable-libmpeg2 --enable-dvdnav --enable-mp4 --enable-faad --enable-vorbis --enable-ogg --enable-theora --enable-x11 --enable-xvideo --enable-dvb --enable-pp --enable-realrtsp --enable-live555 --with-live555-tree=/home/dani/live --enable-faac --enable-mkv --enable-freetype --enable-fribidi --enable-speex --enable-flac --enable-x11 --enable-xvideo --enable-dvb --enable-pp --with-ffmpeg-tree=/your/path/ffmpeg --disable-zvbi --disable-swscale

and using the guide:
http://www.jbkempf.com/blog/post/2008/03/28/Build-VLC-media-player-under-Ubuntu-Hardy-804

If you find problems during make of vlc regarding libdvb read the next link
http://freshmeat.net/projects/libdvbpsi/
If you find any other issues during vlc set-up, read the comments on the above guide, read the output in the screen, copy and paste it in google and look for the solution. Usually this compilations complain about dependencies dev library's that also needs to be installed. Nothing from another world if you use Linux.

Where are we know?, at this point your system is able to convert videos for watching in your G1, so if you feel tired you can rest a bit by trying to convert an avi file to mp4 and pass it to your SD card to see the quality. You will need to install a video player from Android Market.
So try to do a:

ffmpeg -i source-video.avi -s 480x320 -vcodec mpeg4 -acodec libfaac -ac 1 -ar 16000 -r 13 -ab 32000 -aspect 3:2 output-video.G1.mp4

If you want more information about the parameters in that line you can read:
http://androidcommunity.com/forums/showthread.php?p=88879#post88879

Now we are able to do a lot of types of streaming thanks to VLC, but we miss the important one, stream a mp4 container over rtp to be received via rtsp in the G1 client. As we can see in the Output method/muxer matrix table from VLC features

For doing that we are going to rely on Darwin Streaming Server, that is the open source version of Apple's QuickTime Streaming Server technology that allows you to send streaming media to clients across the Internet using the industry standard RTP and RTSP protocols.
We have to install it in our system, I followed a spanish guide for that, but I'm sure that it is possible to find a lot of guides over the internet for this purpose, so choose the one that you like.

After the installation we have to configure it, in my case I only set up the IP address of the server and checked the ports on the configuration file:

/etc/streaming/streamingserver.xml

http://wiki.dlib.indiana.edu/confluence/display/V3/Darwin+Streaming+Server

After the configuration it is a good idea to kill the server (DarwinStreamingServer) and run it again in order to pick up the changes.
At this point you can put your converted mp4 videos into the /usr/local/movies and access them via rtsp://yourserver:yourport/yourfile.mp4
Take into account that for some reason ffmpeg doesn't prepare the mp4 file to use it directly with Darwin, and you will have to prepare (hint) the file before being accesible. For that use:


MP4Box -hint yourfile.mp4

Well, lets move now to watch live television, in my case dvb-t channels. There are some texts on the internet on how to make vlc read from your tv-card, for example this one. But for this tutorial I prefer to access separately each channel, you would have to know the frequency's and other stuff to set it up, and to know that, you can review your channels.conf file after you scan the card with your country/zone settings.
I did it with Madrid-Spain channels, yes I live here, if you want to take a beer let me know :-).
For example let's test that we can see TV with vlc, for example with:

vlc dvb:// --dvb-adapter=1 --dvb-frequency=706000000 --dvb-bandwidth=8 --program=5001

wow, vlc, probably the best media player of the history of the media players.
If you can't get this working review your parameters with the channels.conf or go back to review the outputs of your installation to solve other problems. More information about this in http://www.videolan.org/doc/videolan-howto/es/ch06.html

Finally we can stream creating a sdp file inside /usr/local/movies with the proper permissions, look at the ones that already have webcam.sdp inside that folder.
If you want to stream h264 codec it could be possible that you have to patch a file, h264.c, see more information here https://trac.videolan.org/vlc/ticket/1494

There are multiple ways to do the streaming, changing supported codecs and more options, the one I choose is the next one:


vlc -vvv --color --ts-es-id-pid dvb:// --dvb-adapter=1 --dvb-frequency=706000000 --dvb-bandwidth=8 --program=5001 --sout-standard-access=udp --sout-standard-mux=mp4 --file-caching=3000 --sout'#transcode{fps=13,width=480,height=320,vcodec=mp4v,vb=96,scale=1,acodec=mp4a,\
ab=32,channels=1,cropleft=20,cropbottom=6,cropright=4,croptop=6}:\
duplicate{dst="rtp{dst=127.0.0.1,port=1230,sdp=file:///usr/local/movies/tv.sdp}"}'

note that I use --dvb-adapter=1 because my card is an hybrid one that has dvb-t and dvb-s and the adapter for dvb-t is 1, usually you would have to use 0, also the codecs used by me are mp4v for video, mp4a for audio and muxer mp4. It is also possible to increase the video bitrate(vb=96) to obtain more image quality. Feel free to change the settings for your case.

You can test first that the streaming is working from another station via wifi, by typing something like

vlc rtsp://yourserver/tv.sdp

don't worry if the size of the image looks weird, the important thing is to have a good image on the G1.
I tried to play it with Meridian player because the rtsp support, I got it from the market, but I didn't have good results with rtsp streams. So I moved to use the G1 built-in, that one that pops up when you visit youtube.
So what I did and because G1 browser doesn't allow to type a rtsp url was to make a little html page on the server machine with the rtsp links:


<html>
<head>
</head>
<body>
<a href="rtsp://serverip:port/tv.sdp">DVB Channel 1</a>
<a href="rtsp://serverip:port/myvideo.mp4">Myvideo.mp4</a>
<a href="rtsp://serverip:port/tv.sdp">DVB_channel_ssh?</a>
<a href="rtsp://myserver.dyndns.net:port/tv.sdp">Internet stream?</a>
</body>
</html>


And then I access the url of that html in the server machine with the G1 browser and click on one of the links.
And there you are, you have live television, live videos, live mp3s wherever you are, streaming from your home.
note: The links with question mark (?) I haven't implemented yet, but looks possible, feel free to add your experience.

 

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.