Catégories
-
Commentaires récents
Archives
- mars 2010
- février 2010
- janvier 2010
- décembre 2009
- octobre 2009
- septembre 2009
- août 2009
- juillet 2009
- juin 2009
- mai 2009
- avril 2009
- mars 2009
- février 2009
- janvier 2009
- décembre 2008
- novembre 2008
- octobre 2008
- septembre 2008
- août 2008
- juillet 2008
- juin 2008
- mai 2008
- avril 2008
- mars 2008
- février 2008
- janvier 2008
- décembre 2007
- novembre 2007
- octobre 2007
- septembre 2007
- août 2007
- juillet 2007
- juin 2007
- mai 2007
- avril 2007
- mars 2007
- avril 2006
- janvier 2006
- décembre 2005
- novembre 2005
- juin 2005
Archives par tag : Vidéo
Streaming video avec netcat et mencoder
netcat & mencoder
Serveur Side
open_streaming.sh
#!/bin/bash
# 500 is acceptable for bitrate, 1000 gives very nice quality
BITRATE=500
MAX_XRES=640
MAX_YRES=480
LISTEN_PORT=443
# oac copy should work fine most of the time
#AUDIO="-oac mp3lame -lameopts preset=192"
AUDIO="-oac copy"
mkfifo "/tmp/maemo_stream-$$"
{ nc -q 0 -l -p $LISTEN_PORT < "/tmp/maemo_stream-$$"; killall -9 mencoder; rm -f "/tmp/maemo_stream-$$"; } &
mencoder -o "/tmp/maemo_stream-$$" $AUDIO -ovc lavc \
-lavcopts vcodec=mpeg4:vbitrate=${BITRATE}:aspect=${MAX_XRES}/${MAX_YRES}:mbd=2:trell:threads=2 \
-idx -zoom -vf-add dsize=${MAX_XRES}:${MAX_YRES}:2,scale [...]
Streaming audio/vidéo avec cat & mplayer over SSH 1 sans chiffrement
Voici comment streamer tout types de fichiers, audio comme vidéo, contenus sur un serveur distant.
Nous utiliserons pour cela ssh(client/serveur), cat et mplayer.
Configuration du serveur SSH
/etc/ssh/sshd_config
Protocol 2,1
Créer un certificat RSA1
ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N ""
invoke-rc.d ssh restart
Restarting OpenBSD Secure Shell server: sshd.
Si le démon sshd ne redémarre pas:
mkdir /var/empty
chown root:sys /var/empty
chmod 755 /var/empty
Recompiler ssh avec [...]
De nouveaux locaux pour Facebook
Présentation vidéo des nouveaux locaux Facebook:
Sur Google Maps, Facebook apparait à 2 adresses différentes:
A
156 University Ave
Palo Alto, CA 94301-1631, United States
(650) 853-1300
B
1601 S California Ave
Palo Alto, CA 94306, United States
Voir le plan
Home de Yann Arthus-Bertrand
Nous vivons une période cruciale. Les scientifiques nous disent que nous avons 10 ans pour changer nos modes de vie, éviter d’épuiser les ressources naturelles et empêcher une évolution catastrophique du climat de la Terre. Il faut que chacun participe à l’effort collectif et c’est pour sensibiliser le plus grand monde que j’ai conçu le [...]
Publié dans Stuff Autres mots-clefs : Cinéma, Ecologie, Luc Besson, Yann Arthus-Bertrand Laisser un commentaire


Wordpress Video Plugin HACK