Note that this problem is different to my previous one.btidey wrote:I'm doing some more testing on this. So far it seemed OK for me.quavoce wrote:
Hmm, something's not quite right here as I left it running with video split at 10 mins (motion detection off), but around 30 mins ago it stopped for some reason. (button on website back to "Record Video Start"
This is a fresh RPi v3 Jessie install with v6.3.4
The presence of a h264 file means that something has prevented the Mp4Box operation from converting it to mp4.
The scheduler log should gives some clues as to what is going on.
After doing some more testing on this one I can see that scheduleLog.txt gives the following error:
Code: Select all
{2017/05/05 21:11:25} Restarting next split of 600 seconds
{2017/05/05 21:11:25} Capturing started
{2017/05/05 21:11:26} Start boxing /var/www/html/media/vi_0084_20170505_210125.mp4.h264 to /var/www/html/media/vi_0084_20170505_210125.mp4 Queue pos 21
{2017/05/05 21:13:22} Finished boxing /var/www/html/media/vi_0084_20170505_210125.mp4 from Box Queue at pos 21
{2017/05/05 21:13:22} Removed item from Box Queue
{2017/05/05 21:21:25} Stopping video from timer
{2017/05/05 21:21:25} Capturing stopped
{2017/05/05 21:21:25} Add /var/www/html/media/vi_0085_20170505_211125.mp4 to Box Queue at pos 22
{2017/05/05 21:21:25} Restarting next split of 600 seconds
{2017/05/05 21:21:26} Capturing started
{2017/05/05 21:21:27} Start boxing /var/www/html/media/vi_0085_20170505_211125.mp4.h264 to /var/www/html/media/vi_0085_20170505_211125.mp4 Queue pos 22
{2017/05/05 21:22:30} Error: Could not write all bytes h264
[2017/05/05 21:30:27] Scheduled management tasks. Next at 1494023427
[2017/05/05 21:30:27] Purged 62 Files
{2017/05/05 21:31:25} Stopping video from timer
{2017/05/05 21:31:25} Capturing stopped
{2017/05/05 21:31:25} Add /var/www/html/media/vi_0086_20170505_212126.mp4 to Box Queue at pos 23
{2017/05/05 21:31:25} Restarting next split of 600 seconds
{2017/05/05 21:31:25} Capturing started
{2017/05/05 21:41:25} Stopping video from timer
{2017/05/05 21:41:25} Capturing stopped
{2017/05/05 21:41:25} Add /var/www/html/media/vi_0087_20170505_213125.mp4 to Box Queue at pos 24
{2017/05/05 21:41:25} Restarting next split of 600 seconds
{2017/05/05 21:41:25} Capturing startedMy next test will be to try purging space with 30% min free instead of the 15% I had before to give it more space just in case.
Code: Select all
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 13G 1.7G 88% /
devtmpfs 426M 0 426M 0% /dev
tmpfs 430M 40K 430M 1% /dev/shm
tmpfs 430M 6.0M 425M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 430M 0 430M 0% /sys/fs/cgroup
/dev/mmcblk0p1 63M 21M 42M 34% /boot
tmpfs 86M 0 86M 0% /run/user/33
tmpfs 86M 0 86M 0% /run/user/1000Code: Select all
-rw-r--r-- 1 www-data www-data 346M May 5 21:03 vi_0083_20170505_205125.mp4
-rw-r--r-- 1 www-data www-data 18K May 5 20:51 vi_0083_20170505_205125.mp4.v0083.th.jpg
-rw-r--r-- 1 www-data www-data 348M May 5 21:13 vi_0084_20170505_210125.mp4
-rw-r--r-- 1 www-data www-data 20K May 5 21:01 vi_0084_20170505_210125.mp4.v0084.th.jpg
-rw-r--r-- 1 www-data www-data 146M May 5 21:22 vi_0085_20170505_211125.mp4
-rw-r--r-- 1 www-data www-data 330M May 5 21:21 vi_0085_20170505_211125.mp4.h264
-rw-r--r-- 1 www-data www-data 19K May 5 21:11 vi_0085_20170505_211125.mp4.v0085.th.jpg
-rw-r--r-- 1 www-data www-data 336M May 5 21:31 vi_0086_20170505_212126.mp4.h264
-rw-r--r-- 1 www-data www-data 19K May 5 21:21 vi_0086_20170505_212126.mp4.v0086.th.jpg
-rw-r--r-- 1 www-data www-data 370M May 5 21:41 vi_0087_20170505_213125.mp4.h264
-rw-r--r-- 1 www-data www-data 19K May 5 21:31 vi_0087_20170505_213125.mp4.v0087.th.jpg
-rw-r--r-- 1 www-data www-data 290M May 5 21:49 vi_0088_20170505_214125.mp4.h264
-rw-r--r-- 1 www-data www-data 20K May 5 21:41 vi_0088_20170505_214125.mp4.v0088.th.jpg