commit nocturne
This commit is contained in:
24
chap/Arduino.tex
Normal file
24
chap/Arduino.tex
Normal file
@@ -0,0 +1,24 @@
|
||||
\chapter{Arduino}
|
||||
\label{chap:arduino} \index{Arduino}
|
||||
|
||||
% ---------------------------------------------------------------------------
|
||||
|
||||
\section{Installation de l'IDE}\index{IDE}
|
||||
|
||||
Elle semble un peu plus \textit{tricky} que celle de son cousin Processing.
|
||||
|
||||
Pour commencer, allez donc chercher le logiciel dans une version adaptée
|
||||
à votre système dans \texttt{http://arduino.cc/}.
|
||||
|
||||
% ---------------------------------------------------------------------------
|
||||
|
||||
\section{Hello blinky}
|
||||
|
||||
La première étape est évident : faire clignoter une LED\index{LED}
|
||||
|
||||
% ---------------------------------------------------------------------------
|
||||
\section{Beep Beep}
|
||||
|
||||
La seconde étape ne l'est pas moins.
|
||||
|
||||
% ---------------------------------------------------------------------------
|
||||
@@ -45,6 +45,10 @@ Extraire le son d'une vidéo Youtube :
|
||||
|
||||
\texttt{ffmpeg -i fichiervideo.flv -vn -ar 44100 -ac 2 -f wav fichierson.wav}
|
||||
|
||||
Extraire les images individuelles :
|
||||
|
||||
\texttt{ffmpeg -i foo.avi -r 1 -s WxH -f image2 foo-\%03d.jpeg}
|
||||
|
||||
\texttt{mplayer -vo png -ss 3:46 -frames 20 stairs.mp4}
|
||||
\# Write out 20 png format frames from a video starting at 3 minutes, 46 seconds.
|
||||
|
||||
@@ -161,7 +165,17 @@ metadata about audio or video files.
|
||||
\end{quote}
|
||||
|
||||
% --------------------------------------------------------------------
|
||||
\section{MPV} \index{MPV}
|
||||
|
||||
\begin{quote}
|
||||
mpv is a media player based on MPlayer and mplayer2. It supports a wide
|
||||
variety of video file formats, audio and video codecs, and subtitle
|
||||
types. Special input URL types are available to read input from a vari‐
|
||||
ety of sources other than disk files. Depending on platform, a variety
|
||||
of different video and audio output methods are supported.
|
||||
\end {quote}
|
||||
|
||||
% --------------------------------------------------------------------
|
||||
|
||||
\section{Autres trucs}
|
||||
|
||||
|
||||
@@ -34,6 +34,9 @@ en erreur 403\index{403} ?\linebreak
|
||||
\texttt{\# lighttpd-enable-mod dir-listing} et
|
||||
\texttt{\# service lighttpd force-reload}, voilà.
|
||||
|
||||
Question : comment forcer le \texttt{Content-Type} pour un type particulier
|
||||
de fichier ? Par exemple text/plain pour les fichiers \texttt{.POV} ?
|
||||
|
||||
|
||||
% ==============================================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user