Motion - Bug Report 2007x 09x 22x 180244
You are here: Foswiki>Motion Web>BugReports>BugReport2007x09x22x180244 (18 May 2008, AngelCarpintero)Edit Attach

BUG: %f modifier not working correctly

I am somewhat of a newbie but I think there is a problem with %f.

I tried the command "on_movie_end echo %f" and I got this: %f /var/lib/motion/snapshots/03-20070922200029.avi

meaning it was passed with the text %f.

command (in motion.conf file):

on_movie_end echo %f

output:

%f /var/lib/motion/snapshots/03-20070922200029.avi

Environment

Motion version: 3.2.3
ffmpeg version:
Shared libraries: ffmpeg, mysql, postgresql
Server OS: Ubuntu Feisty Fawn

-- LeavOzAri - 22 Sep 2007

Follow up

Fix record

Not A bug but rather a lack of documentation.
Version 3.2.3 uses the old version of the on_movie_end parameter scheme so the file name is appended in the end, for example:
on_movie_end echo
will output:
/var/lib/motion/snapshots/03-20070922200029.avi
Topic revision: r3 - 18 May 2008, AngelCarpintero
Copyright © 1999-2019 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.