======Le code ASCII======
ASCII : (American Standard Code for Information Interchange ) Norme d'encodage informatique des caractères alphanumériques de l'alphabet latin. La norme ASCII affecte un chiffre à chaque caractère de l'alphabet latin et les symboles, les signes, qui constituent cet alphabet. Ce chiffre est ensuite traduit mode binaire, c'est à dire en 010101010. Par exemple, le caractère "a" est associé à "01100001" et "A" à "01000001".
"La norme ASCII permet ainsi à toutes sortes de machines de stocker, analyser et communiquer de l'information textuelle. En particulier, la quasi totalité des ordinateurs personnels et des stations de travail utilisent l'encodage ASCII." http://www.table-ascii.com/
===== Image <> Texte =====
==== Outils ====
=== Générateurs ASCII ===
* Générateur en ligne http://www.network-science.de/ascii/
* Un autre générateur http://lunatic.no/ol/img2aschtml.php
* Autres outils [[http://en.wikipedia.org/wiki/ASCII_art_converters|http://en.wikipedia.org/wiki/ASCII_art_converters]]
=== ASCII Editors ===
Editeurs spécifiques pour la production d'[[http://en.wikipedia.org/wiki/ASCII_art|ASCII]] et [[http://en.wikipedia.org/wiki/ANSI_art|ANSI]] text art.
* [[http://en.wikipedia.org/wiki/ACiDDraw|ACiDDraw]] – Designed for editing ASCII text art. Supports ANSI color (ANSI X3.64).
* [[http://en.wikipedia.org/wiki/PabloDraw|PabloDraw]] – ANSI/ASCII editor allowing multiple users to edit via [[http://en.wikipedia.org/wiki/TCP/IP|TCP/IP]] network connections.
* [[http://en.wikipedia.org/wiki/TheDraw|TheDraw]] – [[http://en.wikipedia.org/wiki/ANSI|ANSI]]/[[http://en.wikipedia.org/wiki/ASCII|ASCII]] text editor for [[http://en.wikipedia.org/wiki/MS_DOS|MS DOS]] and [[http://en.wikipedia.org/wiki/PCBoard|PCBoard]] file format support.
=== ASCII font editors ===
* [[http://en.wikipedia.org/wiki/FIGlet|FIGlet]] – For creating ASCII Art text.
* [[http://en.wikipedia.org/wiki/TheDraw|TheDraw]] – ANSI/ASCII text editor with built-in editor and manager of ASCII fonts.
=== ASCII viewer - afficher une image dans le terminal ===
fbi logo.png
=== ASCII browser ===
== lynx ==
lynx labomedia.org
config de lynx http://lynx.browser.org/lynx_help/Lynx_users_guide.html#Images
== links2 ==
links2 labomedia.org
links2 -g labomedia.org pour affichage dans framebuffer
== w3m ==
w3m est capable de lire les images en environnement X, voir config au bouton droit
w3m labomedia.org
* http://www.howtogeek.com/103574/how-to-browse-from-the-linux-terminal-with-w3m/
== voir les images en naviguant ==
au final, possibilité de config de lynx pour utilisation de fim comme afficheur d'image en modifiant :
sudo nano /etc/mailcap
image/x-dcraw; fim -o aa %s; test=test -n "$DISPLAY"
image/jpeg; fim -o aa %s; test=test -n "$DISPLAY"
image/jpg; fim -o aa %s; test=test -n "$DISPLAY"
image/jp2; fim -o aa %s; test=test -n "$DISPLAY"
image/png; fim -o aa %s; test=test -n "$DISPLAY"
* http://unix.stackexchange.com/questions/259898/prevent-lynx-from-using-pdf-viewer
en couleur avec la libcaca
Tentative de compil de fim pour support libcaca http://www.nongnu.org/fbi-improved/ et dl version 05rc2 marche, pas la 0.6 ... http://ftp.igh.cnrs.fr/pub/nongnu/fbi-improved/
./configure --enable-aa --enable-sdl --enable-cacalib
make
sudo make install
make aatest
puis
/usr/local/bin/fim -o caca -m /dev/fb0 crypto_old-1329416_quarter.jpg
* http://www.terminally-incoherent.com/blog/2007/05/21/a-day-without-x/
==== Réalisations ====
* Les fichiers .NFO {{media_09:nfo.zip|fig:NFO.zip}}
* ascii forkbomb par Jaromil [[http://jaromil.dyne.org/journal/forkbomb_art.html|http://jaromil.dyne.org/journal/forkbomb_art.html]]
:(){ :|:& };:
* Pix_gmail
* **** {{media_11:pix_gmail-labomedia.png?600|fig:pix_gmail-Labomedia.png}}
===== Terminal Shell =====
Le super projet **Asciinema** ou comment enregistrer en vidéo son terminal https://asciinema.org
Installer avec PIP
sudo pip3 install asciinema
Enregistrer en réduisant les moments où il ne se passe rien à 1 seconde
asciinema rec nomduficiher -i 1 --append
CTRL-D pour sortir de l'enregistrement
asciinema play nomduficiher
Le diffuser via https://asciinema.org
asciinema auth
La commande donne une adresse à laquelle il faut se rendre, s'inscrire en donnant un mail, cliquer sur mail de confirmation
asciinema upload nomduficiher
Voir ce post pour plus d'infos et des méthodes pour streamer le terminal https://blog.asciinema.org/post/two-point-o/
{{ media_02:168763.svg |}} https://asciinema.org/a/168763
Enregistrer son terminal en SVG https://github.com/nbedos/termtosvg
Diverses façons de visualiser des images dans un terminal, voir commentaires https://askubuntu.com/questions/97542/how-do-i-make-my-terminal-display-graphical-pictures
==== libcaca et caca-utils ====
caca-utils est un ensemble d'outils en ligne de commande permettant de convertir et visualiser images et vidéos en jeu de caractères ASCII. Le nom est intentionnel, les auteurs offrant un logiciel ludique sans prétention sous licence publique « Faites-en bien ce que vous voulez »). https://doc.ubuntu-fr.org/caca-utils https://github.com/cacalabs/libcaca/
sudo apt install caca-utils
Outil Description
cacademo Affiche des effets d'art ASCI avec transitions animées
cacaplay Joue un fichier d'animation libcaca. La commande doit être suvi d'un nom de fichier sous forme fichier.caca
cacaserver Joue des fichiers d'animation libcaca à travers le port réseau 51914
cacaview Visionneuse d'image en mode texte.
img2txt convertit des images vers des fichiers en mode texte coloré
Exemple d'utilisation
wget http://webcreation.webege.com/wp-content/uploads/2010/03/Tux-G2.png
img2txt --format=svg Tux-G2.png > tux.svg
mogrify -format png tux.svg
Serveur - client
CACA_DRIVER=raw cacademo | cacaserver
telnet localhost 51914
{{ media_05:cacaserver3.png?direct |}}
* display any image in 256 colors in xterm https://github.com/rofl0r/conpix
===== Audio =====
==== Outils ====
* [[http://audacity.sourceforge.net/|Audacity]] : Fichier > Importer > Données brutes (raw) >> ouvrir un fichier texte
==== Réalisations ====
* WikikIRC Un bot poste en permanence sur un canal IRC les modifications opérées sur les différents wikipedias (fr, gb, ...) > un programme "écoute" ce canal IRC et transforme les lettres en notes de musiques via leur code ascii
{{media_13:wikipediasonification.jpg|800px|Wikipedia sonification WikikIRC}}
===== Vidéo =====
==== Outils ====
* aalib : [[http://aa-project.sourceforge.net/|http://aa-project.sourceforge.net/]]
* libcaca : [[http://caca.zoy.org/wiki/libcaca|http://caca.zoy.org/wiki/libcaca]]
mplayer -vo caca -framedrop monfilm.avi
mplayer -vo caca -framedrop [[tv://| tv://]] -tv driver=v4l2:width=640:height=480:device=/dev/video0:fps=30
cacademo
pour gérer la taille d'affichage (mais flicage ?!)
xterm -fn 5x7 -geometry 1920x816 -e "CACA_DRIVER=ncurses mplayer -vo caca OLE-xvid.avi"
optimiser la vitesse d'affichage du terminal : https://unix.stackexchange.com/questions/41225/can-a-terminal-emulator-be-as-fast-as-tty-1-6/41227
autres ressources pour libcaca :
* http://stariocek.asuscomm.com/watch-ascii-libcaca.html
* http://manpages.ubuntu.com/manpages/zesty/man1/ffmpeg-devices.1.html
* d'autres options https://fossies.org/linux/MPlayer/DOCS/HTML/en/caca.html
* enregistrer : https://superuser.com/questions/1132319/how-to-record-or-export-the-caca-output-in-ffmpeg
pour lire des fichiers youtube, installer youtube-dl https://rg3.github.io/youtube-dl/download.html
sudo curl -L [[https://yt-dl.org/downloads/latest/youtube-dl| https://yt-dl.org/downloads/latest/youtube-dl]] -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
puis on pipe
youtube-dl [[https://www.youtube.com/watch?v=urxk4mveLCw| https://www.youtube.com/watch?v=urxk4mveLCw]] -o - | mplayer -cache 64000 -vo aa -
* VLC CVLC
cvlc assise-HD.mp4 -V caca
* Hasciicam http://dyne.org/software/hasciicam/
hasciicam
hasciicam -m html -o watchme.html puts your html formatted ascii into watchme.html - then just open it with your favorite browser.
hasciicam -m text -o ~/.plan puts your ascii into your local .plan (fingercam)
hasciicam -m html -S 2 -o index.html -f :user%pass@dyne.org:/home/user/www
* Camera ascci en ligne https://idevelop.ro/ascii-camera/
==== Réalisations ====
* Vuk Cosic ascii history of moving images [[http://www.ljudmila.org/%7Evuk/ascii/film/|http://www.ljudmila.org/~vuk/ascii/film/]]
* ascii star wars à voir là http://asciimation.co.nz/ ou :
telnet towel.blinkenlights.nl
{{youtube>kdhrE5RMDfQ}}
* Alex Gopher - The Child
{{youtube>w2gQkN9xo8g}}
* Justine ou les malheurs de la vertue - Minitel série
{{vimeo>263593041}}
===== Interaction =====
==== Outils ====
* Pure Data / PiDiP http://ydegoyon.free.fr/pidip.html
* Processing http://processing.org/learning/library/asciivideo.html
* Curl pour twitter http://360percents.com/posts/command-line-twitter-status-update-for-linux-and-mac/
* Curl pour facebook http://codesnippets.joyent.com/posts/show/1204
* Yahoo pipes http://pipes.yahoo.com/pipes/
* Supercollider vs Twitter : http://supercollider.sourceforge.net/sc140/
* Des scripts pour générer des images à base de texte "Workshop on fun commandline poster generation." http://stdin.fr/Works/PCMMD
==== Réalisations, dérives ====
* Adrien M
{{vimeo>31327505}}{{vimeo>12015120}}
* Pascale Gustin 857 Clusters http://www.pascsaq.org/logz/index.php?art=16
* "Understanding Shakespeare goal is to introduce a new form of reading drama to help understand Shakespeare’s works in new and insightful ways and to address our changed habits of consuming narrative works and knowledge through the capabilities of information visualization." http://www.understanding-shakespeare.com/
* **** {{media_12:shakespdrama.jpg|fig:Thumb|800px|Understanding Shakespeare}}
* Visual Edition Stories about Dingbats, Composition No.1 et Tree of codes Di Jonathan Safran
{{youtube>Wxup2o0w1kU}}{{youtube>ZcYHQ25IkfI}}{{youtube>rh_807_EcMc}}
* [[http://www.volumique.com/fr/|Les Editions Volumique]]
{{vimeo>10523702}}{{vimeo>12063949}}{{vimeo>29837586}}
* * [[http://www.trictrac.tv/video-les-volumiques-le-c-est-quoi-donc|Interview sur Tric Trac Tv]]
* [[http://www.pingbase.net/wordpressfr/creation-numerique/cycle-cultures-numeriques-2011-2012-books-loops|Le cycle Books & Loop de Ping autour des nouvelles formes d'écriture / édition]]
* [[http://www.typotopo.com/wordscapes/wordscapes.html|Typographic landscapes]]
===== Références =====
* [[http://en.wikipedia.org/wiki/ASCII_art|http://en.wikipedia.org/wiki/ASCII_art]]
* [[http://www.geocities.com/spunk1111/history.htm|une histoire de l'art ascii en anglais avec un design d'époque]]
* Galerie ASCII ART http://www.dmoz.org/Arts/Visual_Arts/ASCII_Art/
* Galerie http://artscene.textfiles.com/
* Galerie http://sixteencolors.net/
* Galerie NFO http://www.defacto2.net/file/list/document
* Galerie Vidéo http://www.youtube.com/user/avove7/
:-
:/ .++
//: :++-
++/. //+/
/o//` `+://-
++://` .+-.+/`
/+`/// -+-`/:/
:/-`///./:`.+/.
`//``://+/``/:/
-/:``//o+-`-/+`
-/:`.+/++.`+/.
-//./:///`++`
`/////.o:+:
-o++/++/`
.:////+///-
+/:::`-//:/
:/::/``/:::+`
`...yo//-os/:::/+..
`...-:..`ooo+:+-----..-:.`
```.-//:-/:/`+:--...``` .:
`` ./.`-:`: ``/:.``
..-.` ...`
`.. `:/-`
.- //+-`
.+. `+:::/:`
/+.. -/:::::/:
./::- -/:/:::::/-
:/:/-- `+://:/::::/.
`//::/-- /::/``-+:::/`
./:::/:: ./::/`-/:::/`
:/::/:` -` -/::+/:://:..-
..- `/::/:` - :++//+//-...:
- .` .-///:` .` .:.-:/:-:``:
..`.`.-.-/ - ...` .:`-/s`
`-` - : `. `::-..:+:/-
- - `. `. /://:+:+-
-``-` : +- :::::o/:.
-``- .` +/:.` `::::+-.-
`- `- - +:://-.+::::`
`.`..`- -/::/: :/::/
`..-- +:::/ +::/.
`` :/::/` -/::/
./::/. /::+`
`/::/: -/::/
`/:::/ +::::
`.....```` `/:::/- ::::/-
..` `` .://///::::+ :/:::/:`
.. ..` ./:::::/// .+:::::://:-.````...
`..: `----:-.` `-://::/-` ` `..-`
`............` `....` `. `--
`.. - `:`
` ```
WHAT'S UP DOC ?
.oyyyysoo/ .:oyyy: `./syys. /shhy. `+yo ./shhhy+`
-mNNNMMMNmy `/hNmy//shh: `+dNmo/+shh. oMMMMd` `dMM/ oNMMh:dMM/
`---sMMMs` -hMMs. hMMMm /mMN+` `mMMMy :NMMMMMo sMMy -MMMMy`+Nh`
:NMMN. /NMMy `dMMM oMMM+ -NMMh .mMm+MMMN--MMm` `dMMMMho:
.NMMMo .NMMM- oMMy /MMMN hMM+ `dMM: yMMMNdMN- `/dMMMMd.
hMMMN` /MMMM: `dMm. yMMMM` -NMy` yMMo `dMMMMM+ .+y+`/mMMMs
:MMMM+ .mMMMd-`./dNy. :NMMMs.`.+NNo` oMMh `dMMMy yMMM/ oMMN:
/mmh/ `+hmNmddho- -sdmNmddh+. /mh+` `yms` `/hmNmNmy-
`` ``..` ``..`` `` ` `...`
Vous avez des films en VOSTFR , VO , VF à proposer ? Vous voulez faire partie de la Team Toons ?
=> contact : LesToons@live.fr
------------------------------------------------------
General Information
------------------------------------------------------
Source...............: Splice.DVDR-MPTDVD
Audio Format.........: MP3
Bitrate..............: 128 Kbps
Video Format.........: Xvid
Video Bitrate........: 900Kbps
Resolution...........: 512 X 288
{{tag>bj autres_logiciels realisations_logicielles art_numerique}}