Worked my way through and got it working last week with my own tweaks studying cloud changes.
I used picamera to collect images and give each .jpeg an annotation of date/time stamp, also still thinking about what video format output I want, .avi or mp4 etc. [during daylight hours it emails me the 1-pic-per-minute as a video file every 3 hours, about 8 meg, great for when I spend days over 100 km from home]. As I have several pi-zeros with cameras I thought I would do another installation,
however when I got down to:-
sudo apt-get update
. Release [249 B]
. Release.gpg [198 B]
./main armhf Packages
Fetched 447 B in 4s (92 B/s)
Reading package lists... Done
W: GPG error: http://vontaene.de/raspbian-updates
. Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F0DAA5410C667A3E
W: The repository 'http://vontaene.de/raspbian-updates
. Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: No Hash entry in Release file /var/lib/apt/lists/partial/vontaene.de_raspbian-updates_dists_._Release which is considered strong enough for security purposes
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/vontaene.de_raspbian-updates_dists_._Release
gst-launch-1.0 multifilesrc location=timelapse%04d.jpeg index=1 caps="image/jpeg,framerate=10/1" ! jpegdec ! omxh264enc ! avimux ! filesink location=animation.avi
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(2950): gst_base_src_loop (): /GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Hopefully this is only a temporary issue. Maybe copy the installation I have got working to another Sd card.
Another application [if I can repeat it] will be a time-lapsed Dashcam [for that two hour drive]