From e42385e732e9f3448c38d02ab057ca0fd04dcfb7 Mon Sep 17 00:00:00 2001 From: tth Date: Mon, 2 Nov 2020 23:08:45 +0100 Subject: [PATCH] bla --- chap/shell.tex | 31 +++++++++++++++++++++++++++++++ chap/webcam.tex | 36 ++++++++++++++++++++++++++++++++++-- main.tex | 1 + 3 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 chap/shell.tex diff --git a/chap/shell.tex b/chap/shell.tex new file mode 100644 index 0000000..b3a34ae --- /dev/null +++ b/chap/shell.tex @@ -0,0 +1,31 @@ +\chapter{Le Shell}\index{shell} + +Le \texttt{shell} est le coquillage qui isole le MC/P des yusers. +En gros, hein, je vais simplifier, et me limiter aux +bricolages constructifs et/ou amusant. Il y aura du gore\index{gore} +aussi. + +Le shell est à la fois un interpréteur de commande et un +langage de programmation. Ces deux notions ont beaucoup de +choses en commun. + +% ============================================================== + +\section{Interpréteur}\index{cli} + +Ceci est un prompt. Son petit nom est \texttt{PS1}. + +% ============================================================== + +\section{Langage}\index{script} + +Parlons un peu du \textsc{shebang}\index{shebang}\dots + +% ============================================================== + +\section{Questions à voir} + +\dots + + +% ============================================================== diff --git a/chap/webcam.tex b/chap/webcam.tex index 423720d..0a439a1 100644 --- a/chap/webcam.tex +++ b/chap/webcam.tex @@ -6,8 +6,11 @@ \label{chap:webcam} \index{webcam} -Sous Linux, c'est quand même un peu tordu, dans le même genre -que la pile son, quoi... Nous allonc commencer par le plus +Sous Linux, c'est quand même un peu tordu% +\footnote{Avis personnel !}, dans le même genre +que la pile son, quoi... +Nous allonc commencer par les principes et outils +de base, puis passer à plus simple : juste tenter de prendre une photo avec une \textsl{webcam} classique en USB, et d'enregistrer cette image. @@ -18,6 +21,22 @@ image. \textsl{Video For Linux, second edition.} +\begin{verbatim} +tth@delirium:~/Essais/Fonderie$ v4l2-ctl --list-formats-ext +ioctl: VIDIOC_ENUM_FMT + Type: Video Capture + + [0]: 'MJPG' (Motion-JPEG, compressed) + Size: Discrete 640x480 + Interval: Discrete 0.033s (30.000 fps) + Size: Discrete 320x240 + Interval: Discrete 0.033s (30.000 fps) + Size: Discrete 1920x1080 + Interval: Discrete 0.033s (30.000 fps) + Size: Discrete 1280x720 + Interval: Discrete 0.033s (30.000 fps) +\end{verbatim} + % -------------------------------------------------------------------- \section{vgrabbj} @@ -36,5 +55,18 @@ les capacités du périphérique v4l\index{v4l}. % -------------------------------------------------------------------- +\section{Cheese} + +\begin{quote} +cheese uses your webcam to take photos and videos, applies fancy special +effects and lets you share the fun with others. It was written as part of +Google's 2007 Summer of Code lead by daniel g. siegel and mentored by Raphaël +Slinckx. Under the hood, Cheese uses GStreamer to apply fancy effects to photos +and videos. With Cheese it is easy to take photos of you, your friends, pets or +whatever you want and share them with others. After the success of the Summer +of Code, the development continued and we are still looking for people with + nice ideas and patches ;) +\end{quote} + % -------------------------------------------------------------------- diff --git a/main.tex b/main.tex index 2e0db11..66caa36 100644 --- a/main.tex +++ b/main.tex @@ -62,6 +62,7 @@ Your mileage may vary\dots } % ============================================================== +\input{chap/shell} \input{chap/editeurs} \input{chap/son} \input{chap/image}