Motion - Support Question 2016x 01x 09x 223738

Configuring Motion

Question

I'm a complete Linux newbie. I can follow instructions, but cannot generate a single line in terminal, do not know how to tell what version of the OS I'm running, etc.

I have motion on two computers (one with Kubuntu and one with Ubuntu.) I installed Motion on both and used to get rad output of jpeg files with an associated .swf file in a temporary folder.

At some point, the settings changed on both, causing 2 problems: 1) all images save straight into the Home folder, and 2. I'm not getting .swf files anymore.

1. Regarding location: 
I found a tutorial and tried to follow it to configure. I created a directory: 

~$ mkdir .motion
~$ sudo cp /etc/motion/motion.conf .motion/
~$ sudo chown carol:carol .motion/motion.conf
~$ mkdir motion-images

However, when I tried to point it to the new directory, the output says "command not found" (see two lines down)
quote: 

carol@acer:~$ target_dir /home/carol/motion
target_dir: command not found

end quote


2. I'm keen to get Motion generating jpegs in association with swf files again. I prefer this over .avi or other video files, and I found about 50 references to .swf in the Motion site. But the posts say things like: 
"Setting ffmpeg_video_codec to swf permits output of .swf files via ffmpe"

and 

"patch < ffmpeg_swf_v1.0.diff
Then re-build Motion and test the patch." 

I can copy-paste into terminal, but I can't follow instructions like that.  I'm asking for a few lines of instructions I can copy-paste in, if possible, to get it to do that. 

Environment

Motion version: 3.2.12
ffmpeg version:  
Libraries: ffmpeg, mysql, postgresql
Server OS:  
-- CarlHart - 10 Jan 2016

Answer

Topic revision: r1 - 10 Jan 2016, CarlHart
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.