Skip to content

Commit

Permalink
preparing maven test phase
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Rode committed Apr 11, 2018
1 parent 8ba0dff commit d3f0cc6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/src/test/resources/createvideo.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh
if [ $# -eq 0 ]
then
echo "No arguments supplied. Usage: createvideo MP4FILENAME"
exit -1
fi
ffmpeg -t 5 -f lavfi -i color=c=black:s=1920x1200 -c:v libx264 -tune stillimage -pix_fmt yuv420p -y .tmp_$1
ffmpeg -f lavfi -i anullsrc -i .tmp_$1 -shortest -c:v copy -c:a aac -map 0:a -map 1:v -y $1
rm .tmp_$1

0 comments on commit d3f0cc6

Please sign in to comment.