Motion - Feature Request 2008x 09x 03x 091538

Feature Request: Create symlink to last motion.avi movie


- We have a very usefull lastsnap.jpg simlink, but what about lastmovie.avi simlink ???... - In a web page we can post a link with last picture (static jpg snapshot taken at every 30 min. for example) and a link with last movie (dynamic avi motion generated movie with ffmpeg), not with live stream like here :

-- FlorinAnton - 03 Sep 2008

Follow up

You can do this without adding any change in motion code , in motion.conf :

on_movie_end /tmp/ %f
echo "Last video $VIDEO"
rm -rf /tmp/last_video.avi
ln -s $VIDEO /tmp/last_video.avi

chmod +x /tmp/

-- AngelCarpintero - 07 Sep 2008


Topic revision: r2 - 07 Sep 2008, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.