Reorder metadata

This commit is contained in:
Jan Jastrow 2022-01-19 19:58:18 +01:00
parent 88d0eb2cb1
commit fbd5c01f9a

View File

@ -61,10 +61,10 @@ done
ffmpeg -pattern_type glob -i "${TMPDIR}*.png" -filter_complex tile=${COLS}x${ROWS}:margin=5:padding=5:color=white ${TMPDIR}tiled.png ffmpeg -pattern_type glob -i "${TMPDIR}*.png" -filter_complex tile=${COLS}x${ROWS}:margin=5:padding=5:color=white ${TMPDIR}tiled.png
# Output metadata to file # Output metadata to file
echo "Filename: $INPUT" >>${TMPDIR}metadata.txt echo "File Name: $INPUT" >>${TMPDIR}metadata.txt
echo "Resolution: $RES" >>${TMPDIR}metadata.txt echo "File Size: $FILESIZE MByte" >>${TMPDIR}metadata.txt
echo "Filesize: $FILESIZE Mb" >>${TMPDIR}metadata.txt
echo "Duration: $DURX" >>${TMPDIR}metadata.txt echo "Duration: $DURX" >>${TMPDIR}metadata.txt
echo "Resolution: $RES" >>${TMPDIR}metadata.txt
# Get dimensions of tile image # Get dimensions of tile image
thewidth=$(ffmpeg -i ${TMPDIR}tiled.png 2>&1 |grep Video|awk '{ split( $6, pieces, /[x,]/ ) ; print pieces[1] }') thewidth=$(ffmpeg -i ${TMPDIR}tiled.png 2>&1 |grep Video|awk '{ split( $6, pieces, /[x,]/ ) ; print pieces[1] }')