keboose
Explorer
- Joined
- Mar 5, 2016
- Messages
- 92
I went cheap when I bought an IP security camera for my home. It thankfully has a feature to save files in numbered sequence to an FTP server (running on my FreeNAS box) but it only saves images. If I want to save even 1 frame per second, I end up with nearly 100,000 files per day, and with block sizes being large, the files end up taking extremely large amounts of space on the NAS.
My idea was to run a script every 30 minutes or so that would take all images in the FTP folder and combine them into a video, then delete the images. The first step looks like it can be done with the package 'mencoder,' but when I install it into a 10.3-standard-release jail, I get errors about missing libraries:
The command, taken from the FreeBSD page on mplayer/mencoder:
The error:
In messing around, I managed to install that one, but then another pops up. I don't remember how, but I managed to make pkg list the missing dependancies, and there were at least a dozen (I did not copy down the list, unfortunately.) Would anyone be able to help me find and install the missing dependancies?
Thanks!
My idea was to run a script every 30 minutes or so that would take all images in the FTP folder and combine them into a video, then delete the images. The first step looks like it can be done with the package 'mencoder,' but when I install it into a 10.3-standard-release jail, I get errors about missing libraries:
The command, taken from the FreeBSD page on mplayer/mencoder:
Code:
mencoder "mf://*.jpg" -mf fps=25 -o output.avi -ovc lavc -lavcopts vcodec=mpeg4
The error:
Code:
Shared object "libpng16.so.16" not found, required by "mencoder"
In messing around, I managed to install that one, but then another pops up. I don't remember how, but I managed to make pkg list the missing dependancies, and there were at least a dozen (I did not copy down the list, unfortunately.) Would anyone be able to help me find and install the missing dependancies?
Thanks!
Last edited: