Motion - Support Question 2009x 01x 22x 005107

Where are jpeg/mpeg files stored?


Motion seems to be working well! I can see live video on the monitor of the Ubuntu box, from the connected camera.

But I'd like to see if Motion has captured jpegs or mpegs, that could be viewed or played back later. Where would Motion store these files?
Paste in your error messages, config settings, terminal window output etc in this text field.


Motion version: 3.2.11
ffmpeg version:  
Libraries: ffmpeg, mysql, postgresql
Server OS:  

-- MotionNoob - 22 Jan 2009


All it's explained in motion guide.

-- AngelCarpintero - 22 Jan 2009

Thank you, that first link answered it.

Now when I changed the target_dir to /home/myname/Videos/motionvids , no files were created in that directory. I saved the changes made to the motion.conf file, and stopped and restarted motion, but no files were created in that directory.

So I changed the target_dir back to /tmp/motion, and now jpgs and swfs are created fine.

I tried changing the permissions on the motionvids folder to 'Create and delete files' for the 'Others' user, but I didn't change any permissions on the parent folders (Videos, myname, home.)

First, am I setting the right permissions for the right user, and if so, do I need to set them for each folder in the whole path?

There're many ways to do it ... depens how paranoid you want to be :

chmod 777 /home/myname/Videos/motionvids

or more secure ( set that directory for user used to run motion ) :

chown -R motion_user:motion_user /home/myname/Videos/motionvids

chmod -R 755 /home/myname/Videos/motionvids

-- AngelCarpintero - 31 Jan 2009
Topic revision: r4 - 31 Jan 2009, 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.