Skip to content
Snippets Groups Projects
Commit 69e880db authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

"createVideo"

parent e01196c9
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
#
# Parameter2 = Anzahl der Einzelziffern
MAIN="NIXI_ANZEIGE-1" # device name
MAIN="NIXI_ANZEIGE-2" # device name
IMAGE_DIR=./images
MAX_DIGITS=8 # do not edit!
MAX_FILES=10 # do not edit!
......
#!/bin/bash
#
# Rolf Niepraschk <Rolf.Niepraschk@ptb.de>, 2017-01-12
#
# Erzeugt aus allen Messgeräte-Bilder eine Videodatei (Codec X264)
#
MAIN="NIXI_ANZEIGE-2" # device name
IMAGE_DIR=./images
cat $(find "$IMAGE_DIR" -maxdepth 1 -type f -name "*.png") | \
ffmpeg -y -framerate .5 -i - -c:v libx264 -r 25 -pix_fmt yuv420p \
"$MAIN.mp4"
exit
MJEPEG-Video:
ffmpeg -y -framerate 1 -f image2 -pattern_type glob -i 'images/*.png' \
-c:v mjpeg -qscale 1 -r 25 ABC.avi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment