dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
522
share rss forum feed


aelingil
Mmm Burnt Toast
Premium
join:2008-10-22
Mesa, AZ

FFMPEG Configuration

I have security cameras running w/ Zoneminder. These cameras do not do 'video'.. (or at least not that i've been able to do yet). They take snaphot images of everything and w/ ZM store them in a specific folder for that action.

I have configured FFMPEG to create a video from those images, however it saves it in the folder the images are located. Is there a way with FFMPEG to specify where to save the created output files?

Right now it saves to:
/usr/cache/zoneminder/1/2/3/4/5/6/camera#-date.avi
I want it to change to
/media/archive/date.avi

Can I add specific locations to FFMPEG command? I do not see anything in the walkthrough on their website.

Here is the command line that i'm using which creates the video.

ffmpeg -i %03d-capture.jpg -r 12 -s 640x480 "`date`".avi
--
Aelingil: I need to waste my time, my clients time and another techs time, just to fix a problem with you server & filters?
Tech Joseph: Yes, you are correct.


aelingil
Mmm Burnt Toast
Premium
join:2008-10-22
Mesa, AZ

1 recommendation

... i'm an idiot.. I put the path infront of the file name.. and was able to move it w/o problem. I hate feeling like an idiot on simple answers...

ffmpeg -i %03d-capture.jpg -r 12 -s 640x480 /media/archive/"`date`".avi


No_Strings
Premium,MVM,Ex-Mod 2008-13
join:2001-11-22
The OC
kudos:6

1 recommendation

You posted an answer that will help someone who either didn't have the courage or didn't know how to ask the question. That's exactly how this whole community thing is supposed to work. Not idiocy at all.


Jason
Stowage Class Traveler
Premium,Mod
join:2001-01-24
38.2967 Lat
kudos:3
Agreed, No_Strings See Profile..

Thanks for the follow-up, aelingil See Profile Trust me, theres nothing idiotic about finding the solution on your own.

If I had a nickel for every time I got hung up on not explicitly calling out a path on a command line.. Well, lets just say I'd have a lot of nickels..
--
When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.

Jaber

join:2007-07-07
Mount Prospect, IL
reply to aelingil
Haha. I setup Zoneminder and was looking to do just this. Thanks posting, it will save me some time

Now I just need to setup my netbook to run as a Zoneminder server. Right now I installed ZM to test on my main Linux machine, but I normally don't leave it running.