|
3 years ago | |
---|---|---|
IMG_SRC | 3 years ago | |
test | 3 years ago | |
video2d | 5 years ago | |
.gitignore | 5 years ago | |
.swp | 5 years ago | |
0_alpha.py | 3 years ago | |
0_effets.py | 3 years ago | |
0_hac.py | 3 years ago | |
0_hac.pyc | 3 years ago | |
0_motif.py | 3 years ago | |
1_crop.py | 3 years ago | |
2_video2d.py | 3 years ago | |
3_enscribe_.sh | 3 years ago | |
3_horizontal.simple.py | 3 years ago | |
HH.20161121.zip | 3 years ago | |
HH_.py | 5 years ago | |
HH_.tar.gz | 5 years ago | |
HH_1.sh | 5 years ago | |
HH_2.sh | 5 years ago | |
README.md | 3 years ago | |
TODO | 5 years ago | |
enscribe_.sh | 5 years ago | |
ffmpeg_one_liner | 5 years ago | |
geany_run_script.sh | 3 years ago | |
ghost-diagrams-0.8.py | 5 years ago | |
gittest | 3 years ago | |
gris1.py | 5 years ago | |
haacheuur.daube.py | 5 years ago | |
haacheuur.py | 5 years ago | |
hac.py | 5 years ago | |
hacheur.py | 5 years ago | |
hacheuur.old.py | 5 years ago | |
hh_video2d.py | 5 years ago | |
horizontal.simple.py | 5 years ago | |
motif.py | 3 years ago | |
motif.pyc | 3 years ago | |
pixelate.py | 5 years ago | |
test.pickle | 5 years ago |
INTENTIONS
Ce projet essai, en partant d’une IMAGE_SOURCE de :
A partir de l’IMAGE_HAACHEE :
A partir de l’IMAGE_HAACHEE :
A partir de la SERIE_DE_N_IMAGES :
PROGRAMMES
0_effets.py : appliquer des effets à l’IMAGE_SOURCE : IMAGE_EFFET
0_hac.py : haacheer l’IMAGE_SOURCE pour produire IMAGE_HAACHEE
1_crop.py : découper IMAGE_HAACHEE en de multiples images 4/3,
prêtes pour l'impression : IMAGE_PRINT
2_video2d.py : transformer un fichier VIDEO_SOURCE en une image
reprennant et alignant une à une toutes les images de
VIDEO_SOURCE, pour donner VIDEO_IMAGE2D
3enscribe.sh : tranformer l’IMAGE_SOURCE en un fchier audio,
constituant la piste sonore de la vidéo produite par
HORIZONTAL
3_horizontal.py : transforme IMAGE_HAACHEE (ou une autre au choix)
en un fichier video comportant autant d'images que de
colonnes dans l'image
(a) chargement_IMAGE
(1) mise à l échelle
(2) passage à 1 bit (noir|blanc)
(3) si nécessaire, conversion de format en non compressé (raw)
(b) haacheuurr
(1) plusieurs mode pour les traites de coupes :
- tout le tour
- juste les bords droit/gauche (plus épais si sample plus grand
?)
- aucun contour
- couleur blanche|noire
© horizontal_IMAGE
(1) largeur Image (en pixels) / FPS = temps de diffusion
(d) horizontal_AUDIO
(1) calcul de la FTT inverse en fonction de la hauteur de l image
TODO
IMAGE SOURCE
FFMPEG ONE LINER
ffmpeg -i hachures-out-2011-01-30-12h05m57s-0.jpg.resized.jpg.avi -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis output.webm
ffmpeg -i output.webm -i hachures-out-2011-01-30-12h05m57s-0.jpg.wav -acodec libvorbis -shortest output_audio.webm
ffmpeg -i hachures-out-2011-01-30-12h05m57s-0.jpg.resized.jpg.avi -i hachures-out-2011-01-30-12h05m57s-0.jpg.wav -c:v libvpx -crf 10 -b:v 2M -c:a libvorbis -threads 4 output_audio.webm
ffmpeg -i horizontal%d.png -i pylone3.png.enscribe.norm.wav -c:a libfaac -c:v libx264 -preset ultrafast -crf 32 final.mp4 ffmpeg -i horizontal%d.png -i pylone3.png.enscribe.norm.wav -c:a libfaac -c:v libx264 -b:v 5000k final2.mp4
ffmpeg -i horizontal%d.png -i pylone3.png.enscribe.norm.wav -c:a libfaac -c:v libx264 -vf format=gray -b:v 5000k final2.mp4 ffmpeg -i horizontal%d.png -i pylone3.png.enscribe.norm.wav -c:a libfaac -c:v libx264 -pix_fmt monow final3.mp4