ffmpeg full path in options

Support and queries relating to all previous versions of ZoneMinder
Locked
pkmminc
Posts: 7
Joined: Thu Jul 27, 2006 5:30 pm

ffmpeg full path in options

Post by pkmminc »

Is there a way to get ZM pass the full directory paths for options in ffmpeg?
pkmminc
Posts: 7
Joined: Thu Jul 27, 2006 5:30 pm

Question reword. ffmpeg location path

Post by pkmminc »

I'd like to able to offload creating mpegs to another server. I have three servers. One large storage server exporting via NFS(Solaris). Then I have to linux servers, one running ZM and the other server is spare/test. I would like to pass the ffmpeg command via rsh to the test server. I get it pass the ffmpeg command, but it doesn't know where the jpeg files exist since the ZM server runs ffmpeg it current directory. I'd like to force that location to ffmpeg.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I would suggest that you mod zmvideo.pl if I understand you correctly. Put in a getcwd() call in the perl to get the current directory and pass that. Doing it in zmvideo.pl will mean that all video generation (apart from streaming) will then be offloaded with just one change.
Phil
Locked