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:
| ffmpeg version:
|| ffmpeg, mysql, postgresql
| Server OS:
- 22 Jan 2009
All it's explained in motion guide.
- 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
- 31 Jan 2009