3.11.2 Animation von Bildfolgen mit Hilfe von Processing
3.11.2 Animation of image sequences with the help of Processing (EN google-translate)
3.11.2 Animacja sekwencji obrazów za pomocą przetwarzania (PL google-translate)
Es wird die Folge der zu animierenden Bilder in den data-Ordner des aktuellen Sketch-Ordners gelegt. (Vergleichen Sie hierzu auch das vorangehende Beispiel.)
The sequence of images to be animated is placed in the data folder of the current sketch folder. (Compare also the previous example.)
Sekwencja animowanych obrazów jest umieszczana w folderze danych bieżącego folderu szkicu. (Porównaj także poprzedni przykład.)
Die Bilder müssen vom Typ .png oder .jpg sein.
The images must be of the type .png or .jpg.
Obrazy muszą być typu .png lub .jpg.
Sinnvollerweise sollte die Bildfolge durchnummeriert sein. Die Bilder könnten beispielsweise folgende Namen tragen: pic0.png, pic1.png, pic2.png etc.
It makes sense that the image sequence should be numbered consecutively. For example, the images could have the following names: pic0.png, pic1.png, pic2.png, etc.
Ma sens, że sekwencja obrazów powinna być ponumerowana kolejno. Na przykład obrazy mogą mieć następujące nazwy: pic0.png, pic1.png, pic2.png, itp.
PImage[] pic; //array of pictures public void setup() { pic = new PImage[1193-1155+1]; //array of right size for(int i=0;i<pic.length;i++) pic[i] = loadImage("fex"+(1155+i)+".jpg"); //load images fullScreen(); //use whole screen orientation(LANDSCAPE); //for Android: do not flip frameRate(20); //draw update: 5 time per second } int number=0; public void draw() { image(pic[number],10,20); //show image at x=10, y=20 number++; //increment number%=pic.length; //set zero when reaching maximum number }
Code 3.11.2-1: myanimation.pde

Wie kann man die Bilder eines Films extrahieren?
How can I extract the pictures of a movie?
Jak mogę wyodrębnić zdjęcia z filmu?
Es wird in der Konsole gearbeitet.
It is worked in the console.
Działa w konsoli.
Informationen über den Film anzeigen lassen (Beispiel):
Display information about the movie (example):
Wyświetl informacje o filmie (przykład):
|
Liefert:
provides:
przewiduje:
Duration: 00:03:45.44, bitrate: 7499 kb/s == 225,44 Sekunden == 5636 Bilder Stream #0.0: Video: mpeg2video (Main), yuv420p, 720x480 [PAR 8:9 DAR 4:3], 7500 kb/s, 25 fps, 25 tbr, 25 tbn, 59.94 tbc
Code 3.11.2-2: info
Alle Bilder in den Unterordner "extrahiert" extrahieren (25 pro Sekunde, wäre bei Felix maze: 5636 Bilder):
Extract all images extracted to the subfolders (25 per second, would be Felix maze: 5636 images):
Wyodrębnij wszystkie obrazy wyodrębnione do podfolderów (25 na sekundę, będzie to label Felixa: 5636 obrazów):
|
Mehr Informationen zu avconv:
More information about avconv:
Więcej informacji o avconv:



Bild 3.11.2-1: Double click to Terminal.

Alternatives Konsolen Werkzeug: ffmpeg
Alternative console tool: ffmpeg
Alternatywne narzędzie konsoli: ffmpeg