How do You Change Video Generate Path

Support and queries relating to all previous versions of ZoneMinder
Locked
Kevin_C_K
Posts: 13
Joined: Tue Jun 09, 2009 1:50 pm

How do You Change Video Generate Path

Post by Kevin_C_K »

I want to be able to specify where I want my generated videos to go. I don't like searching for them in my events folders, AND you aren't able to remove them from those folders. Is there a way to add a prompt -- "SAVE LOCATION", or to automatically save it to the desktop, rather then the events folder?

Has anyone tried this? Or do you have suggestions? I have been looking at the zm_html_view_video.php file...I think that is what you have to edit. I am running ZM 1.23.3 on 8.04 LTS.

Thanks in advance for your help! :D
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

As far as I can tell from looking at the ZM tables, it's not storing the path anywhere, so perhaps it's checking the events folder for the video files. There's a field called "videod" in the events table, but mine's all set to 0 regardless of whether or not there's an actual video.

You can always generate the video, hit the download button, and put it wherever you want, then delete the generated original.
Kevin_C_K
Posts: 13
Joined: Tue Jun 09, 2009 1:50 pm

Download Location

Post by Kevin_C_K »

When you hit Download it doesn't prompt to save it anywhere particular...the path it saves to is tucked away in the events folder. I want to save it to the desktop. Does that make sense?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

When you hit download, it downloads to your local machine browser, if it does not offer you the option for a save location, it would be because the browser is configured as so.

ZM is intended to be controlled thought the web interface, and usually does not have a desktop installed. as such the video files generated are first placed under the web root so they can be downloaded through the console. Placing them anywhere else would take away this ability.
Kevin_C_K
Posts: 13
Joined: Tue Jun 09, 2009 1:50 pm

OK...but...

Post by Kevin_C_K »

How do I get them to my desktop easily? Then how do I retrieve it from there...I want to EASILY move the video to a flash drive..not have to search for it. I thought there my be a way to add a prompt...or to change the destination of where it generated the movie.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Click the download link after you generate the file.
Kevin_C_K
Posts: 13
Joined: Tue Jun 09, 2009 1:50 pm

Mine must have a problem...

Post by Kevin_C_K »

When I click the download link it just shows the video playing via a new browser window.
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

Just for curiosity, what is the "Videod" field?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Then you have your browser configured to do so.
Kevin_C_K
Posts: 13
Joined: Tue Jun 09, 2009 1:50 pm

Post by Kevin_C_K »

Let's clear the air...

The video is currently playing in a new browser window when I click 'download'..which is what I do NOT want it to do. I want it to DOWNLOAD TO DESKTOP.

The video is from an Event that I select/ view => then click Video => click Generate Video => Download


I hope that clears it up. I have a feeling it is a setting that I can easily change...if not I can do SOME re-coding...but not a ton.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

In firefox --> Edit --> preferences --> Applications --> [Video format your have set in ZM] --> [set to "always ask"]

IT IS A BROWSER SETTING.
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

You can also right-click the download link in any browser I can think of (well, for those of us with two or more buttons on our mouse, I think maybe it's a control-click on a mac, but I'm way out of practice) and specify that you want to download it.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Videoed is for the create video feature in the filter and tells the filter if it has already been done or not.
Kevin_C_K
Posts: 13
Joined: Tue Jun 09, 2009 1:50 pm

Post by Kevin_C_K »

OMG! I can't believe I didn't think of that! I guess that is why I asked. I knew there was a simple solution! Thanks guys!
johnnytolengo
Posts: 184
Joined: Tue Oct 14, 2008 5:59 pm

Post by johnnytolengo »

may be it is enough to do a sysmlink

for ex:

ln -s yourpath/zm/event .. /your destination
Locked