dimanche 27 juin 2010
Oracle 10g sous Debian Etch
Par david techer, dimanche 27 juin 2010 à 03:57 :: Oracle
Aller au contenu | Aller au menu | Aller à la recherche
dimanche 27 juin 2010
Par david techer, dimanche 27 juin 2010 à 03:57 :: Oracle
mercredi 23 juin 2010
Par david techer, mercredi 23 juin 2010 à 03:48 :: Multiméda sous GNU/Linux
C'est en me rendant sur le site d'un de mes outils préférés cette semaine que je me suis aperçu que Ffmpeg était sorti depuis déjà  une semaine. Et la cerise sur le gà ¢teau c'est le support pour le nouveau container vidéo WebM de Google et le codec VP8, l'amélioration d'encodage en H264 et Theora. Oh trop cool
La release note de la version estampillé 0.6 est disponible à  http://ffmpeg.org/releases/ffmpeg-0.6.release
REMARQUE: Ici je reprends les notes que j'ai fourni dans ce billet. Merci de s'y référer
libvpx
On télécharge et on installecd $SRC wget http://webm.googlecode.com/files/libvpx-0.9.1.tar.bz2 tar xvjf libvpx-0.9.1.tar.bz2 cd libvpx-0.9.1 ls ./configure --enable-vp8 --prefix=/opt/multimedia/ make make install
libx264
ffmpeg 0.6 étant sortie le 15 juin, j'ai donc procédé à  un test de compilation pour la snapshot de x264 en date du 15. Elle semble (à  priori) ne pas poser de problème de compilation.cd $SRC wget http://downloads.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20100615-2245.tar.bz2 tar xvjf x264-snapshot-20100615-2245.tar.bz2 cd x264-snapshot-20100615-2245 ./configure --prefix=$TOOLS_MULTIMEDIA_DIR --enable-shared=no --enable-static=yes make make install
ffmpeg
On télécharge les sources de ffmpeg 0.6 en remplacement de la version SVN de mon précédent billet et on compile. J'ai pris soin ici--enable-libvpx
-I/opt/multimedia/include/vpx
pour --extra-cflags
./configure --prefix=/opt/ffmpeg-0.6 --enable-libvpx --enable-libdirac \ --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis \ --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libopencore-amrnb \ --enable-libopencore-amrwb --enable-version3 --enable-libfaad --enable-libfaadbin \ --enable-libfaac --enable-gpl --enable-nonfree --enable-pthreads \ --extra-cflags='-I$TOOLS_MULTIMEDIA_DIR/include/ -I$TOOLS_MULTIMEDIA_DIR/include/a52dec/ \ -I$TOOLS_MULTIMEDIA_DIR/include/lame/ -I$TOOLS_MULTIMEDIA_DIR/include/ \ -I$TOOLS_MULTIMEDIA_DIR/include/ao -I$TOOLS_MULTIMEDIA_DIR/include/libyasm \ -I$TOOLS_MULTIMEDIA_DIR/include/ogg -I$TOOLS_MULTIMEDIA_DIR/include/SDL \ -I$TOOLS_MULTIMEDIA_DIR/include/speex -I$TOOLS_MULTIMEDIA_DIR/include/vorbis \ -I$TOOLS_MULTIMEDIA_DIR/include/theora -I$TOOLS_MULTIMEDIA_DIR/include/schroedinger-1.0 \ -I$TOOLS_MULTIMEDIA_DIR/include/dirac -I$TOOLS_MULTIMEDIA_DIR/include/opencore-amrnb/ \ -I$TOOLS_MULTIMEDIA_DIR/include/opencore-amrwb/ -I/opt/multimedia/include/vpx' \ --extra-ldflags=-L$TOOLS_MULTIMEDIA_DIR/lib make make install
/opt/ffmpeg-0.6/bin/ffmpeg -i janadefi-daywith01.wmv -f webm -vcodec libvpx
janadefi-daywith01.webm
du -hs janadefi-daywith01.w* 16M janadefi-daywith01.webm 153M janadefi-daywith01.wmvY'a pas photo pour un ratio de 10%. Pas mal pour ce container
dimanche 20 juin 2010
Par david techer, dimanche 20 juin 2010 à 17:26 :: Xen
Prenant mon courage à  deux mains, je me suis donc convaincu ce samedi de tenter de migrer mon serveur Xen 3.2.1vers Xen 4.0
J'ai donc suivi les indications fournies dans les urls suivantes
Pour mes propres tests, l'installation s'est avérée convaincante pour
melina:~# xm dmesg|head -n20 __ __ _ _ ___ ___ \ \/ /___ _ __ | || | / _ \ / _ \ \ // _ \ '_ \ | || |_| | | | | | | / \ __/ | | | |__ _| |_| | |_| | /_/\_\___|_| |_| |_|(_)___(_)___/ (XEN) Xen version 4.0.0 (root@) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) Sun Jun 20 14:07:07 CEST 2010 (XEN) Latest ChangeSet: unavailable (XEN) Command line: (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information: (XEN) Found 1 MBR signatures (XEN) Found 1 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 000000000009fc00 (usable) (XEN) 000000000009fc00 - 00000000000a0000 (reserved) (XEN) 00000000000e0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000cffa0000 (usable)
Pour finaliser la migration des VM sous Debian Lenny
sed -i "s:2.6.26-2-xen-686:2.6.32-bpo.5-xen-686:g" /etc/xen/machines/melina-xen0*
for id in 1 2 3 5 6 7; do echo ${id}; mount /dev/xen-vm/melina-xen0${id}-disk /mnt; cp -r /lib/modules/2.6.32-bpo.5-xen-686/ /mnt/lib/modules; sleep 2; umount /mnt; sleep 2; done
hvmloader
. Ce qui donne donc
melina:~# grep hvmloader /etc/xen/machines/melina-xen04.cfg kernel = "/usr/lib/xen/boot/hvmloader" #kernel = "/usr/lib/xen-default/boot/hvmloader"
mercredi 16 juin 2010
Par david techer, mercredi 16 juin 2010 à 14:02 :: Xen