Archive

Archive for September, 2011

Install VLC on ubuntu 64 bits

September 23rd, 2011 No comments

Once you have installed ffmpeg and x264, in the way I posted before, it is time to install vlc.

tar xjvf vlc-1.1.11.tar.bz2
cd vlc-1.1.11/
./configure

If there is an error in the configure probably could be the libqt4-dev

sudo apt-get install libqt4-dev
./configure
make
sudo make install
ln -s /usr/local/lib/libvlc* /usr/lib/
ln -s /usr/local/lib/libx264.a /usr/lib/
ln -s /usr/local/lib/vlc /usr/lib/vlc

Once you have done this you can use vlc as a player, but if you would like to stream some multimedia content you will see an error like “stream_out_standard stream out error: no suitable sout mux module for `udp …” and “no sout mux module matched” and “main stream output error: stream chained failed for ‘standard {mux=” etc.

To solve this install libdvbpsi:

sudo apt-get install libdvbpsi6
sudo apt-get install libdvbpsi-dev

After that type:

./configure
make
make install

Finally you will have working vlc and ffmpeg together, without conflicts !

 

Categories: vlc Tags: , , ,

Force to mount an internal windows drive in ubuntu

September 17th, 2011 No comments

Follow these steps:

1.- Open a terminal
2.- Type sudo /bin/bash
3.- Now, type mkdir /media/windisk
4.- To know which is the partition type: fdisk -l
5.- For ntfs drives type: mount -t ntfs-3g /dev/sda1 /media/windisk -o force
For fat32 drives type: mount -t vfat -o umask=000 /dev/sda1 /media/disk

Now you can access to your windows partition

Categories: ubuntu Tags:

Kivy – Multiple Layouts

September 14th, 2011 No comments

I wonder how can I have several layouts and change between them using kv files in kivy. Actually I have the answer.

You have to create an ejercicio.kv file. You have to define the classes you are going to use for each layout such as.

#:kivy 1.0

<MyLabelWithBackground>:
       #definition

<Ejercicio>:
      #definition

<Layout1>:
      #definition

<Layout2>:
      #definition

Read more…

Categories: kivy, multitouch, python Tags: , , ,