quidnunc : a person who seeks to know all the latest news or gossip : busybody
A gigantic mashup of technologies for eavesdropping on your neighbors... Actually it's for stomping on your freedoms... Or maybe it'll catch burglars. I dunno.
TODO: write great documentation
ffmpeg -y -loglevel error -i "rtsp://USERGOES:WITHPASSWORD@1.2.3.4:554/videoMain" \
-f dshow -vcodec copy -acodec copy -tune zerolatency -vsync 1 -async 1 \
-f segment -segment_time 60 -segment_atclocktime 1 -map 0 \
-fflags nobuffer -strftime 1 \
"root/var/lib/quidnunc/videos/cam1-%Y-%m-%d_%H:%M:%S.mpg"
ffmpeg -i ../../videos/cam1-2015-12-07_19:40:00.mpg \
-vf select="eq(pict_type\,PICT_TYPE_I)" -r 0.1 \
-q 10 cam1-img-%05d.jpg
ffmpeg -r 0.1 -start_number 1 -f image2 -i "cam1-img-%05d.jpg"
-vcodec mjpeg -qscale 1 video.avi
lsof -t -- /path/to/cam1-2015-12-07_20:19:02.mpg
fswatch -x root/var/lib/quidnunc/videos
Which has a result format like:
/absolute/path/to/quidnunc/root/var/lib/quidnunc/videos/cam1-2015-12-07_20:19:02.mpg Created IsFile
Copyright © 2015 FIXME
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.