


#!/usr/bin/python # Make a batch of images to create a Ken Burst effect on a source image.

The Ken Burst effect is specified by two geometry which identify the start and the end position into the image itself. It sends a batch of images to the stdout, making the Ken Burst effect on a image, of the specified duration. This is the kenburst-1-make-images Python script. This non-zero PTS should not pose any problem in concatenating video clips. It is a common practice to produce videos with the PTS (Presentation Time Stamp) of the first frame greather than zero otherwise a subsequent B-Frame may eventually requires a negative Decode Time Stamp (DTS), which is bad. 127920), which is different from the videos produced by the XiaoYi camera. NOTICE: The resulting video clips have a start_pts greather than zero (e.g. STILL_IMG= "_stillimage.$$.jpg" # NOTICE: Put -ss option after -i if cut is not frame precise (slower)! ffmpeg -loglevel fatal -ss " $STILLFRAME" -i " $INPUT_FILE" -vframes 1 -f image2 " $STILL_IMG" ffmpeg -loglevel error -y -f lavfi -i 'anullsrc=sample_rate=48000' \ STILLFRAME= "$2" # Frame to extract MM:SS.DDD. #!/bin/sh -e INPUT_FILE= "$1" # An MP4 file.
